Skip to content

Commit

Permalink
I think this should finally fix the issues...
Browse files Browse the repository at this point in the history
  • Loading branch information
Zemnmez authored and zemnm-me-actions-admin-user-zemnmez committed Oct 24, 2023
1 parent eb9696f commit a2651d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 1 addition & 2 deletions ts/pulumi/bazel_rce/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ interface DockerFileParams {
}

const password_file_name = '.htpasswd';
const monorepo_github_name = 'zemn-me/monorepo';

function DockerFile(params: DockerFileParams) {
return `
Expand Down Expand Up @@ -383,7 +382,7 @@ export class BazelRemoteCache extends Pulumi.ComponentResource {
`${name}_actions_secret_cache_url`,
{
plaintextValue: Pulumi.interpolate`https://${username.result}:${password.result}@${record.name}`,
repository: `${monorepo_github_name}`, // error: GET https://api.github.com/repos//zemn-me/monorepo/actions/secrets/public-key: 404 Not Found []
repository: 'monorepo', // error: GET https://api.github.com/repos//zemn-me/monorepo/actions/secrets/public-key: 404 Not Found []
// ^
secretName: `BAZEL_REMOTE_CACHE_URL${
args.stage ? '_staging' : ''
Expand Down
3 changes: 3 additions & 0 deletions ts/pulumi/stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ process.env.PATH = [
pulumi_dir,
].join(':');

// for the github plugin
process.env['GITHUB_OWNER'] = 'zemn-me';

// check the binary is actually in there
if (!fs.existsSync(pulumi_binary_path)) {
throw new Error('missing pulumi binary in ' + pulumi_dir);
Expand Down

0 comments on commit a2651d0

Please sign in to comment.