-
Notifications
You must be signed in to change notification settings - Fork 247
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support pushing build-definitions images to quay.io/konflux-ci (#3804)
* Run build-definitions CI in konflux-ci namespace STONEBLD-2339 After konflux-ci/build-definitions#1041, the build-definitions pipelines will need push access to quay.io/konflux-ci. Run the pipelines in the konflux-ci namespace, where the appstudio-pipeline service account has quay.io/konflux-ci push access by default. Also add redhat-appstudio-tekton-catalog-build-definitions-pull-secret to the konflux-ci namespace. It is needed for push access to quay.io/redhat-appstudio-tekton-catalog. Previously, the secret lived in the tekton-ci namespace (but wasn't defined anywhere). Signed-off-by: Adam Cmiel <[email protected]> * Prune konflux-ci/pull-request-builds STONEBLD-2339 And stop pruning redhat-appstudio-tekton-catalog/pull-request-builds. After konflux-ci/build-definitions#1041, nothing will be pushed there anymore. Signed-off-by: Adam Cmiel <[email protected]> --------- Signed-off-by: Adam Cmiel <[email protected]>
- Loading branch information
Showing
7 changed files
with
45 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...at-appstudio-tekton-catalog-pr-token.yaml → ...-ci-pull-request-builds-pruner-token.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
apiVersion: external-secrets.io/v1beta1 | ||
kind: ExternalSecret | ||
metadata: | ||
name: redhat-appstudio-tekton-catalog-pr-token | ||
name: konflux-ci-pull-request-builds-pruner-token | ||
annotations: | ||
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true | ||
argocd.argoproj.io/sync-wave: "-1" | ||
spec: | ||
dataFrom: | ||
- extract: | ||
key: production/build/redhat-appstudio-tekton-catalog-pr-token | ||
key: production/build/konflux-ci-pull-request-builds-pruner-token | ||
refreshInterval: 20h | ||
secretStoreRef: | ||
kind: ClusterSecretStore | ||
name: appsre-stonesoup-vault | ||
target: | ||
creationPolicy: Owner | ||
deletionPolicy: Delete | ||
name: redhat-appstudio-tekton-catalog-pr-token | ||
name: konflux-ci-pull-request-builds-pruner-token |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
.../konflux-ci/production/redhat-appstudio-tekton-catalog-build-definitions-pull-secret.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
apiVersion: external-secrets.io/v1beta1 | ||
kind: ExternalSecret | ||
metadata: | ||
name: redhat-appstudio-tekton-catalog-build-definitions-pull-secret | ||
annotations: | ||
argocd.argoproj.io/sync-options: SkipDryRunOnMissingResource=true | ||
argocd.argoproj.io/sync-wave: "-1" | ||
spec: | ||
dataFrom: | ||
- extract: | ||
key: production/build/tekton-ci/redhat-appstudio-tekton-catalog-build-definitions-pull-secret | ||
refreshInterval: 15m | ||
secretStoreRef: | ||
kind: ClusterSecretStore | ||
name: appsre-stonesoup-vault | ||
target: | ||
creationPolicy: Owner | ||
deletionPolicy: Delete | ||
name: redhat-appstudio-tekton-catalog-build-definitions-pull-secret | ||
template: | ||
engineVersion: v2 | ||
type: kubernetes.io/dockerconfigjson | ||
data: | ||
.dockerconfigjson: "{{ .config }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters