From e3708e0c31f7c0c25d05d7419b1b3f8da664eebe Mon Sep 17 00:00:00 2001 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> Date: Tue, 11 Jul 2023 09:08:11 +0200 Subject: [PATCH 1/6] ci: remove invalid filters on create trigger Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> --- .github/workflows/aa_basic.yml | 9 ++------- .github/workflows/aa_cc_kbc.yml | 3 --- .github/workflows/aa_crypto.yml | 6 +----- .github/workflows/aa_eaa_kbc.yml | 9 +++------ .github/workflows/aa_occlum_sgx.yml | 6 +----- .github/workflows/aa_sample_keyprovider.yml | 4 +--- .github/workflows/aa_sev_kbc.yml | 3 --- .gitignore | 1 + 8 files changed, 9 insertions(+), 32 deletions(-) diff --git a/.github/workflows/aa_basic.yml b/.github/workflows/aa_basic.yml index 9e7111f83..c0b4aa57f 100644 --- a/.github/workflows/aa_basic.yml +++ b/.github/workflows/aa_basic.yml @@ -11,10 +11,6 @@ on: - '.github/workflows/aa_**.yml' - 'Cargo.toml' create: - paths: - - 'attestation-agent/**' - - '.github/workflows/aa_**.yml' - - 'Cargo.toml' jobs: basic_ci: @@ -22,7 +18,7 @@ jobs: name: Check defaults: run: - working-directory: ./attestation-agent + working-directory: ./attestation-agent runs-on: ubuntu-latest strategy: fail-fast: false @@ -66,7 +62,7 @@ jobs: - name: Musl build with default features run: | make LIBC=musl - + - name: s390x build with offline_fs_kbc feature run: make ARCH=s390x KBC=offline_fs_kbc @@ -89,4 +85,3 @@ jobs: command: clippy # We are getting error in generated code due to derive_partial_eq_without_eq check, so ignore it for now args: --workspace -- -D warnings -A clippy::derive-partial-eq-without-eq - diff --git a/.github/workflows/aa_cc_kbc.yml b/.github/workflows/aa_cc_kbc.yml index c4d00faf2..c12d4cd5b 100644 --- a/.github/workflows/aa_cc_kbc.yml +++ b/.github/workflows/aa_cc_kbc.yml @@ -11,9 +11,6 @@ on: - 'attestation-agent/kbs_protocol/**' - '.github/workflows/aa_cc_kbc.yml' create: - paths: - - 'attestation-agent/kbc/cc_kbc/**' - - 'attestation-agent/kbs_protocol/**' jobs: cc_kbc_ci: diff --git a/.github/workflows/aa_crypto.yml b/.github/workflows/aa_crypto.yml index 2afe85c7f..b389e96f7 100644 --- a/.github/workflows/aa_crypto.yml +++ b/.github/workflows/aa_crypto.yml @@ -9,9 +9,6 @@ on: - 'attestation-agent/deps/crypto/**' - '.github/workflows/aa_crypto.yml' create: - paths: - - 'attestation-agent/deps/crypto/**' - - '.github/workflows/aa_crypto.yml' jobs: crypto_ci: @@ -54,10 +51,9 @@ jobs: command: clippy # We are getting error in generated code due to derive_partial_eq_without_eq check, so ignore it for now args: -p crypto --no-default-features --features ${{ matrix.suites }} -- -D warnings -A clippy::derive_partial_eq_without_eq - + - name: Run cargo test (${{ matrix.suites }}) uses: actions-rs/cargo@v1 with: command: test args: -p crypto --no-default-features --features ${{ matrix.suites }} - diff --git a/.github/workflows/aa_eaa_kbc.yml b/.github/workflows/aa_eaa_kbc.yml index d530d875b..32c524275 100644 --- a/.github/workflows/aa_eaa_kbc.yml +++ b/.github/workflows/aa_eaa_kbc.yml @@ -9,8 +9,6 @@ on: - 'attestation-agent/kbc/eaa_kbc/**' - '.github/workflows/aa_eaa_kbc.yml' create: - paths: - - 'attestation-agent/kbc/eaa_kbc/**' jobs: eaa_kbc_ci: @@ -27,7 +25,7 @@ jobs: - stable container: runetest/compilation-testing:ubuntu18.04 - + steps: - name: Code checkout uses: actions/checkout@v2 @@ -42,14 +40,14 @@ jobs: rustup default stable - name: install dependencies - run: | + run: | echo 'deb [arch=amd64] http://mirrors.openanolis.cn/inclavare-containers/ubuntu20.04 focal main' | tee /etc/apt/sources.list.d/inclavare-containers.list curl -L http://mirrors.openanolis.cn/inclavare-containers/ubuntu20.04/DEB-GPG-KEY.key | apt-key add - echo 'deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu focal main' | tee /etc/apt/sources.list.d/intel-sgx.list curl -L https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | apt-key add - apt-get update apt-get install -y rats-tls-tdx libtdx-attest=1.15\* - + - name: Build AA with EAA KBC run: | make KBC=eaa_kbc && make install @@ -57,4 +55,3 @@ jobs: - name: Run cargo test with eaa_kbc feature run: | RUSTFLAGS="-C link-args=-Wl,-rpath,/usr/local/lib/rats-tls" cargo test --manifest-path kbc/Cargo.toml --features eaa_kbc - diff --git a/.github/workflows/aa_occlum_sgx.yml b/.github/workflows/aa_occlum_sgx.yml index 5336ec6ea..aac252bb4 100644 --- a/.github/workflows/aa_occlum_sgx.yml +++ b/.github/workflows/aa_occlum_sgx.yml @@ -11,10 +11,6 @@ on: - 'attestation-agent/ci/occlum**' - '.github/workflows/aa_occlum_sgx.yml' create: - paths: - - 'attestation-agent/attester/src/sgx_occlum' - - 'attestation-agent/ci/occlum**' - - '.github/workflows/aa_occlum_sgx.yml' jobs: build-and-run-occlum: @@ -34,7 +30,7 @@ jobs: - name: Configure Cargo run: rustup default stable - + - name: Compile Occlum Example run: cargo build --bin occlum-attester --no-default-features --features occlum diff --git a/.github/workflows/aa_sample_keyprovider.yml b/.github/workflows/aa_sample_keyprovider.yml index 6cedcd793..241ca8dfa 100644 --- a/.github/workflows/aa_sample_keyprovider.yml +++ b/.github/workflows/aa_sample_keyprovider.yml @@ -7,8 +7,6 @@ on: paths: - 'attestation-agent/coco_keyprovider/**' create: - paths: - - 'attestation-agent/coco_keyprovider/**' jobs: coco_keyprovider_ci: @@ -41,7 +39,7 @@ jobs: with: command: fmt args: --check --manifest-path attestation-agent/coco_keyprovider/Cargo.toml - + - name: Rust clippy check uses: actions-rs/cargo@v1 with: diff --git a/.github/workflows/aa_sev_kbc.yml b/.github/workflows/aa_sev_kbc.yml index 9024cc746..1d25dbe15 100644 --- a/.github/workflows/aa_sev_kbc.yml +++ b/.github/workflows/aa_sev_kbc.yml @@ -9,9 +9,6 @@ on: - 'attestation-agent/kbc/offline_sev_kbc/**' - 'attestation-agent/kbc/online_sev_kbc/**' create: - paths: - - 'attestation-agent/kbc/offline_sev_kbc/**' - - 'attestation-agent/kbc/online_sev_kbc/**' jobs: offline_sev_kbc_ci: diff --git a/.gitignore b/.gitignore index df6fc8af3..0c6a1950c 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ Cargo.lock .DS_Store image-rs/scripts/attestation-agent +shell.nix From b9e33f2b21550775e58e42d11129577edadefca0 Mon Sep 17 00:00:00 2001 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> Date: Tue, 11 Jul 2023 09:10:25 +0200 Subject: [PATCH 2/6] ci: only trigger push on main Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> --- .github/workflows/aa_basic.yml | 2 ++ .github/workflows/aa_cc_kbc.yml | 2 ++ .github/workflows/aa_crypto.yml | 2 ++ .github/workflows/aa_eaa_kbc.yml | 2 ++ .github/workflows/aa_occlum_sgx.yml | 2 ++ .github/workflows/aa_sample_keyprovider.yml | 2 ++ .github/workflows/aa_sev_kbc.yml | 2 ++ 7 files changed, 14 insertions(+) diff --git a/.github/workflows/aa_basic.yml b/.github/workflows/aa_basic.yml index c0b4aa57f..20794633f 100644 --- a/.github/workflows/aa_basic.yml +++ b/.github/workflows/aa_basic.yml @@ -1,6 +1,8 @@ name: attestation-agent basic build and unit tests on: push: + branches: + - "main" paths: - 'attestation-agent/**' - '.github/workflows/aa_**.yml' diff --git a/.github/workflows/aa_cc_kbc.yml b/.github/workflows/aa_cc_kbc.yml index c12d4cd5b..bf8c3edbd 100644 --- a/.github/workflows/aa_cc_kbc.yml +++ b/.github/workflows/aa_cc_kbc.yml @@ -1,6 +1,8 @@ name: CC kbc build CI on: push: + branches: + - 'main' paths: - 'attestation-agent/kbc/cc_kbc/**' - 'attestation-agent/kbs_protocol/**' diff --git a/.github/workflows/aa_crypto.yml b/.github/workflows/aa_crypto.yml index b389e96f7..84eb84160 100644 --- a/.github/workflows/aa_crypto.yml +++ b/.github/workflows/aa_crypto.yml @@ -1,6 +1,8 @@ name: Crypto CI on: push: + branches: + - 'main' paths: - 'attestation-agent/deps/crypto/**' - '.github/workflows/aa_crypto.yml' diff --git a/.github/workflows/aa_eaa_kbc.yml b/.github/workflows/aa_eaa_kbc.yml index 32c524275..137d337e3 100644 --- a/.github/workflows/aa_eaa_kbc.yml +++ b/.github/workflows/aa_eaa_kbc.yml @@ -1,6 +1,8 @@ name: EAA kbc build CI on: push: + branches: + - 'main' paths: - 'attestation-agent/kbc/eaa_kbc/**' - '.github/workflows/aa_eaa_kbc.yml' diff --git a/.github/workflows/aa_occlum_sgx.yml b/.github/workflows/aa_occlum_sgx.yml index aac252bb4..b61bb83ad 100644 --- a/.github/workflows/aa_occlum_sgx.yml +++ b/.github/workflows/aa_occlum_sgx.yml @@ -1,6 +1,8 @@ name: CC kbc build CI on: push: + branches: + - 'main' paths: - 'attestation-agent/attester/src/sgx_occlum' - 'attestation-agent/ci/occlum**' diff --git a/.github/workflows/aa_sample_keyprovider.yml b/.github/workflows/aa_sample_keyprovider.yml index 241ca8dfa..ad095b7c7 100644 --- a/.github/workflows/aa_sample_keyprovider.yml +++ b/.github/workflows/aa_sample_keyprovider.yml @@ -1,6 +1,8 @@ name: Coco Keyprovider CI on: push: + branches: + - 'main' paths: - 'attestation-agent/coco_keyprovider/**' pull_request: diff --git a/.github/workflows/aa_sev_kbc.yml b/.github/workflows/aa_sev_kbc.yml index 1d25dbe15..1f722b055 100644 --- a/.github/workflows/aa_sev_kbc.yml +++ b/.github/workflows/aa_sev_kbc.yml @@ -1,6 +1,8 @@ name: offline_sev_kbc build CI on: push: + branches: + - 'main' paths: - 'attestation-agent/kbc/offline_sev_kbc/**' - 'attestation-agent/kbc/online_sev_kbc/**' From d088c4d1b1948555581247b73840b411dbb65da9 Mon Sep 17 00:00:00 2001 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> Date: Tue, 11 Jul 2023 10:44:56 +0200 Subject: [PATCH 3/6] ci: update image-rs and ocicrypt-rs triggers Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> --- .github/workflows/image_rs_build.yml | 13 ++++++++++++- .github/workflows/ocicrypt_rs_build.yml | 16 +++++++++++++--- 2 files changed, 25 insertions(+), 4 deletions(-) diff --git a/.github/workflows/image_rs_build.yml b/.github/workflows/image_rs_build.yml index 51f6f20e2..01eb7632d 100644 --- a/.github/workflows/image_rs_build.yml +++ b/.github/workflows/image_rs_build.yml @@ -1,5 +1,16 @@ name: image-rs build -on: [push, pull_request, create] +on: + push: + branches: + - 'main' + paths: + - 'image-rs/**' + - '.github/workflows/image_rs_build.yml' + pull_request: + paths: + - 'image-rs/**' + - '.github/workflows/image_rs_build.yml' + create: jobs: ci: diff --git a/.github/workflows/ocicrypt_rs_build.yml b/.github/workflows/ocicrypt_rs_build.yml index 5cb2ea519..7723000a3 100644 --- a/.github/workflows/ocicrypt_rs_build.yml +++ b/.github/workflows/ocicrypt_rs_build.yml @@ -1,5 +1,16 @@ name: ocicrypt-rs build -on: [push, pull_request, create] +on: + push: + branches: + - 'main' + paths: + - 'ocicrypt-rs/**' + - '.github/workflows/ocicrypt_rs_build.yml' + pull_request: + paths: + - 'ocicrypt-rs/**' + - '.github/workflows/ocicrypt_rs_build.yml' + create: jobs: ci: @@ -42,7 +53,7 @@ jobs: apt install -y protobuf-compiler libprotobuf-dev - name: Build and install rats-tls - run: | + run: | PWD=$(pwd) cd /tmp apt-get install -y libcurl4-openssl-dev @@ -166,4 +177,3 @@ jobs: with: command: clippy args: -p ocicrypt-rs --all-targets --all-features -- -D warnings -A clippy::derive_partial_eq_without_eq - From 48632c8441fabe8525e2eb0dd862038694df29be Mon Sep 17 00:00:00 2001 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> Date: Tue, 11 Jul 2023 10:45:31 +0200 Subject: [PATCH 4/6] ci: remove ifs on jobs Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> --- .github/workflows/aa_basic.yml | 1 - .github/workflows/aa_cc_kbc.yml | 1 - .github/workflows/aa_crypto.yml | 1 - .github/workflows/aa_eaa_kbc.yml | 1 - .github/workflows/aa_sample_keyprovider.yml | 1 - .github/workflows/aa_sev_kbc.yml | 1 - .github/workflows/image_rs_build.yml | 1 - .github/workflows/ocicrypt_rs_build.yml | 1 - 8 files changed, 8 deletions(-) diff --git a/.github/workflows/aa_basic.yml b/.github/workflows/aa_basic.yml index 20794633f..61c9ebc4a 100644 --- a/.github/workflows/aa_basic.yml +++ b/.github/workflows/aa_basic.yml @@ -16,7 +16,6 @@ on: jobs: basic_ci: - if: github.event_name == 'pull_request' name: Check defaults: run: diff --git a/.github/workflows/aa_cc_kbc.yml b/.github/workflows/aa_cc_kbc.yml index bf8c3edbd..af5281eaf 100644 --- a/.github/workflows/aa_cc_kbc.yml +++ b/.github/workflows/aa_cc_kbc.yml @@ -16,7 +16,6 @@ on: jobs: cc_kbc_ci: - if: github.event_name == 'pull_request' name: Check defaults: run: diff --git a/.github/workflows/aa_crypto.yml b/.github/workflows/aa_crypto.yml index 84eb84160..6fe7660e3 100644 --- a/.github/workflows/aa_crypto.yml +++ b/.github/workflows/aa_crypto.yml @@ -14,7 +14,6 @@ on: jobs: crypto_ci: - if: github.event_name == 'pull_request' name: Check defaults: run: diff --git a/.github/workflows/aa_eaa_kbc.yml b/.github/workflows/aa_eaa_kbc.yml index 137d337e3..be0b99c75 100644 --- a/.github/workflows/aa_eaa_kbc.yml +++ b/.github/workflows/aa_eaa_kbc.yml @@ -14,7 +14,6 @@ on: jobs: eaa_kbc_ci: - if: github.event_name == 'pull_request' name: Check defaults: run: diff --git a/.github/workflows/aa_sample_keyprovider.yml b/.github/workflows/aa_sample_keyprovider.yml index ad095b7c7..824812fc2 100644 --- a/.github/workflows/aa_sample_keyprovider.yml +++ b/.github/workflows/aa_sample_keyprovider.yml @@ -12,7 +12,6 @@ on: jobs: coco_keyprovider_ci: - if: github.event_name == 'pull_request' name: Check runs-on: ubuntu-latest strategy: diff --git a/.github/workflows/aa_sev_kbc.yml b/.github/workflows/aa_sev_kbc.yml index 1f722b055..edd3e0446 100644 --- a/.github/workflows/aa_sev_kbc.yml +++ b/.github/workflows/aa_sev_kbc.yml @@ -14,7 +14,6 @@ on: jobs: offline_sev_kbc_ci: - if: github.event_name == 'pull_request' name: Check defaults: run: diff --git a/.github/workflows/image_rs_build.yml b/.github/workflows/image_rs_build.yml index 01eb7632d..859ed916d 100644 --- a/.github/workflows/image_rs_build.yml +++ b/.github/workflows/image_rs_build.yml @@ -14,7 +14,6 @@ on: jobs: ci: - if: github.event_name == 'pull_request' || github.event_name == 'push' name: Check defaults: run: diff --git a/.github/workflows/ocicrypt_rs_build.yml b/.github/workflows/ocicrypt_rs_build.yml index 7723000a3..04969e73a 100644 --- a/.github/workflows/ocicrypt_rs_build.yml +++ b/.github/workflows/ocicrypt_rs_build.yml @@ -14,7 +14,6 @@ on: jobs: ci: - if: github.event_name == 'pull_request' name: Check runs-on: ubuntu-latest strategy: From 9afb35a64dd5ccfdbc319880a417243fda712de5 Mon Sep 17 00:00:00 2001 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> Date: Tue, 11 Jul 2023 10:54:30 +0200 Subject: [PATCH 5/6] ci: update workflow names and path filters Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> --- .github/workflows/aa_basic.yml | 5 +++-- .github/workflows/aa_cc_kbc.yml | 3 ++- .github/workflows/aa_crypto.yml | 3 ++- .github/workflows/aa_eaa_kbc.yml | 3 ++- .github/workflows/aa_occlum_sgx.yml | 4 ++-- .github/workflows/aa_release.yml | 11 +++++------ .github/workflows/aa_sample_keyprovider.yml | 4 +++- .github/workflows/aa_sev_kbc.yml | 2 +- 8 files changed, 20 insertions(+), 15 deletions(-) diff --git a/.github/workflows/aa_basic.yml b/.github/workflows/aa_basic.yml index 61c9ebc4a..7983f2120 100644 --- a/.github/workflows/aa_basic.yml +++ b/.github/workflows/aa_basic.yml @@ -1,16 +1,17 @@ name: attestation-agent basic build and unit tests + on: push: branches: - "main" paths: - 'attestation-agent/**' - - '.github/workflows/aa_**.yml' + - '.github/workflows/aa_basic.yml' - 'Cargo.toml' pull_request: paths: - 'attestation-agent/**' - - '.github/workflows/aa_**.yml' + - '.github/workflows/aa_basic.yml' - 'Cargo.toml' create: diff --git a/.github/workflows/aa_cc_kbc.yml b/.github/workflows/aa_cc_kbc.yml index af5281eaf..d82a2211e 100644 --- a/.github/workflows/aa_cc_kbc.yml +++ b/.github/workflows/aa_cc_kbc.yml @@ -1,4 +1,5 @@ -name: CC kbc build CI +name: attestation-agent cc_kbc tests + on: push: branches: diff --git a/.github/workflows/aa_crypto.yml b/.github/workflows/aa_crypto.yml index 6fe7660e3..eac330efa 100644 --- a/.github/workflows/aa_crypto.yml +++ b/.github/workflows/aa_crypto.yml @@ -1,4 +1,5 @@ -name: Crypto CI +name: attestation-agent crypto tests + on: push: branches: diff --git a/.github/workflows/aa_eaa_kbc.yml b/.github/workflows/aa_eaa_kbc.yml index be0b99c75..614e16281 100644 --- a/.github/workflows/aa_eaa_kbc.yml +++ b/.github/workflows/aa_eaa_kbc.yml @@ -1,4 +1,5 @@ -name: EAA kbc build CI +name: attestation-agent eaa_kbc tests + on: push: branches: diff --git a/.github/workflows/aa_occlum_sgx.yml b/.github/workflows/aa_occlum_sgx.yml index b61bb83ad..2604fcff3 100644 --- a/.github/workflows/aa_occlum_sgx.yml +++ b/.github/workflows/aa_occlum_sgx.yml @@ -1,4 +1,4 @@ -name: CC kbc build CI +name: attestation-agent occlum_sgx tests on: push: branches: @@ -15,7 +15,7 @@ on: create: jobs: - build-and-run-occlum: + occlum_sgx_ci: runs-on: self-hosted container: image: occlum/occlum:latest-ubuntu20.04 diff --git a/.github/workflows/aa_release.yml b/.github/workflows/aa_release.yml index 039c3f175..2e70a0032 100644 --- a/.github/workflows/aa_release.yml +++ b/.github/workflows/aa_release.yml @@ -8,18 +8,17 @@ jobs: build-and-push-images: runs-on: ubuntu-latest steps: - - - name: Checkout + - name: Checkout uses: actions/checkout@v3 - - - name: Login to Docker Hub + + - name: Login to Docker Hub uses: docker/login-action@v2 with: registry: ghcr.io username: ${{github.actor}} password: ${{secrets.GITHUB_TOKEN}} - - - name: Build and push coco-key-provider + + - name: Build and push coco-key-provider uses: docker/build-push-action@v4 with: context: . diff --git a/.github/workflows/aa_sample_keyprovider.yml b/.github/workflows/aa_sample_keyprovider.yml index 824812fc2..38a4f2c2b 100644 --- a/.github/workflows/aa_sample_keyprovider.yml +++ b/.github/workflows/aa_sample_keyprovider.yml @@ -1,13 +1,15 @@ -name: Coco Keyprovider CI +name: attestation-agent coco_keyprovider tests on: push: branches: - 'main' paths: - 'attestation-agent/coco_keyprovider/**' + - '.github/workflows/aa_sample_keyprovider.yml' pull_request: paths: - 'attestation-agent/coco_keyprovider/**' + - '.github/workflows/aa_sample_keyprovider.yml' create: jobs: diff --git a/.github/workflows/aa_sev_kbc.yml b/.github/workflows/aa_sev_kbc.yml index edd3e0446..0fc5da141 100644 --- a/.github/workflows/aa_sev_kbc.yml +++ b/.github/workflows/aa_sev_kbc.yml @@ -1,4 +1,4 @@ -name: offline_sev_kbc build CI +name: attestation-agent offline_sev_kbc tests on: push: branches: From 5b5d68c7ec4f78435f48f235512492c62d9eb7eb Mon Sep 17 00:00:00 2001 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> Date: Tue, 11 Jul 2023 10:56:32 +0200 Subject: [PATCH 6/6] ci: add workflow_dispatch trigger to tests Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> --- .github/workflows/aa_basic.yml | 1 + .github/workflows/aa_cc_kbc.yml | 1 + .github/workflows/aa_crypto.yml | 1 + .github/workflows/aa_eaa_kbc.yml | 1 + .github/workflows/aa_occlum_sgx.yml | 1 + .github/workflows/aa_sample_keyprovider.yml | 1 + .github/workflows/aa_sev_kbc.yml | 1 + .github/workflows/image_rs_build.yml | 1 + .github/workflows/ocicrypt_rs_build.yml | 1 + 9 files changed, 9 insertions(+) diff --git a/.github/workflows/aa_basic.yml b/.github/workflows/aa_basic.yml index 7983f2120..9d0ea0a84 100644 --- a/.github/workflows/aa_basic.yml +++ b/.github/workflows/aa_basic.yml @@ -14,6 +14,7 @@ on: - '.github/workflows/aa_basic.yml' - 'Cargo.toml' create: + workflow_dispatch: jobs: basic_ci: diff --git a/.github/workflows/aa_cc_kbc.yml b/.github/workflows/aa_cc_kbc.yml index d82a2211e..15fa85aee 100644 --- a/.github/workflows/aa_cc_kbc.yml +++ b/.github/workflows/aa_cc_kbc.yml @@ -14,6 +14,7 @@ on: - 'attestation-agent/kbs_protocol/**' - '.github/workflows/aa_cc_kbc.yml' create: + workflow_dispatch: jobs: cc_kbc_ci: diff --git a/.github/workflows/aa_crypto.yml b/.github/workflows/aa_crypto.yml index eac330efa..73b546422 100644 --- a/.github/workflows/aa_crypto.yml +++ b/.github/workflows/aa_crypto.yml @@ -12,6 +12,7 @@ on: - 'attestation-agent/deps/crypto/**' - '.github/workflows/aa_crypto.yml' create: + workflow_dispatch: jobs: crypto_ci: diff --git a/.github/workflows/aa_eaa_kbc.yml b/.github/workflows/aa_eaa_kbc.yml index 614e16281..ecd270282 100644 --- a/.github/workflows/aa_eaa_kbc.yml +++ b/.github/workflows/aa_eaa_kbc.yml @@ -12,6 +12,7 @@ on: - 'attestation-agent/kbc/eaa_kbc/**' - '.github/workflows/aa_eaa_kbc.yml' create: + workflow_dispatch: jobs: eaa_kbc_ci: diff --git a/.github/workflows/aa_occlum_sgx.yml b/.github/workflows/aa_occlum_sgx.yml index 2604fcff3..4f9772a56 100644 --- a/.github/workflows/aa_occlum_sgx.yml +++ b/.github/workflows/aa_occlum_sgx.yml @@ -13,6 +13,7 @@ on: - 'attestation-agent/ci/occlum**' - '.github/workflows/aa_occlum_sgx.yml' create: + workflow_dispatch: jobs: occlum_sgx_ci: diff --git a/.github/workflows/aa_sample_keyprovider.yml b/.github/workflows/aa_sample_keyprovider.yml index 38a4f2c2b..2d3be21fc 100644 --- a/.github/workflows/aa_sample_keyprovider.yml +++ b/.github/workflows/aa_sample_keyprovider.yml @@ -11,6 +11,7 @@ on: - 'attestation-agent/coco_keyprovider/**' - '.github/workflows/aa_sample_keyprovider.yml' create: + workflow_dispatch: jobs: coco_keyprovider_ci: diff --git a/.github/workflows/aa_sev_kbc.yml b/.github/workflows/aa_sev_kbc.yml index 0fc5da141..1a8ca4c74 100644 --- a/.github/workflows/aa_sev_kbc.yml +++ b/.github/workflows/aa_sev_kbc.yml @@ -11,6 +11,7 @@ on: - 'attestation-agent/kbc/offline_sev_kbc/**' - 'attestation-agent/kbc/online_sev_kbc/**' create: + workflow_dispatch: jobs: offline_sev_kbc_ci: diff --git a/.github/workflows/image_rs_build.yml b/.github/workflows/image_rs_build.yml index 859ed916d..05783b02d 100644 --- a/.github/workflows/image_rs_build.yml +++ b/.github/workflows/image_rs_build.yml @@ -11,6 +11,7 @@ on: - 'image-rs/**' - '.github/workflows/image_rs_build.yml' create: + workflow_dispatch: jobs: ci: diff --git a/.github/workflows/ocicrypt_rs_build.yml b/.github/workflows/ocicrypt_rs_build.yml index 04969e73a..3338923df 100644 --- a/.github/workflows/ocicrypt_rs_build.yml +++ b/.github/workflows/ocicrypt_rs_build.yml @@ -11,6 +11,7 @@ on: - 'ocicrypt-rs/**' - '.github/workflows/ocicrypt_rs_build.yml' create: + workflow_dispatch: jobs: ci: