Skip to content

Commit 92a08ac

Browse files
Fix - Pipeline skip tests for release and switch to github app (#141)
## What ## Why ## Notes <!-- Add any notes here --> ## Checklist * [ ] _I have read [CONTRIBUTING.md](https://github.com/codefresh-io/terraform-provider-codefresh/blob/master/CONTRIBUTING.md)._ * [ ] _I have [allowed changes to my fork to be made](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork)._ * [ ] _I have added tests, assuming new tests are warranted_. * [ ] _I understand that the `/test` comment will be ignored by the CI trigger [unless it is made by a repo admin or collaborator](https://codefresh.io/docs/docs/pipelines/triggers/git-triggers/#support-for-building-pull-requests-from-forks)._
1 parent 44cd0e2 commit 92a08ac

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

codefresh.yml

+8-3
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,22 @@ steps:
4040
environment:
4141
- TF_VERSION=1.3.0
4242
- TF_VERSION=1.7.0
43+
when:
44+
condition:
45+
all:
46+
release: "'${{RELEASE}}' != 'true'"
4347

4448
prepare_env_vars:
4549
title: "Preparing environment variables..."
4650
stage: release
47-
image: codefreshio/ci-helpers
51+
image: quay.io/codefresh/codefresh-shell:0.0.13
52+
shell: bash
4853
environment:
4954
- GPG_FINGERPRINT=${{GPG_FINGERPRINT}}
5055
- SIGNINGKEY=${{SIGNINGKEY}}
5156
commands:
52-
- source /get-token/get-gh-token.sh
53-
- cf_export GITHUB_TOKEN
57+
- source /scripts/get-gh-token.sh
58+
- cf_export GITHUB_TOKEN=$GITHUB_TOKEN --mask
5459
- cf_export GPG_FINGERPRINT
5560
- cf_export SIGNINGKEY
5661
- cf_export GPG_PRIVATE

0 commit comments

Comments
 (0)