File tree 3 files changed +61
-1
lines changed
generated/gitops-template/azure
templates/gitops-template
3 files changed +61
-1
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ FILES=\
10
10
generated/gitops-template/jenkins/Jenkinsfile \
11
11
generated/gitops-template/githubactions/.github/workflows/gitops-promotion.yml \
12
12
generated/gitops-template/gitlabci/.gitlab-ci.yml \
13
- # generated/gitops-template/azure/azure-pipelines.yml \
13
+ generated/gitops-template/azure/azure-pipelines.yml \
14
14
\
15
15
rhtap.groovy \
16
16
rhtap/build-pipeline-steps.sh \
Original file line number Diff line number Diff line change
1
+ # Generated from templates/gitops-template/azure-pipelines.yml.njk. Do not edit directly.
2
+
3
+ trigger :
4
+ - main
5
+
6
+ pool :
7
+ name : resourcehub
8
+
9
+ container :
10
+ image : quay.io/redhat-appstudio/rhtap-task-runner:latest
11
+ options : --privileged
12
+
13
+ steps :
14
+ - bash : |
15
+ echo "• gather-deploy-images"
16
+ bash /work/rhtap/gather-deploy-images.sh
17
+ echo "• verify-enterprise-contract"
18
+ bash /work/rhtap/verify-enterprise-contract.sh
19
+ name: Verify Ec
20
+ env:
21
+ TRUSTIFICATION_OIDC_CLIENT_SECRET: $(TRUSTIFICATION_OIDC_CLIENT_SECRET)
22
+ # Set this password for your specific registry
23
+ # IMAGE_REGISTRY_PASSWORD: $(IMAGE_REGISTRY_PASSWORD)
24
+ # QUAY_IO_CREDS_PSW: $(QUAY_IO_CREDS_PSW)
25
+ # ARTIFACTORY_IO_CREDS_PSW: $(ARTIFACTORY_IO_CREDS_PSW)
26
+ # NEXUS_IO_CREDS_PSW: $(NEXUS_IO_CREDS_PSW)
27
+ - bash : |
28
+ echo "• gather-images-to-upload-sbom"
29
+ bash /work/rhtap/gather-images-to-upload-sbom.sh
30
+ echo "• download-sbom-from-url-in-attestation"
31
+ bash /work/rhtap/download-sbom-from-url-in-attestation.sh
32
+ echo "• upload-sbom-to-trustification"
33
+ bash /work/rhtap/upload-sbom-to-trustification.sh
34
+ name: Upload Sbom
35
+ env:
36
+ TRUSTIFICATION_OIDC_CLIENT_SECRET: $(TRUSTIFICATION_OIDC_CLIENT_SECRET)
37
+ # Set this password for your specific registry
38
+ # IMAGE_REGISTRY_PASSWORD: $(IMAGE_REGISTRY_PASSWORD)
39
+ # QUAY_IO_CREDS_PSW: $(QUAY_IO_CREDS_PSW)
40
+ # ARTIFACTORY_IO_CREDS_PSW: $(ARTIFACTORY_IO_CREDS_PSW)
41
+ # NEXUS_IO_CREDS_PSW: $(NEXUS_IO_CREDS_PSW)
Original file line number Diff line number Diff line change
1
+ {%- include " do-not-edit.njk" -%}
2
+ {%- set secrets = gitops_secrets -%}
3
+
4
+ trigger:
5
+ - main
6
+
7
+ variables:
8
+ - group: $(AZURE_VARIABLE_GROUP_NAME)
9
+
10
+ container:
11
+ image: quay.io/redhat-appstudio/rhtap-task-runner:latest
12
+ options: --privileged
13
+
14
+ steps:
15
+ {%- filter indent (2) -%}
16
+ {%- for step in gitops_steps %}
17
+ {% include " azure-step.njk" %}
18
+ {%- endfor -%}
19
+ {%- endfilter -%}
You can’t perform that action at this time.
0 commit comments