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: update secrets location for GITHUB_PEM #3868

Merged
merged 1 commit into from
May 1, 2024

Conversation

matthewelwell
Copy link
Contributor

Thanks for submitting a PR! Please check the boxes below:

  • I have run pre-commit to check linting
  • I have added information to docs/ if required so people know about the feature!
  • I have filled in the "Changes" section below?
  • I have filled in the "How did you test this code" section below?
  • I have used a Conventional Commit title for this Pull Request

Changes

In order to store / read the Private Key for the Github integration, it was necessary to store it in its own secret, rather than the JSON formatted secret which stores the rest of the secrets for the API.

The alternative (which I did consider) was to base64 encode the private key and then decode it in when we load it from the environment variable, but I figured that to be overkill.

How did you test this code?

I updated the task definition in staging manually and confirmed that the deployment succeeded.

@matthewelwell matthewelwell requested review from a team and khvn26 and removed request for a team May 1, 2024 15:42
Copy link

vercel bot commented May 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview May 1, 2024 3:42pm
flagsmith-frontend-preview ✅ Ready (Inspect) Visit Preview May 1, 2024 3:42pm
flagsmith-frontend-staging ✅ Ready (Inspect) Visit Preview May 1, 2024 3:42pm

Copy link
Contributor

github-actions bot commented May 1, 2024

Uffizzi Preview deployment-51112 was deleted.

@matthewelwell matthewelwell added this pull request to the merge queue May 1, 2024
Merged via the queue into main with commit 6e8d7b7 May 1, 2024
9 checks passed
@matthewelwell matthewelwell deleted the fix/github-pem-secrets-location branch May 1, 2024 15:52
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