@leverege/build-tools 2.61.4 → 2.61.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/Docker.mjs +1 -1
- package/src/Utils.mjs +4 -0
package/package.json
CHANGED
package/src/Docker.mjs
CHANGED
|
@@ -203,7 +203,7 @@ const buildContainerImage = async ( {
|
|
|
203
203
|
setPreviousBuild( imageVersion ) // update docker/.previous file
|
|
204
204
|
|
|
205
205
|
const { fullName : builderName } = await getGcpAccount()
|
|
206
|
-
const gcloudBuild = `
|
|
206
|
+
const gcloudBuild = `gcloud builds submit --project ${artifactProject}`
|
|
207
207
|
const gcloudLogs = `--gcs-log-dir ${formCloudBuildBucketName( artifactProject )}/log`
|
|
208
208
|
let gcloudTags = `--tag ${imageName}:${imageVersion}`
|
|
209
209
|
|
package/src/Utils.mjs
CHANGED
|
@@ -54,6 +54,10 @@ export const isString = ( s ) => {
|
|
|
54
54
|
* General "yes" to proceed function.
|
|
55
55
|
*/
|
|
56
56
|
export const proceed = async ( query = 'Do you wish to proceed?' ) => {
|
|
57
|
+
if ( process.env.CICD_PIPELINE === '1' ) {
|
|
58
|
+
log( '\n*** CICD Pipeline - skipping user prompts' )
|
|
59
|
+
return
|
|
60
|
+
}
|
|
57
61
|
await inquirer.prompt( [
|
|
58
62
|
{
|
|
59
63
|
type : 'confirm',
|