run aws pipeline on new branch

pull/332/head
Frostebite 2022-02-01 20:35:50 +00:00
parent 3be5a110fb
commit 466ce66ab7
5 changed files with 8 additions and 10 deletions

View File

@ -1,7 +1,7 @@
name: Cloud Runner - AWS Tests name: Cloud Runner - AWS Tests
on: on:
push: { branches: [main, aws, remote-builder/unified-providers] } push: { branches: [main, aws, cloud-runner/unified-build-and-setup] }
env: env:
GKE_ZONE: 'us-central1' GKE_ZONE: 'us-central1'
@ -15,10 +15,8 @@ env:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: eu-west-2 AWS_DEFAULT_REGION: eu-west-2
AWS_BASE_STACK_NAME: game-ci-github-pipelines AWS_BASE_STACK_NAME: game-ci-github-pipelines
CLOUD_RUNNER_BRANCH: remote-builder/unified-providers CLOUD_RUNNER_BRANCH: cloud-runner/unified-build-and-setup
CLOUD_RUNNER_TESTS: true LICENSE: ${{ secrets.UNITY_LICENSE }}
DEBUG: true
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
jobs: jobs:
buildForAllPlatforms: buildForAllPlatforms:

View File

@ -1,7 +1,7 @@
name: Cloud Runner - K8s Tests name: Cloud Runner - K8s Tests
on: on:
push: { branches: [remote-builder/k8s, remote-builder/unified-providers] } push: { branches: [remote-builder/k8s, cloud-runner/unified-build-and-setup] }
# push: { branches: [main] } # push: { branches: [main] }
# pull_request: # pull_request:
# paths-ignore: # paths-ignore:
@ -21,7 +21,7 @@ env:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: eu-west-2 AWS_DEFAULT_REGION: eu-west-2
AWS_BASE_STACK_NAME: game-ci-github-pipelines AWS_BASE_STACK_NAME: game-ci-github-pipelines
CLOUD_RUNNER_BRANCH: remote-builder/unified-providers CLOUD_RUNNER_BRANCH: cloud-runner/unified-build-and-setup
CLOUD_RUNNER_TESTS: true CLOUD_RUNNER_TESTS: true
DEBUG: true DEBUG: true
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}

2
dist/index.js vendored
View File

@ -2938,7 +2938,7 @@ class BuildStep {
static BuildStep(image, environmentVariables, secrets) { static BuildStep(image, environmentVariables, secrets) {
return __awaiter(this, void 0, void 0, function* () { return __awaiter(this, void 0, void 0, function* () {
cloud_runner_logger_1.default.logLine(` `); cloud_runner_logger_1.default.logLine(` `);
cloud_runner_logger_1.default.logLine('Starting part 2/2 (build unity project)'); cloud_runner_logger_1.default.logLine('Starting build job');
const hooks = cloud_runner_build_command_process_1.CloudRunnerBuildCommandProcessor.getHooks().filter((x) => x.step.includes(`setup`)); const hooks = cloud_runner_build_command_process_1.CloudRunnerBuildCommandProcessor.getHooks().filter((x) => x.step.includes(`setup`));
return yield cloud_runner_state_1.CloudRunnerState.CloudRunnerProviderPlatform.runTask(cloud_runner_state_1.CloudRunnerState.buildParams.buildGuid, image, `apt-get update return yield cloud_runner_state_1.CloudRunnerState.CloudRunnerProviderPlatform.runTask(cloud_runner_state_1.CloudRunnerState.buildParams.buildGuid, image, `apt-get update
apt-get install -y -q git-lfs jq tree zip unzip nodejs -q apt-get install -y -q git-lfs jq tree zip unzip nodejs -q

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -23,7 +23,7 @@ export class BuildStep implements StepInterface {
secrets: CloudRunnerSecret[], secrets: CloudRunnerSecret[],
) { ) {
CloudRunnerLogger.logLine(` `); CloudRunnerLogger.logLine(` `);
CloudRunnerLogger.logLine('Starting part 2/2 (build unity project)'); CloudRunnerLogger.logLine('Starting build job');
const hooks = CloudRunnerBuildCommandProcessor.getHooks().filter((x) => x.step.includes(`setup`)); const hooks = CloudRunnerBuildCommandProcessor.getHooks().filter((x) => x.step.includes(`setup`));
return await CloudRunnerState.CloudRunnerProviderPlatform.runTask( return await CloudRunnerState.CloudRunnerProviderPlatform.runTask(
CloudRunnerState.buildParams.buildGuid, CloudRunnerState.buildParams.buildGuid,