aboutsummaryrefslogtreecommitdiff
path: root/.drone.yml
diff options
context:
space:
mode:
authorsilverwind2022-10-10 20:45:02 +0200
committerGitHub2022-10-10 20:45:02 +0200
commit94037ada247e8b27c7b456e1eeb9461cdb433d66 (patch)
treeb8e64f4027f9b9826f10dbd0795acbff9288f8bf /.drone.yml
parent083ac164dc10aa871294c974415f6ba9c1e0a7f5 (diff)
Hook go-licenses into tidy again (#21353)
Running it as part of the build is really unnecessary because we have a valid output file in the repo and assuming go dependencies do not change unless go.mod also changes, tidy really is the best target to run the license generation after. Also, regenerate the file as I missed to do so during the chroma update, and mark all json files in assets as generated.
Diffstat (limited to '.drone.yml')
-rw-r--r--.drone.yml16
1 files changed, 3 insertions, 13 deletions
diff --git a/.drone.yml b/.drone.yml
index 574976f6d..1e21c43f3 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -100,7 +100,7 @@ steps:
- name: checks-backend
image: golang:1.19
commands:
- - make checks-backend
+ - make --always-make checks-backend # ensure the 'go-licenses' make target runs
depends_on: [deps-backend]
volumes:
- name: deps
@@ -112,16 +112,11 @@ steps:
- make test-frontend
depends_on: [lint-frontend]
- - name: generate-frontend
- image: golang:1.19
- commands:
- - make generate-frontend
-
- name: build-frontend
image: node:18
commands:
- make frontend
- depends_on: [deps-frontend, generate-frontend]
+ depends_on: [deps-frontend]
- name: build-backend-no-gcc
image: golang:1.18 # this step is kept as the lowest version of golang that we support
@@ -549,16 +544,11 @@ steps:
commands:
- make deps-frontend
- - name: generate-frontend
- image: golang:1.18
- commands:
- - make generate-frontend
-
- name: build-frontend
image: node:18
commands:
- make frontend
- depends_on: [deps-frontend, generate-frontend]
+ depends_on: [deps-frontend]
- name: deps-backend
image: golang:1.18