Skip to content

Latest commit

 

History

History
67 lines (49 loc) · 2.31 KB

README.md

File metadata and controls

67 lines (49 loc) · 2.31 KB

conda-forge infrastructure

This repository holds common configurations and settings for key pieces of the conda-forge infrastructure.

Note

This is not a forum for end-user questions

Sync-secrets-gha

The sync-secrets-gha pulumi project syncs secrets from the conda-forge 1password vault to Github

Running locally

  • Install the 1password cli
  • Export environment variables:
    • GITHUB_TOKEN (permissions to repo and admin:org)
    • OP_SERVICE_ACCOUNT_TOKEN (token for 1password service account)
  • Setup pulumi (only needs to be run once)
$ pulumi install
$ pulumi plugin install resource onepassword --server github://api.github.com/1Password/pulumi-onepassword
  • Apply changes
$ pulumi up

Try it out with GHA

.github/workflows/push-1password-secrets-to-gha

Try it out by:

  • create and push a branch names with following the pattern "push-secrets-*" OR manually run the workflow
  • observe the run in github action that populates secrets

Sync-secrets-heroku

The sync-secrets-heroku pulumi project syncs secrets from the conda-forge 1password vault to Heroku

Running locally

  • Install the 1password cli
  • Export environment variables:
    • HEROKU_API_KEY (api token for heroku)
    • OP_SERVICE_ACCOUNT_TOKEN (token for 1password service account)
  • Setup pulumi (only needs to be run once)
$ pulumi install
$ pulumi plugin install resource onepassword --server github://api.github.com/1Password/pulumi-onepassword
  • Apply changes
$ pulumi up

Try it out with GHA

.github/workflows/push-1password-secrets-to-gha

Try it out by:

  • create and push a branch names with following the pattern "push-secrets-*" OR manually run the workflow
  • observe the run in github action that populates secrets

Sponsored by Pulumi