diff --git a/.github/workflows/nightly-performance.yml b/.github/workflows/nightly-performance.yml new file mode 100644 index 000000000..932ad7dba --- /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: '35 21 * * *' + +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 7b197d431..e7ca7d6b2 100644 --- a/.github/workflows/nightly-pipeline.yml +++ b/.github/workflows/nightly-pipeline.yml @@ -24,6 +24,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 DataFileChange: @@ -69,4 +71,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 000000000..45b429fa8 --- /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 17 * * *' + +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 9e0290371..976e3ed69 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -20,4 +20,6 @@ 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 diff --git a/.github/workflows/pull-requests.yml b/.github/workflows/pull-requests.yml index e4d281224..94447c752 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 8e4af9491..fd0009cd5 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