-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: consume pulumi environment (#99)
* feat: consume pulumi environment * fix: don't nest * feat: add environment to core-infra * feat: get github token from environment instead of bjerk bot * fix: refer to github config when retrieving values * fix: import github token * fix: update dead repository reference * fix: remove basssene * fix: revert bassene nuking * fix: remove bassene * feat: retrieve tokens for individual orgs
- Loading branch information
Showing
15 changed files
with
27 additions
and
50 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
config: | ||
environment: | ||
- secrets |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
config: | ||
gcp:project: bjerk-io | ||
environment: | ||
- secrets |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
import * as github from '@pulumi/github'; | ||
import { bjerkBotGitHubToken } from './stack-refs'; | ||
import * as pulumi from '@pulumi/pulumi'; | ||
|
||
const config = new pulumi.Config('github'); | ||
|
||
export const githubProvider = new github.Provider('gh-provider', { | ||
owner: 'bjerkio', | ||
token: bjerkBotGitHubToken, | ||
token: config.requireSecret('token'), | ||
}); |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
import './bassene-web'; | ||
import './flexisoft'; | ||
import './abax-vwfs'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import * as github from '@pulumi/github'; | ||
import { bjerkBotGitHubToken } from '../stack-refs'; | ||
import { githubToken } from '../config'; | ||
|
||
export const provider = new github.Provider('github-provider', { | ||
token: bjerkBotGitHubToken, | ||
token: githubToken, | ||
}); |
This file was deleted.
Oops, something went wrong.