@leverege/build-tools 2.62.0-alpha.3 → 2.62.0-alpha.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
CHANGED
package/src/DockerPy.mjs
CHANGED
|
@@ -184,7 +184,7 @@ async function buildContainerImage( {
|
|
|
184
184
|
setPreviousBuild( imageVersion ) // update docker/.previous file
|
|
185
185
|
|
|
186
186
|
const { fullName : builderName } = await getGcpAccount()
|
|
187
|
-
const gcloudBuild = `
|
|
187
|
+
const gcloudBuild = `gcloud builds submit --project ${artifactProject}`
|
|
188
188
|
const gcloudLogs = `--gcs-log-dir ${formCloudBuildBucketName( artifactProject )}/log`
|
|
189
189
|
let gcloudTags = `--tag ${imageName}:${imageVersion}`
|
|
190
190
|
|
|
@@ -17,7 +17,6 @@ import {
|
|
|
17
17
|
shellCmd } from './Utils.mjs'
|
|
18
18
|
|
|
19
19
|
import Docker from './DockerPy.mjs'
|
|
20
|
-
import { version } from 'node:os'
|
|
21
20
|
|
|
22
21
|
// refresh-npm-token does not throw so no need to try, but it emits in debug
|
|
23
22
|
// const refreshErr = await shellCmd( 'refresh-npm-token' )
|
|
@@ -122,8 +121,8 @@ if ( giveGuidance ) {
|
|
|
122
121
|
const registryFolder = `${artifactRegistry}/images/${containerName}`
|
|
123
122
|
|
|
124
123
|
// Update the dependencies...
|
|
125
|
-
log( chalk.green.bold( 'Updating dependencies and workspace...' ) )
|
|
126
|
-
await shellCmd( 'npm install', { stdio : 'inherit' } )
|
|
124
|
+
// log( chalk.green.bold( 'Updating dependencies and workspace...' ) )
|
|
125
|
+
// await shellCmd( 'npm install', { stdio : 'inherit' } )
|
|
127
126
|
|
|
128
127
|
if ( giveGuidance ) {
|
|
129
128
|
await Docker.repoCleanup() // adjusts gitignore files and removes cruft
|