Skip to content

Commit

Permalink
Merge pull request #580 from mkulke/mkulke/consolidate-matrix-configu…
Browse files Browse the repository at this point in the history
…rations

CI: consolidate matrix configurations
  • Loading branch information
BbolroC authored Nov 15, 2024
2 parents b8a33ec + b835f0f commit 828140d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 44 deletions.
1 change: 1 addition & 0 deletions .github/workflows/as-docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
paths:
- 'attestation-service/**'
- '.github/workflows/as-docker-build.yml'
- '.github/workflows/build-as-image.yml'
- 'Cargo.toml'
create:

Expand Down
65 changes: 21 additions & 44 deletions .github/workflows/build-as-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,51 +14,28 @@ jobs:
fail-fast: false
matrix:
instance:
- ubuntu-latest
- s390x
tag:
- coco-as-grpc
- coco-as-restful
- rvps
verifier:
- all-verifier
- se-verifier
- ubuntu-latest
- s390x
name:
- RESTful CoCo-AS
- gRPC CoCo-AS
- RVPS
include:
- docker_file: attestation-service/docker/as-grpc/Dockerfile
tag: coco-as-grpc
name: gRPC CoCo-AS
verifier: all-verifier
instance: ubuntu-latest
- docker_file: attestation-service/docker/as-grpc/Dockerfile
tag: coco-as-grpc
name: gRPC CoCo-AS (IBM SE)
verifier: se-verifier
instance: s390x
- docker_file: attestation-service/docker/as-restful/Dockerfile
tag: coco-as-restful
name: RESTful CoCo-AS
verifier: all-verifier
instance: ubuntu-latest
- docker_file: attestation-service/docker/as-restful/Dockerfile
tag: coco-as-restful
name: RESTful CoCo-AS (IBM SE)
verifier: se-verifier
instance: s390x
- docker_file: rvps/docker/Dockerfile
tag: rvps
name: RVPS
verifier: all-verifier
instance: ubuntu-latest
- docker_file: rvps/docker/Dockerfile
tag: rvps
name: RVPS
verifier: se-verifier
instance: s390x
exclude:
- instance: ubuntu-latest
verifier: se-verifier
- instance: s390x
verifier: all-verifier
# add docker_file + tag to each target
- name: gRPC CoCo-AS
docker_file: attestation-service/docker/as-grpc/Dockerfile
tag: coco-as-grpc
- name: RESTful CoCo-AS
docker_file: attestation-service/docker/as-restful/Dockerfile
tag: coco-as-restful
- name: RVPS
docker_file: rvps/docker/Dockerfile
tag: rvps
# add verifier flag to arch
- instance: ubuntu-latest
verifier: all-verifier
- instance: s390x
verifier: se-verifier
runs-on: ${{ matrix.instance }}

steps:
Expand Down

0 comments on commit 828140d

Please sign in to comment.