Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can we DRY up CI setup? Useful to use Circle CI Orb? #142

Open
justin808 opened this issue Mar 13, 2024 · 0 comments
Open

Can we DRY up CI setup? Useful to use Circle CI Orb? #142

justin808 opened this issue Mar 13, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@justin808
Copy link
Member

justin808 commented Mar 13, 2024

Could we make an ORB for the circle ci setup

Share common code to avoid copy/paste.

For Github? https://www.perplexity.ai/search/does-github-actions-GBl3nSKSTmmTT2mBAU7vXg

      - run:
          name: Provision review app if needed
          command: |
            if ! cpl exists -a $APP_NAME; then
              cpl setup-app -a $APP_NAME
              cpln policy add-binding $APP_NAME_REVIEW-secrets-policy \
                    --permission reveal \
                    --identity /org/$CPLN_ORG_STAGING/gvc/$APP_NAME/identity/$APP_NAME-identity
              echo "export NEW_APP=true" >> $BASH_ENV
            fi
@justin808 justin808 added the enhancement New feature or request label May 14, 2024
@justin808 justin808 changed the title Can we DRY up CI setup? Can we DRY up CI setup? Useful to use Circle CI Orb? May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants