Skip to content

Commit

Permalink
ci: update workflow names and path filters
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Meyer <[email protected]>
  • Loading branch information
katexochen authored and arronwy committed Jul 24, 2023
1 parent b1335ce commit 9767048
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 15 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/aa_basic.yml
Original file line number Diff line number Diff line change
@@ -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:

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/aa_cc_kbc.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: CC kbc build CI
name: attestation-agent cc_kbc tests

on:
push:
branches:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/aa_crypto.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Crypto CI
name: attestation-agent crypto tests

on:
push:
branches:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/aa_eaa_kbc.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: EAA kbc build CI
name: attestation-agent eaa_kbc tests

on:
push:
branches:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/aa_occlum_sgx.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CC kbc build CI
name: attestation-agent occlum_sgx tests
on:
push:
branches:
Expand All @@ -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
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/aa_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: .
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/aa_sample_keyprovider.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/aa_sev_kbc.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: offline_sev_kbc build CI
name: attestation-agent offline_sev_kbc tests
on:
push:
branches:
Expand Down

0 comments on commit 9767048

Please sign in to comment.