purge cache for testing
parent
12e9304e53
commit
cf2402e754
|
|
@ -1223,6 +1223,9 @@ class AWSBuildEnvironment {
|
|||
}
|
||||
});
|
||||
}
|
||||
// static async setupPlatformResources() {
|
||||
// throw new Error('Method not implemented.');
|
||||
// }
|
||||
static getParameterTemplate(p1) {
|
||||
return `
|
||||
${p1}:
|
||||
|
|
@ -1641,6 +1644,7 @@ class RemoteBuilder {
|
|||
ParameterValue: token,
|
||||
},
|
||||
];
|
||||
// await RemoteBuilder.ProvisionPlatformResources();
|
||||
yield RemoteBuilder.SetupStep(buildUid, buildParameters, branchName, defaultSecretsArray);
|
||||
yield RemoteBuilder.BuildStep(buildUid, buildParameters, baseImage, defaultSecretsArray);
|
||||
yield RemoteBuilder.CompressionStep(buildUid, buildParameters, branchName, defaultSecretsArray);
|
||||
|
|
@ -1653,6 +1657,9 @@ class RemoteBuilder {
|
|||
}
|
||||
});
|
||||
}
|
||||
// static async ProvisionPlatformResources() {
|
||||
// await AWSBuildPlatform.setupPlatformResources();
|
||||
// }
|
||||
static DeployToSteam(buildUid, buildParameters, defaultSecretsArray) {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
core.info('Starting steam deployment');
|
||||
|
|
@ -1888,6 +1895,7 @@ class RemoteBuilder {
|
|||
echo 'Creating empty Library folder for cache'
|
||||
mkdir $libDir
|
||||
unzip -q $latest -d $libDir
|
||||
rm -r $libDir
|
||||
else
|
||||
echo 'Cache does not exist'
|
||||
fi
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -41,6 +41,10 @@ class AWSBuildEnvironment {
|
|||
}
|
||||
}
|
||||
|
||||
// static async setupPlatformResources() {
|
||||
// throw new Error('Method not implemented.');
|
||||
// }
|
||||
|
||||
static getParameterTemplate(p1) {
|
||||
return `
|
||||
${p1}:
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ class RemoteBuilder {
|
|||
ParameterValue: token,
|
||||
},
|
||||
];
|
||||
// await RemoteBuilder.ProvisionPlatformResources();
|
||||
await RemoteBuilder.SetupStep(buildUid, buildParameters, branchName, defaultSecretsArray);
|
||||
await RemoteBuilder.BuildStep(buildUid, buildParameters, baseImage, defaultSecretsArray);
|
||||
await RemoteBuilder.CompressionStep(buildUid, buildParameters, branchName, defaultSecretsArray);
|
||||
|
|
@ -33,6 +34,9 @@ class RemoteBuilder {
|
|||
core.error(error);
|
||||
}
|
||||
}
|
||||
// static async ProvisionPlatformResources() {
|
||||
// await AWSBuildPlatform.setupPlatformResources();
|
||||
// }
|
||||
|
||||
private static async DeployToSteam(
|
||||
buildUid: string,
|
||||
|
|
@ -336,6 +340,7 @@ class RemoteBuilder {
|
|||
echo 'Creating empty Library folder for cache'
|
||||
mkdir $libDir
|
||||
unzip -q $latest -d $libDir
|
||||
rm -r $libDir
|
||||
else
|
||||
echo 'Cache does not exist'
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue