diff --git a/.github/workflows/nightly-performance.yml b/.github/workflows/nightly-performance.yml new file mode 100644 index 00000000..bd5d38fc --- /dev/null +++ b/.github/workflows/nightly-performance.yml @@ -0,0 +1,28 @@ +name: Nightly Performance + +# Runs the performance tests on rc every night and pushes the graphs to +# gh-images, where the documentation's nightly benchmarks page reads them. +on: + workflow_dispatch: + inputs: + dryrun: + description: 'Draw the graphs without pushing them' + type: boolean + default: false + common-ci-ref: + type: string + default: '' + schedule: + - cron: '20 22 * * *' + +jobs: + Performance: + name: Nightly Performance + uses: 51Degrees/common-ci/.github/workflows/nightly-performance.yml@main + with: + repo-name: ${{ github.event.repository.name }} + org-name: ${{ github.event.repository.owner.login }} + dryrun: ${{ inputs.dryrun || false }} + common-ci-ref: ${{ inputs.common-ci-ref || '' }} + cache-assets: true + secrets: inherit diff --git a/.github/workflows/nightly-pipeline.yml b/.github/workflows/nightly-pipeline.yml index 3c05d8e2..b3d20e8e 100644 --- a/.github/workflows/nightly-pipeline.yml +++ b/.github/workflows/nightly-pipeline.yml @@ -32,6 +32,8 @@ jobs: dryrun: ${{ inputs.dryrun || false }} common-ci-ref: ${{ inputs.common-ci-ref || '' }} cache-assets: true + # Nightly Performance draws the graphs from rc. + skip-compare-performance: true secrets: inherit SubmoduleUpdate: @@ -58,4 +60,6 @@ jobs: cache-assets: true # One configuration that fails does not cancel the others. fail-fast: false + # Compared with the history Nightly Performance records for rc. + performance-branch: rc secrets: inherit diff --git a/.github/workflows/nightly-release-candidate.yml b/.github/workflows/nightly-release-candidate.yml new file mode 100644 index 00000000..51d4a8e9 --- /dev/null +++ b/.github/workflows/nightly-release-candidate.yml @@ -0,0 +1,22 @@ +name: Nightly Release Candidate + +# Builds and tests rc, the next release, every night. Nothing is published. +on: + workflow_dispatch: + inputs: + common-ci-ref: + type: string + default: '' + schedule: + - cron: '45 18 * * *' + +jobs: + ReleaseCandidate: + name: Nightly Release Candidate + uses: 51Degrees/common-ci/.github/workflows/nightly-release-candidate.yml@main + with: + repo-name: ${{ github.event.repository.name }} + org-name: ${{ github.event.repository.owner.login }} + common-ci-ref: ${{ inputs.common-ci-ref || '' }} + cache-assets: true + secrets: inherit diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f74e61fe..598fd4f6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -34,4 +34,6 @@ jobs: allow-early-release: ${{ inputs.allow-early-release || false }} skip-tests: ${{ inputs.skip-tests || false }} cache-assets: true + # Nightly Performance draws the graphs from rc. + skip-compare-performance: true secrets: inherit diff --git a/.github/workflows/pull-requests.yml b/.github/workflows/pull-requests.yml index e072cfba..cf234c21 100644 --- a/.github/workflows/pull-requests.yml +++ b/.github/workflows/pull-requests.yml @@ -35,4 +35,6 @@ jobs: full-matrix: ${{ inputs.full-matrix || false }} fail-fast: false build-without-pull-requests: false + # Compared with the history Nightly Performance records for rc. + performance-branch: rc secrets: inherit diff --git a/.github/workflows/release-pull-request.yml b/.github/workflows/release-pull-request.yml index 8e4af949..fd0009cd 100644 --- a/.github/workflows/release-pull-request.yml +++ b/.github/workflows/release-pull-request.yml @@ -22,4 +22,6 @@ jobs: repo-name: ${{ github.event.repository.name }} org-name: ${{ github.event.repository.owner.login }} cache-assets: true + # Compared with the history Nightly Performance records for rc. + performance-branch: rc secrets: inherit