mirror of https://github.com/grafana/grafana.git
Chore: Set min node version in package.json to 16 (#41423)
* Update package.json * Update build-container version * Sign drone * Update developer-guide * kick drone Co-authored-by: dsotirakis <sotirakis.dim@gmail.com> Co-authored-by: Dimitris Sotirakis <dimitrios.sotirakis@grafana.com> Co-authored-by: kay delaney <kay@grafana.com>
This commit is contained in:
parent
fc3d3ff003
commit
ed030f9c21
374
.drone.yml
374
.drone.yml
File diff suppressed because it is too large
Load Diff
|
@ -20,7 +20,7 @@ We recommend using [Homebrew](https://brew.sh/) for installing any missing depen
|
||||||
```
|
```
|
||||||
brew install git
|
brew install git
|
||||||
brew install go
|
brew install go
|
||||||
brew install node@14
|
brew install node@16
|
||||||
npm install -g yarn
|
npm install -g yarn
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -375,7 +375,7 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">= 14"
|
"node": ">= 16"
|
||||||
},
|
},
|
||||||
"packageManager": "yarn@3.1.0"
|
"packageManager": "yarn@3.1.0"
|
||||||
}
|
}
|
||||||
|
|
|
@ -113,7 +113,7 @@ FROM debian:stretch-20210208
|
||||||
ENV GOVERSION=1.17 \
|
ENV GOVERSION=1.17 \
|
||||||
PATH=/usr/local/go/bin:$PATH \
|
PATH=/usr/local/go/bin:$PATH \
|
||||||
GOPATH=/go \
|
GOPATH=/go \
|
||||||
NODEVERSION=14.18.1-1nodesource1 \
|
NODEVERSION=16.13.0-1nodesource1 \
|
||||||
YARNVERSION=1.22.15-1
|
YARNVERSION=1.22.15-1
|
||||||
|
|
||||||
# Use ARG so as not to persist environment variable in image
|
# Use ARG so as not to persist environment variable in image
|
||||||
|
@ -148,7 +148,7 @@ RUN apt-get update && \
|
||||||
unzip && \
|
unzip && \
|
||||||
gem install -N fpm && \
|
gem install -N fpm && \
|
||||||
ln -s /usr/bin/llvm-dsymutil-6.0 /usr/bin/dsymutil && \
|
ln -s /usr/bin/llvm-dsymutil-6.0 /usr/bin/dsymutil && \
|
||||||
curl -fsL https://deb.nodesource.com/setup_14.x | bash - && \
|
curl -fsL https://deb.nodesource.com/setup_16.x | bash - && \
|
||||||
apt-get update && apt-get install -yq nodejs=${NODEVERSION} && \
|
apt-get update && apt-get install -yq nodejs=${NODEVERSION} && \
|
||||||
curl -fsS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
|
curl -fsS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
|
||||||
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
|
echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -eo pipefail
|
set -eo pipefail
|
||||||
|
|
||||||
_version="1.4.5"
|
_version="1.4.6"
|
||||||
_tag="grafana/build-container:${_version}"
|
_tag="grafana/build-container:${_version}"
|
||||||
|
|
||||||
_dpath=$(dirname "${BASH_SOURCE[0]}")
|
_dpath=$(dirname "${BASH_SOURCE[0]}")
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
load('scripts/drone/vault.star', 'from_secret', 'github_token', 'pull_secret', 'drone_token')
|
load('scripts/drone/vault.star', 'from_secret', 'github_token', 'pull_secret', 'drone_token')
|
||||||
|
|
||||||
grabpl_version = '2.5.5'
|
grabpl_version = '2.5.5'
|
||||||
build_image = 'grafana/build-container:1.4.4'
|
build_image = 'grafana/build-container:1.4.5'
|
||||||
publish_image = 'grafana/grafana-ci-deploy:1.3.1'
|
publish_image = 'grafana/grafana-ci-deploy:1.3.1'
|
||||||
grafana_docker_image = 'grafana/drone-grafana-docker:0.3.2'
|
grafana_docker_image = 'grafana/drone-grafana-docker:0.3.2'
|
||||||
deploy_docker_image = 'us.gcr.io/kubernetes-dev/drone/plugins/deploy-image'
|
deploy_docker_image = 'us.gcr.io/kubernetes-dev/drone/plugins/deploy-image'
|
||||||
|
|
Loading…
Reference in New Issue