aboutsummaryrefslogtreecommitdiff
path: root/.drone.yml
diff options
context:
space:
mode:
authorsilverwind2022-09-04 00:20:46 +0200
committerGitHub2022-09-04 00:20:46 +0200
commit49efd1fb96e70a0a2517b5183d66dba301649655 (patch)
tree16e2672c5edefb618c452960e6996030eb82aebb /.drone.yml
parent82c6f7bf4afaa064035daae6094649d47cc3bc70 (diff)
Add go licenses to licenses.txt (#21034)
`make go-licenses` will generate `assets/go-licenses.json` which is then included in the webpack build. This step depends on both go and node being present, so unfortunately, I could not automate the generation by hooking it up to `tidy` as that target is triggered on CI where we do not have a docker image with both go an node. It should be ran from time to time, ideally after each go mod update.
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml9
1 files changed, 7 insertions, 2 deletions
diff --git a/.drone.yml b/.drone.yml
index 93a471fae..a4079e8e0 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -90,7 +90,10 @@ steps:
- name: checks-backend
image: golang:1.19
commands:
+ - curl -sL https://deb.nodesource.com/setup_18.x | bash - && apt-get -qqy install nodejs
- make checks-backend
+ environment:
+ DEBIAN_FRONTEND: noninteractive
depends_on: [deps-backend]
volumes:
- name: deps
@@ -722,12 +725,13 @@ steps:
pull: always
commands:
# Upgrade to node 18 once https://github.com/techknowlogick/xgo/issues/163 is resolved
- - curl -sL https://deb.nodesource.com/setup_16.x | bash - && apt-get install -y nodejs
+ - curl -sL https://deb.nodesource.com/setup_16.x | bash - && apt-get -qqy install nodejs
- export PATH=$PATH:$GOPATH/bin
- make release
environment:
GOPROXY: https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not
TAGS: bindata sqlite sqlite_unlock_notify
+ DEBIAN_FRONTEND: noninteractive
volumes:
- name: deps
path: /go
@@ -842,12 +846,13 @@ steps:
pull: always
commands:
# Upgrade to node 18 once https://github.com/techknowlogick/xgo/issues/163 is resolved
- - curl -sL https://deb.nodesource.com/setup_16.x | bash - && apt-get install -y nodejs
+ - curl -sL https://deb.nodesource.com/setup_16.x | bash - && apt-get -qqy install nodejs
- export PATH=$PATH:$GOPATH/bin
- make release
environment:
GOPROXY: https://goproxy.io # proxy.golang.org is blocked in China, this proxy is not
TAGS: bindata sqlite sqlite_unlock_notify
+ DEBIAN_FRONTEND: noninteractive
depends_on: [fetch-tags]
volumes:
- name: deps