Skip to content

Commit

Permalink
Change the endpoint of Remap build server and specify the service acc…
Browse files Browse the repository at this point in the history
…ount.
  • Loading branch information
yoichiro committed Nov 6, 2023
1 parent 80c6333 commit f2276ae
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ import * as functions from 'firebase-functions';
const PROJECT_ID = 'remap-b2d08';
const LOCATION = 'asia-northeast1';
const QUEUE = 'build-task-queue';
const BUILD_SERVER_URL = 'https://remap-build-server-l3esb446ua-an.a.run.app';
const BUILD_SERVER_URL = 'http://35.213.40.208:8080';
const BUILD_SERVER_TASK_AUTH_SA = `remap-build-server-task-auth@${PROJECT_ID}.iam.gserviceaccount.com`;

export class CreateFirmwareBuildingTaskCommand extends AbstractCommand<IResult> {
@NeedAuthentication()
Expand Down Expand Up @@ -64,6 +65,9 @@ export class CreateFirmwareBuildingTaskCommand extends AbstractCommand<IResult>
},
httpMethod: HttpMethod.GET,
url: `${BUILD_SERVER_URL}/build?uid=${uid}&taskId=${taskId}`,
oidcToken: {
serviceAccountEmail: BUILD_SERVER_TASK_AUTH_SA,
},
},
};
const request = {
Expand Down

0 comments on commit f2276ae

Please sign in to comment.