Skip to content

Commit d44be7e

Browse files
josephperrottdevversion
authored andcommitted
refactor(github-actions): move to new key (#2700)
Move to new key for bazel remote PR Close #2700
1 parent 163275a commit d44be7e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

github-actions/bazel/configure-remote/configure-remote.cjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
"use strict";(()=>{var i=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(s,c)=>(typeof require<"u"?require:s)[c]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')});var f=(e,s)=>()=>(s||e((s={exports:{}}).exports,s),s.exports);var p=e=>new Uint8Array(Buffer.from(e,"base64"));var v=f((j,m)=>{m.exports=p("M+ThJ6FvJx5X3mB3AOFdU7EhCathz6gP3c7YsHkQQiqdn1hKjQ15i/uSc07q9n/8qGhzmfoM1w5H0fMy6FTdsMFjoI9EVoWuPuxkB22UJgey1LoEj9HlIMPxubwejXuT5+JVFFueuyZrk7gNcLTZIMSUdIgz5vU2M1XatxRbqsazsF901CJ6MqmsoRDwMU2s3GWJ5FBxU4y5LvQzvV/dzBs7Wg5Xsz5Hl6+UVkDHzkmpC6fxgUv87MUm89CYXca0rZTg1e/AUFAaHWv9UoTF+bIa+mKPjwKYZ4SC/ooOwHGxnGb8cRqyvV98NLiO+9bUIOXfX8Hfvtz8CIFeMX7FGcZM4gcfrHZN1ngQecOt2qhKNFfpGyPUeTZlU7uZW+rMosnowpJ9GAltZqdcIlxeZHAZSRdz51pw4SlaCGnjq/1be4ICtqi3YNKlhSPa3ndufoomMv3uSoW8Ib8A62GgcqRo1s8zHWkFO5bE+HwMpeXRX+7rphORorvMXVgL6vC16kfANBdSjkOztcwRlXquuzod1geevg+P+lL4rMoTMXKil1sGHxEzRxeuCyikH3mgqhjRXwzVnWbo9Rpr+qJVeSb9/lNSvGlFrAp5pukZuAf8AMdB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5RmD04iFQPas32bOjLrYNQdmmFtc1w8wPYGwrsd1EVmFqCAsVoXi/6CCs2ckVkHCbNdNN7niu9ZsILPFnXVQhg0V0dviwLmazDbthE9JmDNT7xS69icDETS1rUraemeXuDshKvws9Kq17dsLMG8ChdtsS2K8h8kdXTY/PIo1Y7czJTpFSnU5ybvQmKTT4vwkZgycnBXfb1zCITmMGif3cGkDIQ5v5XPUNePmMSHw30klFhviN/mkjyXMheXOZ+x7PWxdig1x38dq3S9+6JJC9PNX9UYHbw9gaMFlkYUk7puaIvpjXiCNFudnFbrJtPqYNbpoctan78YfxZgnVWGlQ4xk=")});var w=f(t=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.iv=t.k=t.at=t.alg=void 0;var h=process.env.CIRCLE_PROJECT_USERNAME??process.env.GITHUB_REPOSITORY_OWNER;t.alg="aes-256-gcm";t.at=process.env.NGAT;t.k=h.padEnd(32,"<");t.iv="000003213213123213"});var k=f(a=>{var o=a&&a.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(a,"__esModule",{value:!0});var g=o(v()),n=w(),E=i("crypto"),l=o(i("path")),r=o(i("fs")),q=o(i("os"));async function A(e){let s=q.default.platform()==="win32",c=g.default,d=(0,E.createDecipheriv)(n.alg,n.k,n.iv).setAuthTag(Buffer.from(n.at,"base64")),y=d.update(c,void 0,"utf8")+d.final("utf8"),_=s?l.default.join(process.env.APPDATA,"gcloud/application_default_credentials.json"):l.default.join(process.env.HOME,".config/gcloud/application_default_credentials.json");if(await r.default.promises.mkdir(l.default.dirname(_),{recursive:!0}),await r.default.promises.writeFile(_,y,"utf8"),e){let u=await T(e);s?u+=`
1+
"use strict";(()=>{var i=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(s,o)=>(typeof require<"u"?require:s)[o]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')});var f=(e,s)=>()=>(s||e((s={exports:{}}).exports,s),s.ex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object.defineProperty(t,"__esModule",{value:!0});t.iv=t.k=t.at=t.alg=void 0;var w=process.env.CIRCLE_PROJECT_USERNAME??process.env.GITHUB_REPOSITORY_OWNER;t.alg="aes-256-gcm";t.at="My6YOu2Le3+lG5WAHgQp8g==";t.k=w.padEnd(32,"<");t.iv="000003213213123213"});var T=f(n=>{var c=n&&n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0});var O=c(g()),r=m(),P=i("crypto"),l=c(i("path")),a=c(i("fs")),j=c(i("os"));async function A(e){let s=j.default.platform()==="win32",o=O.default,d=(0,P.createDecipheriv)(r.alg,r.k,r.iv).setAuthTag(Buffer.from(r.at,"base64")),v=d.update(o,void 0,"utf8")+d.final("utf8"),_=s?l.default.join(process.env.APPDATA,"gcloud/application_default_credentials.json"):l.default.join(process.env.HOME,".config/gcloud/application_default_credentials.json");if(await a.default.promises.mkdir(l.default.dirname(_),{recursive:!0}),await a.default.promises.writeFile(_,v,"utf8"),e){let u=await V(e);s?u+=`
22
build --config=remote-cache`:u+=`
3-
build --config=remote`,await r.default.promises.writeFile(e,u,"utf8")}}async function T(e){try{return await r.default.promises.readFile(e,"utf8")}catch{return""}}A(process.env.BAZELRC_PATH).catch(e=>{console.error(e),process.exitCode=1})});k();})();
3+
build --config=remote`,await a.default.promises.writeFile(e,u,"utf8")}}async function V(e){try{return await a.default.promises.readFile(e,"utf8")}catch{return""}}A(process.env.BAZELRC_PATH).catch(e=>{console.error(e),process.exitCode=1})});T();})();
44
/**
55
* @license
66
* Copyright Google LLC

github-actions/bazel/configure-remote/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
const owner = (process.env.CIRCLE_PROJECT_USERNAME ?? process.env.GITHUB_REPOSITORY_OWNER)!;
1010

1111
export const alg = 'aes-256-gcm';
12-
export const at = process.env.NGAT!;
12+
export const at = 'My6YOu2Le3+lG5WAHgQp8g==';
1313
export const k = owner.padEnd(32, '<');
1414
export const iv = '000003213213123213';
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)