@leverege/build-tools 2.96.3 → 2.96.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/bash-funcs +1 -0
- package/src/gcp-snapshots.mjs +2 -1
package/package.json
CHANGED
package/src/bash-funcs
CHANGED
|
@@ -271,6 +271,7 @@ EOSLACK
|
|
|
271
271
|
function ifPluggedIn() {
|
|
272
272
|
local INVOKED_AS=`basename $0`
|
|
273
273
|
local PLUGIN=
|
|
274
|
+
HELMUP="helm upgrade --install $SERVICE $CHARTLOC -f $SERVICE/values.yaml $CHARTVER $HELM_WHAT"
|
|
274
275
|
case "$INVOKED_AS" in
|
|
275
276
|
"helmup"|"helmwhat"|"helmcycle" )
|
|
276
277
|
PLUGIN="$1/helmup.plugin"
|
package/src/gcp-snapshots.mjs
CHANGED
|
@@ -128,10 +128,11 @@ const deleteSnapshots = async ( { compute, projectId, snapshots } ) => {
|
|
|
128
128
|
|
|
129
129
|
for ( const s of snapshots ) {
|
|
130
130
|
const name = s.name
|
|
131
|
+
const tstamp = s.creationTimestamp.replace( 'T', ' ' ).replace( 'Z', '' )
|
|
131
132
|
if ( !name ) continue
|
|
132
133
|
|
|
133
134
|
try {
|
|
134
|
-
log( `- deleting: ${name}` )
|
|
135
|
+
log( `- deleting: ${tstamp} - ${name}` )
|
|
135
136
|
// eslint-disable-next-line no-await-in-loop
|
|
136
137
|
await compute.snapshots.delete( {
|
|
137
138
|
project : projectId,
|