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

DEV-519 Integerate drift detection with GitHub App #86

Merged
merged 6 commits into from
Sep 13, 2024

Conversation

Resonance1584
Copy link
Contributor

No description provided.

@yhakbar
Copy link
Contributor

yhakbar commented Sep 12, 2024

@Resonance1584 the action has moved to gruntwork-io

JOB_NAME: ${{ env.JOB_NAME }}
STEP_NAME: "Execute Drift Detection"

consolidate_jobs:
runs-on: ${{ fromJSON(inputs.runner) }}
needs: pipelines_drift_detection
steps:
- name: Fetch Gruntwork Read Token
id: pipelines-gruntwork-read-token
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion: consider removing "token" and or shortening the ids of these fetch steps( e.g fetch_read)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It makes reading the later references easier on the eye

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Personally, I prefer it with the token suffix.

Copy link
Contributor Author

@Resonance1584 Resonance1584 Sep 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have a strong preference here, but currently these are consistent with the other workflow files. If this is a strong opinion we should update all of them at once in the v3 githubap branch. Leaving as is for now for consistency as it gets merged.

@Resonance1584 Resonance1584 merged commit 835823d into 2024-08-27_gruntcon_githubapp Sep 13, 2024
2 checks passed
@Resonance1584 Resonance1584 deleted the 2024-09-11_drift branch September 13, 2024 19:23
Resonance1584 added a commit that referenced this pull request Sep 17, 2024
* Use actions@2024-08-27_gruntcon_githubapp

* Use [email protected]

* Use pipelines-credentials for downloading actions

* uses format

* Update pipelines-root.yml

* Fix correctly use outputs

* typo

* Try concatenate env

* Try github var

* Pass tokens to execute

* Fix typo

* debug cloning

* chars

* interp

* less args

* remove debugging

* add new tokens to preflight

* rename token

* chore: baseline needs both tokens

* chore: use the new tokens everywhere

* chore: fix token thing

* Fetch infra root write and org admin, pass to preflight

* Switch out admin tokens in root

* Disable provisioning temporarily

* Fix read token ref

* Update unlock to use github app tokens

* Bump pipelines CLI to v0.29.0-rc2

* Use top level env GH_TOKEN

* Use github app in delegated workflow

* Bump pipelines CLI to v0.29.0-rc3

* Try rc3

* Try v0.28.2

* Trace log

* v0.28.3-rc2

* v0.28.3-rc3

* v0.28.3-rc5

* v0.29.0-rc5

* fix: Set `api_base_url`

* fix: Use `gruntwork-io` for `pipelines-credentials`

* feat: Adding dynamicity to API URL

* Use customer org token

* DEV-519 Integerate drift detection with GitHub App (#86)

* Integrate app

* Add org read token

* Add create pr token

* Make secrets not required

* Dynamic api_base_url

* Use moved action

---------

Co-authored-by: Zach Goldberg <[email protected]>
Co-authored-by: Yousif Akbar <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants