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
The sync-secrets-azure pulumi project syncs secrets from the conda-forge 1password vault to Azure
- Install the 1password cli
- Export environment variables:
AZDO_PERSONAL_ACCESS_TOKEN(api token for AZURE)AZDO_ORG_SERVICE_URL(org service url for AZURE)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
.github/workflows/push-1password-secrets-to-azure
Try it out by:
- create and push a branch name following the pattern "azure-push-secrets-*" OR manually run the 1Password-to-Azure workflow
- observe the run in github action that populates secrets
The sync-secrets-gha pulumi project syncs secrets from the conda-forge 1password vault to Github
- Install the 1password cli
- Export environment variables:
GITHUB_TOKEN(permissions torepoandadmin: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
.github/workflows/push-1password-secrets-to-gha
Try it out by:
- create and push a branch name following the pattern "gha-push-secrets-*" OR manually run the 1Password-to-GHA workflow
- observe the run in github action that populates secrets
The sync-secrets-heroku pulumi project syncs secrets from the conda-forge 1password vault to Heroku
- 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
.github/workflows/push-1password-secrets-to-heroku
Try it out by:
- create and push a branch named with the pattern "heroku-push-secrets-*" OR manually run the 1Password-to-Heroku workflow
- observe the run in github action that populates secrets