@leverege/build-tools 2.93.6 → 2.93.8
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.93.
|
|
3
|
+
"version": "2.93.8",
|
|
4
4
|
"description": "A collection of build / support tools for Leverege developers",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": {
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"glob": "^13.0.0",
|
|
83
83
|
"handlebars": "^4.7.8",
|
|
84
84
|
"ignore": "^7.0.5",
|
|
85
|
-
"inquirer": "^
|
|
85
|
+
"inquirer": "^13.1.0",
|
|
86
86
|
"js-yaml": "^4.1.1",
|
|
87
87
|
"jsdoc": "^4.0.5",
|
|
88
88
|
"ms": "^2.1.3",
|
|
@@ -105,4 +105,4 @@
|
|
|
105
105
|
"mocha": "^11.7.5",
|
|
106
106
|
"npm": "^11.7.0"
|
|
107
107
|
}
|
|
108
|
-
}
|
|
108
|
+
}
|
package/src/Docker.mjs
CHANGED
|
@@ -17,8 +17,14 @@ import {
|
|
|
17
17
|
|
|
18
18
|
const DIRNAME = path.dirname( url.fileURLToPath( import.meta.url ) )
|
|
19
19
|
|
|
20
|
-
// TODO:
|
|
21
|
-
|
|
20
|
+
// TODO: This is a temporary band-aid while we assess the impact of the yarn
|
|
21
|
+
// and/or CI pipeline transition. This will at least allow us to lock down the
|
|
22
|
+
// specific versions of node/npm and facilitate testing via the env vars.
|
|
23
|
+
//
|
|
24
|
+
// See the latest docker images here => https://hub.docker.com/_/node
|
|
25
|
+
//
|
|
26
|
+
const dockerfileNodeVersion = process.env.DOCKER_BUILD_NODE_VERSION || '22.21.1-alpine3.23' // TODO: 1/1/26 => '24.12.0-alpine3.23'
|
|
27
|
+
const dockerfileNpmVersion = process.env.DOCKER_BUILD_NPM_VERSION || '11.6.0'
|
|
22
28
|
|
|
23
29
|
// The contents of these variables were initially located in files that live in
|
|
24
30
|
// the build-tools repository, but it just became simpler to pull the contents
|
|
@@ -55,7 +61,7 @@ const defaultSettings = {
|
|
|
55
61
|
nodeimage : 'jod-alpine',
|
|
56
62
|
imageBase : 'node:jod-alpine',
|
|
57
63
|
npmlogging : process.env.VERBOSE_NPM_LOGGING ? '--ddd' : '--silent',
|
|
58
|
-
npmVersion :
|
|
64
|
+
npmVersion : `npm@${dockerfileNpmVersion}`,
|
|
59
65
|
pluginfile : '# NO PLUGIN',
|
|
60
66
|
preInstallPluginfile : '# NO PRE-INSTALL PLUGIN',
|
|
61
67
|
regvers : 'package.version',
|
package/src/Utils.mjs
CHANGED
|
@@ -493,7 +493,7 @@ export const parseHelmChart = async ( helmroot = './helm' ) => {
|
|
|
493
493
|
|
|
494
494
|
// See if this is a leaf chart and whether or not dependencies need updating
|
|
495
495
|
const hasDependencies = chartYaml.dependencies !== undefined
|
|
496
|
-
let depsOutOfSync
|
|
496
|
+
let depsOutOfSync = hasDependencies // assume unsynced if dependencies
|
|
497
497
|
if ( chartFiles.includes( 'Chart.lock' ) ) {
|
|
498
498
|
const chartLock = YAML.load( fs.readFileSync( `${helmroot}/Chart.lock`, 'utf8' ) )
|
|
499
499
|
// Using Object.fromEntries will be able to handle multiple dependencies if ever needed
|
|
@@ -8,14 +8,14 @@ showInstalling "The Prometheus Operator (kube-prometheus-stack)"
|
|
|
8
8
|
|
|
9
9
|
# https://artifacthub.io/packages/helm/prometheus-community/kube-prometheus-stack
|
|
10
10
|
OCI_CHART="oci://ghcr.io/prometheus-community/charts/kube-prometheus-stack"
|
|
11
|
-
[ -z "$PROMETHEUS_STACK_CHART_VERSION" ] && PROMETHEUS_STACK_CHART_VERSION="80.
|
|
11
|
+
[ -z "$PROMETHEUS_STACK_CHART_VERSION" ] && PROMETHEUS_STACK_CHART_VERSION="80.4.1"
|
|
12
12
|
helm upgrade $NS --install prometheus-stack $OCI_CHART \
|
|
13
13
|
--values prom-operator/prometheus-stack.yaml \
|
|
14
14
|
--version $PROMETHEUS_STACK_CHART_VERSION $HELM_WHAT
|
|
15
15
|
|
|
16
16
|
# https://artifacthub.io/packages/helm/prometheus-community/prometheus-elasticsearch-exporter
|
|
17
17
|
showInstalling "The Elasticsearch Exporter (prom-operator ES metrics exports)"
|
|
18
|
-
[ -z "$ELASTICSEARCH_EXPORTER_CHART_VERSION" ] && ELASTICSEARCH_EXPORTER_CHART_VERSION="7.2.
|
|
18
|
+
[ -z "$ELASTICSEARCH_EXPORTER_CHART_VERSION" ] && ELASTICSEARCH_EXPORTER_CHART_VERSION="7.2.1"
|
|
19
19
|
OCI_CHART="oci://ghcr.io/prometheus-community/charts/prometheus-elasticsearch-exporter"
|
|
20
20
|
helm upgrade $NS --install elasticsearch8-exporter $OCI_CHART \
|
|
21
21
|
--values prom-operator/elasticsearch-exporter.yaml \
|
package/.vscode/settings.json
DELETED