From: Tomas Mraz Date: Tue, 22 Oct 2024 12:25:24 +0000 (+0200) Subject: Adjustments for the on schedule workflows X-Git-Tag: openssl-3.5.0-alpha1~917 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21f6c3b4fb35af03e1fedb3fc15d68846ed2235b;p=thirdparty%2Fopenssl.git Adjustments for the on schedule workflows Run them all after 02:00 UTC. Add possibility to run them on workflow_dispatch. Add branch 3.4 to the coveralls.yml. Remove the branches from os-zoo.yml as it is possible to run on them manually from workflow_dispatch. Reviewed-by: Paul Dale Reviewed-by: Tom Cosgrove (Merged from https://github.com/openssl/openssl/pull/25765) --- diff --git a/.github/workflows/build_quic_interop_container.yml b/.github/workflows/build_quic_interop_container.yml index ae92bcbadbf..28dc52743b8 100644 --- a/.github/workflows/build_quic_interop_container.yml +++ b/.github/workflows/build_quic_interop_container.yml @@ -2,7 +2,7 @@ name: "Build openssl interop container from master" on: schedule: - - cron: '20 0 * * *' + - cron: '40 02 * * *' workflow_dispatch: jobs: diff --git a/.github/workflows/coveralls.yml b/.github/workflows/coveralls.yml index 788a027b8dc..1042cabdd16 100644 --- a/.github/workflows/coveralls.yml +++ b/.github/workflows/coveralls.yml @@ -10,7 +10,8 @@ name: Coverage # Run once a day on: schedule: - - cron: '49 0 * * *' + - cron: '15 02 * * *' + workflow_dispatch: permissions: contents: read @@ -25,6 +26,9 @@ jobs: matrix: branches: [ { + branch: openssl-3.4, + extra_config: no-afalgeng enable-fips enable-tfo + }, { branch: openssl-3.3, extra_config: no-afalgeng enable-fips enable-tfo }, { diff --git a/.github/workflows/interop-tests.yml b/.github/workflows/interop-tests.yml index ad496882d03..147bd25d361 100644 --- a/.github/workflows/interop-tests.yml +++ b/.github/workflows/interop-tests.yml @@ -6,7 +6,9 @@ name: Interoperability tests with GnuTLS and NSS on: schedule: - - cron: '0 6 * * *' + - cron: '55 02 * * *' + workflow_dispatch: + jobs: test: runs-on: ubuntu-22.04 diff --git a/.github/workflows/os-zoo.yml b/.github/workflows/os-zoo.yml index 222ac52ab81..20f877af69d 100644 --- a/.github/workflows/os-zoo.yml +++ b/.github/workflows/os-zoo.yml @@ -9,7 +9,8 @@ name: OS Zoo CI on: schedule: - - cron: '0 5 * * *' + - cron: '50 02 * * *' + workflow_dispatch: permissions: contents: read @@ -21,7 +22,6 @@ jobs: matrix: tag: [edge, latest] cc: [gcc, clang] - branch: [openssl-3.0, openssl-3.1, master] runs-on: ubuntu-latest container: image: docker.io/library/alpine:${{ matrix.tag }} @@ -36,8 +36,6 @@ jobs: - name: install packages run: apk --no-cache add build-base perl linux-headers ${{ matrix.cc }} - uses: actions/checkout@v4 - with: - ref: ${{ matrix.branch }} - name: config run: | ./config --banner=Configured no-shared -Wall -Werror enable-fips --strict-warnings \ @@ -57,7 +55,6 @@ jobs: strategy: fail-fast: false matrix: - branch: [openssl-3.0, openssl-3.1, master] zoo: - image: docker.io/library/debian:10 install: apt-get update && apt-get install -y gcc make perl @@ -86,8 +83,6 @@ jobs: container: ${{ matrix.zoo.image }} steps: - uses: actions/checkout@v4 - with: - ref: ${{ matrix.branch }} - name: install packages run: ${{ matrix.zoo.install }} - name: config @@ -107,13 +102,10 @@ jobs: strategy: fail-fast: false matrix: - branch: [openssl-3.0, openssl-3.1, master] os: [macos-12, macos-13, macos-14] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - with: - ref: ${{ matrix.branch }} - name: checkout fuzz/corpora submodule run: git submodule update --init --depth 1 fuzz/corpora - name: config @@ -133,13 +125,10 @@ jobs: strategy: fail-fast: false matrix: - branch: [openssl-3.0, openssl-3.1, master] os: [windows-2019, windows-2022] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 - with: - ref: ${{ matrix.branch }} - name: checkout fuzz/corpora submodule run: git submodule update --init --depth 1 fuzz/corpora - uses: ilammy/msvc-dev-cmd@v1 diff --git a/.github/workflows/provider-compatibility.yml b/.github/workflows/provider-compatibility.yml index 164da763da2..7ed080083f2 100644 --- a/.github/workflows/provider-compatibility.yml +++ b/.github/workflows/provider-compatibility.yml @@ -10,12 +10,15 @@ name: Provider compatibility across versions -# NOTE: if this is being run on pull_request, it will **not** use the pull -# request's branch. It is hardcoded to use the master branch. -# -on: #[pull_request] +# Please note there is no point in running this job on PR as the tests +# will always run against the tips of the branches in the main repository +# and not the branch from the PR. +# Use the `extended tests` label to run provider compatibility checks +# on PRs. +on: schedule: - - cron: '0 15 * * *' + - cron: '10 02 * * *' + workflow_dispatch: permissions: contents: read diff --git a/.github/workflows/run-checker-daily.yml b/.github/workflows/run-checker-daily.yml index 29089670a99..7dce358ccab 100644 --- a/.github/workflows/run-checker-daily.yml +++ b/.github/workflows/run-checker-daily.yml @@ -10,7 +10,9 @@ name: Run-checker daily on: schedule: - - cron: '0 6 * * *' + - cron: '30 02 * * *' + workflow_dispatch: + permissions: contents: read diff --git a/.github/workflows/static-analysis-on-prem.yml b/.github/workflows/static-analysis-on-prem.yml index 4c920fcad4b..75c0d2aacc3 100644 --- a/.github/workflows/static-analysis-on-prem.yml +++ b/.github/workflows/static-analysis-on-prem.yml @@ -9,7 +9,7 @@ name: Static Analysis On Prem on: schedule: - - cron: '20 0 * * *' + - cron: '25 02 * * *' workflow_dispatch: permissions: diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 05330f02d83..8e3e7483893 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -10,7 +10,8 @@ name: Static Analysis #Run once a day on: schedule: - - cron: '20 0 * * *' + - cron: '20 02 * * *' + workflow_dispatch: permissions: contents: read