File tree Expand file tree Collapse file tree 5 files changed +67
-6
lines changed Expand file tree Collapse file tree 5 files changed +67
-6
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ FILES=\
11
11
generated/gitops-template/jenkins/Jenkinsfile \
12
12
generated/gitops-template/githubactions/.github/workflows/gitops-promotion.yml \
13
13
generated/gitops-template/gitlabci/.gitlab-ci.yml \
14
+ generated/gitops-template/azure/azure-pipelines.yml \
14
15
\
15
16
rhtap.groovy \
16
17
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 14
14
- bash : |
15
15
echo "• init"
16
16
bash /work/rhtap/init.sh
17
- name: Init
17
+ name: init
18
18
env:
19
19
ROX_API_TOKEN: $(ROX_API_TOKEN)
20
20
GITOPS_AUTH_PASSWORD: $(GITOPS_AUTH_PASSWORD)
30
30
bash /work/rhtap/buildah-rhtap.sh
31
31
echo "• cosign-sign-attest"
32
32
bash /work/rhtap/cosign-sign-attest.sh
33
- name: Build
33
+ name: build
34
34
env:
35
35
ROX_API_TOKEN: $(ROX_API_TOKEN)
36
36
GITOPS_AUTH_PASSWORD: $(GITOPS_AUTH_PASSWORD)
44
44
- bash : |
45
45
echo "• update-deployment"
46
46
bash /work/rhtap/update-deployment.sh
47
- name: Deploy
47
+ name: deploy
48
48
env:
49
49
ROX_API_TOKEN: $(ROX_API_TOKEN)
50
50
GITOPS_AUTH_PASSWORD: $(GITOPS_AUTH_PASSWORD)
62
62
bash /work/rhtap/acs-image-check.sh
63
63
echo "• acs-image-scan"
64
64
bash /work/rhtap/acs-image-scan.sh
65
- name: Scan
65
+ name: scan
66
66
env:
67
67
ROX_API_TOKEN: $(ROX_API_TOKEN)
68
68
GITOPS_AUTH_PASSWORD: $(GITOPS_AUTH_PASSWORD)
78
78
bash /work/rhtap/show-sbom-rhdh.sh
79
79
echo "• summary"
80
80
bash /work/rhtap/summary.sh
81
- name: Summary
81
+ name: summary
82
82
env:
83
83
ROX_API_TOKEN: $(ROX_API_TOKEN)
84
84
GITOPS_AUTH_PASSWORD: $(GITOPS_AUTH_PASSWORD)
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
+ pool:
8
+ name: resourcehub
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 -%}
Original file line number Diff line number Diff line change 4
4
echo "• {{ substep }} "
5
5
bash /work/rhtap/{{ substep }} .sh
6
6
{%- endfor %}
7
- name: {{ step .name | title }}
7
+ name: {{ step .name | replace ( " " , " _ " ) }}
8
8
env:
9
9
{%- filter indent (2) -%}
10
10
{%- for secret in secrets %}
You can’t perform that action at this time.
0 commit comments