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

move all tests secrets to google vault #874

Merged
merged 14 commits into from
Jan 5, 2024
Merged

move all tests secrets to google vault #874

merged 14 commits into from
Jan 5, 2024

Conversation

sh-rp
Copy link
Collaborator

@sh-rp sh-rp commented Jan 4, 2024

Description

Move away from github actions secrets to google secrets.

Copy link

netlify bot commented Jan 4, 2024

Deploy Preview for dlt-hub-docs canceled.

Name Link
🔨 Latest commit f915f87
🔍 Latest deploy log https://app.netlify.com/sites/dlt-hub-docs/deploys/6597b57d39ebe20008d7f624

Copy link
Contributor

@AstrakhantsevaAA AstrakhantsevaAA left a comment

Choose a reason for hiding this comment

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

don't forget about

env:
  DLT_SECRETS_TOML: ${{ secrets.DLT_SECRETS_TOML }}

@sh-rp sh-rp marked this pull request as ready for review January 4, 2024 15:50
@@ -9,6 +9,9 @@ on:
workflow_dispatch:

env:

DLT_SECRETS_TOML: ${{ secrets.DLT_SECRETS_TOML }}

# all credentials must be present to be passed to dbt runner
DESTINATION__POSTGRES__CREDENTIALS: postgresql://[email protected]:5432/dlt_data
DESTINATION__REDSHIFT__CREDENTIALS: postgresql://[email protected]:5439/dlt_ci
Copy link
Contributor

@AstrakhantsevaAA AstrakhantsevaAA Jan 4, 2024

Choose a reason for hiding this comment

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

why did you keep these creds for postgres and redshift?

Copy link
Contributor

Choose a reason for hiding this comment

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

all credentials must be present to be passed to dbt runner

got it

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yeah, these have to be env vars, maybe there is a way we can load the toml file into the env for this, not sure.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@AstrakhantsevaAA actually i misinterpreted the test, I could remove this after all

@sh-rp sh-rp merged commit 14d7da8 into devel Jan 5, 2024
51 of 52 checks passed
@sh-rp sh-rp deleted the d#/move_secrets branch January 5, 2024 12:05
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.

2 participants