diff --git a/charts/datacenter/pipelines/templates/tasks/bumpversion.yaml b/charts/datacenter/pipelines/templates/tasks/bumpversion.yaml index 4344638ad..8f10d8454 100644 --- a/charts/datacenter/pipelines/templates/tasks/bumpversion.yaml +++ b/charts/datacenter/pipelines/templates/tasks/bumpversion.yaml @@ -24,7 +24,7 @@ spec: description: the new build version based on the last tags and VERSION file steps: - name: current-tag - image: gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/git-init:v0.44.5 + image: ghcr.io/tektoncd/github.com/tektoncd/pipeline/cmd/git-init:v0.44.5 script: | VERSION_GLOB="build-$(params.component_name)-$(cat $(params.version_file_path))-*" @@ -70,7 +70,7 @@ spec: name: scratch workingDir: $(workspaces.gitrepos.path)/$(params.subdirectory) - name: tag-repo - image: gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/git-init:v0.44.5 + image: ghcr.io/tektoncd/github.com/tektoncd/pipeline/cmd/git-init:v0.44.5 script: | VERSION=$(cat /scratch/VERSION) git tag $VERSION diff --git a/charts/datacenter/pipelines/templates/tasks/cleanup.yaml b/charts/datacenter/pipelines/templates/tasks/cleanup.yaml index 8a1a6e2b2..ddd52521b 100644 --- a/charts/datacenter/pipelines/templates/tasks/cleanup.yaml +++ b/charts/datacenter/pipelines/templates/tasks/cleanup.yaml @@ -33,7 +33,7 @@ spec: # type: string steps: - name: cleanup-git-tags - image: gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/git-init:v0.44.5 + image: ghcr.io/tektoncd/github.com/tektoncd/pipeline/cmd/git-init:v0.44.5 script: | #list build tags for component in repo BUILD_TAG_GLOB="build-$(params.COMPONENT_NAME)-*" diff --git a/charts/datacenter/pipelines/templates/tasks/git-checkout.yaml b/charts/datacenter/pipelines/templates/tasks/git-checkout.yaml index 03439f04d..dd6fedb32 100644 --- a/charts/datacenter/pipelines/templates/tasks/git-checkout.yaml +++ b/charts/datacenter/pipelines/templates/tasks/git-checkout.yaml @@ -23,7 +23,7 @@ spec: description: The precise commit SHA that is HEAD of the checked out branch steps: - name: checkout - image: gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/git-init:v0.44.5 + image: ghcr.io/tektoncd/github.com/tektoncd/pipeline/cmd/git-init:v0.44.5 script: | BRANCH=$(params.BRANCH) STARTINGBRANCH=$(params.STARTINGBRANCH) diff --git a/charts/datacenter/pipelines/templates/tasks/git-clone-with-tags.yaml b/charts/datacenter/pipelines/templates/tasks/git-clone-with-tags.yaml index c0a4ffc8c..e8778de9d 100644 --- a/charts/datacenter/pipelines/templates/tasks/git-clone-with-tags.yaml +++ b/charts/datacenter/pipelines/templates/tasks/git-clone-with-tags.yaml @@ -41,7 +41,7 @@ spec: description: The precise commit SHA that was fetched by this Task steps: - name: clone - image: gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/git-init:v0.44.5 + image: ghcr.io/tektoncd/github.com/tektoncd/pipeline/cmd/git-init:v0.44.5 script: | CHECKOUT_DIR="$(workspaces.gitrepos.path)/$(params.subdirectory)" diff --git a/charts/datacenter/pipelines/templates/tasks/git-commit.yaml b/charts/datacenter/pipelines/templates/tasks/git-commit.yaml index 69c6bd436..98b2a153f 100644 --- a/charts/datacenter/pipelines/templates/tasks/git-commit.yaml +++ b/charts/datacenter/pipelines/templates/tasks/git-commit.yaml @@ -21,7 +21,7 @@ spec: type: string steps: - name: commit - image: gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/git-init:v0.44.5 + image: ghcr.io/tektoncd/github.com/tektoncd/pipeline/cmd/git-init:v0.44.5 script: | git diff git config --global user.email "$(cat $(workspaces.config.path)/$(params.GIT_EMAIL_CONFIGMAPKEY))" diff --git a/charts/datacenter/pipelines/templates/tasks/github-push.yaml b/charts/datacenter/pipelines/templates/tasks/github-push.yaml index 6c49cedf4..387a239ba 100644 --- a/charts/datacenter/pipelines/templates/tasks/github-push.yaml +++ b/charts/datacenter/pipelines/templates/tasks/github-push.yaml @@ -20,7 +20,7 @@ spec: default: "false" steps: - name: push - image: gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/git-init:v0.44.5 + image: ghcr.io/tektoncd/github.com/tektoncd/pipeline/cmd/git-init:v0.44.5 script: | set -x git remote -v diff --git a/charts/datacenter/pipelines/templates/tektonconfig.yaml b/charts/datacenter/pipelines/templates/tektonconfig.yaml new file mode 100644 index 000000000..d1d6d5f93 --- /dev/null +++ b/charts/datacenter/pipelines/templates/tektonconfig.yaml @@ -0,0 +1,10 @@ +apiVersion: operator.tekton.dev/v1alpha1 +kind: TektonConfig +metadata: + annotations: + argocd.argoproj.io/sync-options: ServerSideApply=true, Validate=false, SkipDryRunOnMissingResource=true + name: config +spec: + pipeline: + coschedule: disabled +