-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathazure-pipelines.yml
More file actions
50 lines (44 loc) · 1.81 KB
/
Copy pathazure-pipelines.yml
File metadata and controls
50 lines (44 loc) · 1.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Generated from templates/gitops-template/azure-pipelines.yml.njk. Do not edit directly.
pr:
- main
trigger: none
# Using self-hosted 'Default' agent pool by default
# Change accordingly when using a different agent pool
# Can be deleted if self-hosted agents are not being used
# See https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/agents
pool:
name: rhtap-testing
container:
image: quay.io/redhat-user-workloads/rhtap-shared-team-tenant/rhtap-task-runner@sha256:d683c10f8505c70676f99f48180757814e77833e9489ff3392ab865bcd06d5a3
options: --privileged
# Using 'tssc' variable group by default
# Change accordingly when using a different variable group
# Can be deleted if the variables are set differently
# See https://learn.microsoft.com/en-us/azure/devops/pipelines/process/variables
variables:
- group: e2e-tests-go-yxkrxglt
- name: CI_TYPE
value: azure
steps:
- bash: |
echo "• gather-deploy-images"
bash /work/tssc/gather-deploy-images.sh
echo "• verify-conforma"
bash /work/tssc/verify-conforma.sh
name: Verify_Conforma
env:
TRUSTIFICATION_OIDC_CLIENT_SECRET: $(TRUSTIFICATION_OIDC_CLIENT_SECRET)
# Set this password for your specific registry
IMAGE_REGISTRY_PASSWORD: $(IMAGE_REGISTRY_PASSWORD)
- bash: |
echo "• gather-images-to-upload-sbom"
bash /work/tssc/gather-images-to-upload-sbom.sh
echo "• download-sbom-from-url-in-attestation"
bash /work/tssc/download-sbom-from-url-in-attestation.sh
echo "• upload-sbom-to-trustification"
bash /work/tssc/upload-sbom-to-trustification.sh
name: Upload_SBOM
env:
TRUSTIFICATION_OIDC_CLIENT_SECRET: $(TRUSTIFICATION_OIDC_CLIENT_SECRET)
# Set this password for your specific registry
IMAGE_REGISTRY_PASSWORD: $(IMAGE_REGISTRY_PASSWORD)