@leverege/build-tools 2.62.0-alpha.2 → 2.62.0-alpha.4

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leverege/build-tools",
3
- "version": "2.62.0-alpha.2",
3
+ "version": "2.62.0-alpha.4",
4
4
  "description": "A collection of build / support tools for Leverege developers",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -23,7 +23,7 @@
23
23
  "dirty-git": "src/dirty-git.sh",
24
24
  "dockreate": "src/dockreate.sh",
25
25
  "docker-to-registry": "src/docker-to-registry.mjs",
26
- "docker-to-registry-py": "src/docker-to-registry.mjs",
26
+ "docker-to-registry-py": "src/docker-to-registry-py.mjs",
27
27
  "docker-to-registry.sh": "src/docker-to-registry.sh",
28
28
  "encrypt-secrets": "src/encrypt-secrets.sh",
29
29
  "firebaseDeploy": "src/firebaseDeploy.mjs",
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 = `time gcloud builds submit --project ${artifactProject}`
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
 
@@ -20,10 +20,10 @@ import Docker from './DockerPy.mjs'
20
20
  import { version } from 'node:os'
21
21
 
22
22
  // refresh-npm-token does not throw so no need to try, but it emits in debug
23
- const refreshErr = await shellCmd( 'refresh-npm-token' )
24
- if ( refreshErr && !process.env.BUILD_TOOLS_DEBUG ) {
25
- log( refreshErr ) // most likely the token refreshed message
26
- }
23
+ // const refreshErr = await shellCmd( 'refresh-npm-token' )
24
+ // if ( refreshErr && !process.env.BUILD_TOOLS_DEBUG ) {
25
+ // log( refreshErr ) // most likely the token refreshed message
26
+ // }
27
27
 
28
28
  const options = {}
29
29
  let imageVersion = null
@@ -6,7 +6,7 @@ FROM {{image}} as intermediate
6
6
  ARG BUILD_ENV="{{buildEnv}}"
7
7
 
8
8
  RUN apt-get update && apt-get install -y \
9
- wget
9
+ wget git
10
10
  # gcc \
11
11
  # git \
12
12
  # libgl1 \