diff --git a/ci-operator/config/openshift-online/rosa-backend-tests/openshift-online-rosa-backend-tests-master.yaml b/ci-operator/config/openshift-online/rosa-backend-tests/openshift-online-rosa-backend-tests-master.yaml index 4fa855e752645..016911361a09f 100644 --- a/ci-operator/config/openshift-online/rosa-backend-tests/openshift-online-rosa-backend-tests-master.yaml +++ b/ci-operator/config/openshift-online/rosa-backend-tests/openshift-online-rosa-backend-tests-master.yaml @@ -18,13 +18,13 @@ tests: commands: | unset GOFLAGS export HOME=/tmp - git config --global url."https://$(cat /usr/local/ocm-github-credentials/token)@github.com/".insteadOf "https://github.com/" + git config --global url."https://$(cat /usr/local/github-credentials/oauth)@github.com/".insteadOf "https://github.com/" make lint container: from: src secrets: - - mount_path: /usr/local/ocm-github-credentials - name: ocm-github-credentials + - mount_path: /usr/local/github-credentials + name: github-credentials-openshift-ci-robot-private-git-cloner zz_generated_metadata: branch: master org: openshift-online diff --git a/ci-operator/jobs/openshift-online/rosa-backend-tests/openshift-online-rosa-backend-tests-master-presubmits.yaml b/ci-operator/jobs/openshift-online/rosa-backend-tests/openshift-online-rosa-backend-tests-master-presubmits.yaml index 2d0ce6e3feb6a..3fa7ddf6db01d 100644 --- a/ci-operator/jobs/openshift-online/rosa-backend-tests/openshift-online-rosa-backend-tests-master-presubmits.yaml +++ b/ci-operator/jobs/openshift-online/rosa-backend-tests/openshift-online-rosa-backend-tests-master-presubmits.yaml @@ -22,7 +22,7 @@ presubmits: - --image-import-pull-secret=/etc/pull-secret/.dockerconfigjson - --oauth-token-path=/usr/local/github-credentials/oauth - --report-credentials-file=/etc/report/credentials - - --secret-dir=/secrets/ocm-github-credentials + - --secret-dir=/secrets/github-credentials-openshift-ci-robot-private-git-cloner - --target=lint command: - ci-operator @@ -47,12 +47,12 @@ presubmits: - mountPath: /usr/local/github-credentials name: github-credentials-openshift-ci-robot-private-git-cloner readOnly: true + - mountPath: /secrets/github-credentials-openshift-ci-robot-private-git-cloner + name: github-credentials-openshift-ci-robot-private-git-cloner + readOnly: true - mountPath: /secrets/manifest-tool name: manifest-tool-local-pusher readOnly: true - - mountPath: /secrets/ocm-github-credentials - name: ocm-github-credentials - readOnly: true - mountPath: /etc/pull-secret name: pull-secret readOnly: true @@ -67,9 +67,6 @@ presubmits: - name: manifest-tool-local-pusher secret: secretName: manifest-tool-local-pusher - - name: ocm-github-credentials - secret: - secretName: ocm-github-credentials - name: pull-secret secret: secretName: registry-pull-credentials