Skip to content

conda-forge/infrastructure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •