diff --git a/.github/workflows/analysis_workflow.yml b/.github/workflows/analysis_workflow.yml index 8532149b54..0b99d8d64a 100644 --- a/.github/workflows/analysis_workflow.yml +++ b/.github/workflows/analysis_workflow.yml @@ -5,6 +5,10 @@ on: run_all_benchmarks: type: boolean default: false + dev_image_tag: + description: Tag of the ArcticCB development image to use for benchmark and code coverage flows + type: string + default: latest schedule: # Schedule the job to run at 12 a.m. daily - cron: '0 0 * * *' @@ -45,6 +49,7 @@ jobs: commit: ${{ matrix.commits }} run_all_benchmarks: ${{ inputs.run_all_benchmarks || false }} run_on_pr_head: ${{ github.event_name == 'pull_request_target' }} + dev_image_tag: ${{ inputs.dev_image_tag }} publish_benchmark_results_to_gh_pages: name: Publish benchmark results to gh-pages diff --git a/.github/workflows/benchmark_commits.yml b/.github/workflows/benchmark_commits.yml index 6741698d7f..d928fa91d1 100644 --- a/.github/workflows/benchmark_commits.yml +++ b/.github/workflows/benchmark_commits.yml @@ -5,6 +5,7 @@ on: run_all_benchmarks: {required: true, type: boolean, description: Run all benchmarks or just the one for the given commit} commit: {required: true, type: string, description: commit hash that will be benchmarked} run_on_pr_head: {required: false, default: false, type: boolean, description: Specifies if the benchmark should run on PR head branch} + dev_image_tag: {required: false, default: 'latest', type: string, description: Tag of the ArcticDB development image} jobs: start_ec2_runner: uses: ./.github/workflows/ec2_runner_jobs.yml @@ -19,7 +20,7 @@ jobs: always() && !cancelled() runs-on: ${{ needs.start_ec2_runner.outputs.label }} - container: ghcr.io/man-group/arcticdb-dev:latest + container: ghcr.io/man-group/arcticdb-dev:${{ inputs.dev_image_tag }} env: # this is potentially overflowing the cache, so should be looked into after we address issue #1057 SCCACHE_GHA_VERSION: ${{vars.SCCACHE_GHA_VERSION || 1}} # Setting this env var enables the caching diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d9c74b155f..1d2a340cb9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,6 +19,10 @@ on: description: Override CMAKE preset type type: choice options: ["-", debug, release] + dev_image_tag: + description: Tag of the ArcticCB development image to use for the Linux C++ tests build + type: string + default: latest run-name: Building ${{github.ref_name}} on ${{github.event_name}} by ${{github.actor}} concurrency: group: ${{github.ref}} @@ -52,7 +56,7 @@ jobs: mongodb: image: "mongo:4.4" container: - image: ghcr.io/man-group/arcticdb-dev:latest + image: ghcr.io/man-group/arcticdb-dev:${{inputs.dev_image_tag}} volumes: - /:/mnt windows_matrix: