fixing error handling
parent
09d225993b
commit
c31e3d7664
|
|
@ -54,6 +54,7 @@ jobs:
|
||||||
- uses: actions/setup-node@v2
|
- uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: 12.x
|
node-version: 12.x
|
||||||
|
- run: touch $GCP_LOG_FILE && tail -f $GCP_LOG_FILE | xargs -d '\n' -I{} gcloud logging write game-ci "{}" &
|
||||||
- run: yarn
|
- run: yarn
|
||||||
- run: yarn run cli --help
|
- run: yarn run cli --help
|
||||||
- run: yarn run test-i-aws
|
- run: yarn run test-i-aws
|
||||||
|
|
@ -78,7 +79,6 @@ jobs:
|
||||||
AWS_DEFAULT_REGION: eu-west-2
|
AWS_DEFAULT_REGION: eu-west-2
|
||||||
DEBUG: true
|
DEBUG: true
|
||||||
GCP_LOG_FILE: ${{ github.workspace }}/cloud-runner-logs
|
GCP_LOG_FILE: ${{ github.workspace }}/cloud-runner-logs
|
||||||
INIT_HOOK: touch $GCP_LOG_FILE && tail -f $GCP_LOG_FILE | xargs -d '\n' -I{} gcloud logging write game-ci "{}"
|
|
||||||
with:
|
with:
|
||||||
cloudRunnerCluster: aws
|
cloudRunnerCluster: aws
|
||||||
versioning: None
|
versioning: None
|
||||||
|
|
|
||||||
|
|
@ -62,6 +62,7 @@ export class SetupCloudRunnerRepository {
|
||||||
}
|
}
|
||||||
|
|
||||||
private static async pullLatestLFS() {
|
private static async pullLatestLFS() {
|
||||||
|
await CloudRunnerSystem.Run(`ls -lh ${CloudRunnerState.lfsDirectoryFull}/..`);
|
||||||
process.chdir(CloudRunnerState.repoPathFull);
|
process.chdir(CloudRunnerState.repoPathFull);
|
||||||
await CloudRunnerSystem.Run(`git lfs pull`);
|
await CloudRunnerSystem.Run(`git lfs pull`);
|
||||||
RemoteClientLogger.log(`pulled latest LFS files`);
|
RemoteClientLogger.log(`pulled latest LFS files`);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue