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

Fix patsy authentication code #1837

Merged
merged 2 commits into from
Nov 14, 2023
Merged

Fix patsy authentication code #1837

merged 2 commits into from
Nov 14, 2023

Conversation

geoknee
Copy link
Contributor

@geoknee geoknee commented Nov 14, 2023

No description provided.

Copy link

netlify bot commented Nov 14, 2023

👷 Deploy Preview for nitrodocs processing.

Name Link
🔨 Latest commit c152342
🔍 Latest deploy log https://app.netlify.com/sites/nitrodocs/deploys/6553428bb123a700095c1d71

Copy link

netlify bot commented Nov 14, 2023

Deploy Preview for nitro-payment-demo canceled.

Name Link
🔨 Latest commit c152342
🔍 Latest deploy log https://app.netlify.com/sites/nitro-payment-demo/deploys/6553428bfb8ed40007d95b64

DO_API_KEY: ${{ secrets.DO_API_KEY }}}
DO_API_KEY: ${{ secrets.DO_API_KEY }}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This typo means the deployment would never actually succeed, since the droplet would fail to authenticate with the container registry.

In fact this bug has been here since the existence of the action! So we haven't actually been deploying any code changes for the last two months https://github.com/statechannels/go-nitro/blame/main/.github/workflows/deploy-patsy.yml#L44.

Changes to configuration were being deployed, which made this easier to miss.

To follow up, we need to make sure the github action fails when the registry auth fails.

@geoknee geoknee changed the title Patsy fixes Fix patsy authentication code Nov 14, 2023
@lalexgap lalexgap merged commit 237037c into main Nov 14, 2023
9 checks passed
@bitwiseguy bitwiseguy self-requested a review November 14, 2023 18:10
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