File tree Expand file tree Collapse file tree 2 files changed +25
-4
lines changed
generated/gitops-template/jenkins Expand file tree Collapse file tree 2 files changed +25
-4
lines changed Original file line number Diff line number Diff line change @@ -13,11 +13,11 @@ pipeline {
13
13
/* Used to verify the image signature and attestation */
14
14
/* COSIGN_PUBLIC_KEY = credentials('COSIGN_PUBLIC_KEY') */
15
15
/* URL of the BOMbastic api host (e.g. https://sbom.trustification.dev) */
16
- TRUSTIFICATION_BOMBASTIC_API_URL = credentials(' TRUSTIFICATION_BOMBASTIC_API_URL' )
16
+ /* TRUSTIFICATION_BOMBASTIC_API_URL = credentials('TRUSTIFICATION_BOMBASTIC_API_URL') */
17
17
/* URL of the OIDC token issuer (e.g. https://sso.trustification.dev/realms/chicken) */
18
- TRUSTIFICATION_OIDC_ISSUER_URL = credentials(' TRUSTIFICATION_OIDC_ISSUER_URL' )
19
- TRUSTIFICATION_OIDC_CLIENT_ID = credentials(' TRUSTIFICATION_OIDC_CLIENT_ID' )
20
- TRUSTIFICATION_SUPPORTED_CYCLONEDX_VERSION = credentials(' TRUSTIFICATION_SUPPORTED_CYCLONEDX_VERSION' )
18
+ /* TRUSTIFICATION_OIDC_ISSUER_URL = credentials('TRUSTIFICATION_OIDC_ISSUER_URL') */
19
+ /* TRUSTIFICATION_OIDC_CLIENT_ID = credentials('TRUSTIFICATION_OIDC_CLIENT_ID') */
20
+ /* TRUSTIFICATION_SUPPORTED_CYCLONEDX_VERSION = credentials('TRUSTIFICATION_SUPPORTED_CYCLONEDX_VERSION') */
21
21
/* Set when using Jenkins on non-local cluster and using an external Rekor instance */
22
22
/* REKOR_HOST = credentials('REKOR_HOST') */
23
23
/* Set when using Jenkins on non-local cluster and using an external TUF instance */
Original file line number Diff line number Diff line change @@ -129,11 +129,32 @@ gitops_variables:
129
129
comment : Used to verify the image signature and attestation
130
130
131
131
- name : TRUSTIFICATION_BOMBASTIC_API_URL
132
+ if : ' isGitHub || isAzure'
133
+ comment : URL of the BOMbastic api host (e.g. https://sbom.trustification.dev)
134
+ - name : TRUSTIFICATION_BOMBASTIC_API_URL
135
+ if : ' !isGitHub && !isAzure'
136
+ commented_out : true
132
137
comment : URL of the BOMbastic api host (e.g. https://sbom.trustification.dev)
138
+
133
139
- name : TRUSTIFICATION_OIDC_ISSUER_URL
140
+ if : ' isGitHub || isAzure'
141
+ comment : URL of the OIDC token issuer (e.g. https://sso.trustification.dev/realms/chicken)
142
+ - name : TRUSTIFICATION_OIDC_ISSUER_URL
143
+ if : ' !isGitHub && !isAzure'
144
+ commented_out : true
134
145
comment : URL of the OIDC token issuer (e.g. https://sso.trustification.dev/realms/chicken)
146
+
147
+ - name : TRUSTIFICATION_OIDC_CLIENT_ID
148
+ if : ' isGitHub || isAzure'
135
149
- name : TRUSTIFICATION_OIDC_CLIENT_ID
150
+ if : ' !isGitHub && !isAzure'
151
+ commented_out : true
152
+
153
+ - name : TRUSTIFICATION_SUPPORTED_CYCLONEDX_VERSION
154
+ if : ' isGitHub || isAzure'
136
155
- name : TRUSTIFICATION_SUPPORTED_CYCLONEDX_VERSION
156
+ if : ' !isGitHub && !isAzure'
157
+ commented_out : true
137
158
138
159
# If the OCI registry is not public then ec needs some credentials so it can see the attestations.
139
160
# Todo: Use different credentials here so we provide read access only instead of read/write access.
You can’t perform that action at this time.
0 commit comments