mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Drone: Fix order of steps (#27076)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
68
.drone.yml
68
.drone.yml
@@ -62,23 +62,6 @@ steps:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- initialize
|
- initialize
|
||||||
|
|
||||||
- name: build-backend
|
|
||||||
image: grafana/build-container:1.2.24
|
|
||||||
commands:
|
|
||||||
- ./bin/grabpl build-backend --jobs 8 --edition oss --build-id $DRONE_BUILD_NUMBER --variants linux-x64,linux-x64-musl,osx64,win64 --no-pull-enterprise
|
|
||||||
depends_on:
|
|
||||||
- initialize
|
|
||||||
- lint-backend
|
|
||||||
- test-backend
|
|
||||||
|
|
||||||
- name: build-frontend
|
|
||||||
image: grafana/build-container:1.2.24
|
|
||||||
commands:
|
|
||||||
- ./bin/grabpl build-frontend --jobs 8 --no-install-deps --edition oss --build-id $DRONE_BUILD_NUMBER --no-pull-enterprise
|
|
||||||
depends_on:
|
|
||||||
- initialize
|
|
||||||
- test-frontend
|
|
||||||
|
|
||||||
- name: test-backend
|
- name: test-backend
|
||||||
image: grafana/build-container:1.2.24
|
image: grafana/build-container:1.2.24
|
||||||
commands:
|
commands:
|
||||||
@@ -100,6 +83,23 @@ steps:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- initialize
|
- initialize
|
||||||
|
|
||||||
|
- name: build-backend
|
||||||
|
image: grafana/build-container:1.2.24
|
||||||
|
commands:
|
||||||
|
- ./bin/grabpl build-backend --jobs 8 --edition oss --build-id $DRONE_BUILD_NUMBER --variants linux-x64,linux-x64-musl,osx64,win64 --no-pull-enterprise
|
||||||
|
depends_on:
|
||||||
|
- initialize
|
||||||
|
- lint-backend
|
||||||
|
- test-backend
|
||||||
|
|
||||||
|
- name: build-frontend
|
||||||
|
image: grafana/build-container:1.2.24
|
||||||
|
commands:
|
||||||
|
- ./bin/grabpl build-frontend --jobs 8 --no-install-deps --edition oss --build-id $DRONE_BUILD_NUMBER --no-pull-enterprise
|
||||||
|
depends_on:
|
||||||
|
- initialize
|
||||||
|
- test-frontend
|
||||||
|
|
||||||
- name: build-plugins
|
- name: build-plugins
|
||||||
image: grafana/build-container:1.2.24
|
image: grafana/build-container:1.2.24
|
||||||
commands:
|
commands:
|
||||||
@@ -289,23 +289,6 @@ steps:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- initialize
|
- initialize
|
||||||
|
|
||||||
- name: build-backend
|
|
||||||
image: grafana/build-container:1.2.24
|
|
||||||
commands:
|
|
||||||
- ./bin/grabpl build-backend --jobs 8 --edition oss --build-id $DRONE_BUILD_NUMBER
|
|
||||||
depends_on:
|
|
||||||
- initialize
|
|
||||||
- lint-backend
|
|
||||||
- test-backend
|
|
||||||
|
|
||||||
- name: build-frontend
|
|
||||||
image: grafana/build-container:1.2.24
|
|
||||||
commands:
|
|
||||||
- ./bin/grabpl build-frontend --jobs 8 --no-install-deps --edition oss --build-id $DRONE_BUILD_NUMBER --no-pull-enterprise
|
|
||||||
depends_on:
|
|
||||||
- initialize
|
|
||||||
- test-frontend
|
|
||||||
|
|
||||||
- name: test-backend
|
- name: test-backend
|
||||||
image: grafana/build-container:1.2.24
|
image: grafana/build-container:1.2.24
|
||||||
commands:
|
commands:
|
||||||
@@ -327,6 +310,23 @@ steps:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- initialize
|
- initialize
|
||||||
|
|
||||||
|
- name: build-backend
|
||||||
|
image: grafana/build-container:1.2.24
|
||||||
|
commands:
|
||||||
|
- ./bin/grabpl build-backend --jobs 8 --edition oss --build-id $DRONE_BUILD_NUMBER
|
||||||
|
depends_on:
|
||||||
|
- initialize
|
||||||
|
- lint-backend
|
||||||
|
- test-backend
|
||||||
|
|
||||||
|
- name: build-frontend
|
||||||
|
image: grafana/build-container:1.2.24
|
||||||
|
commands:
|
||||||
|
- ./bin/grabpl build-frontend --jobs 8 --no-install-deps --edition oss --build-id $DRONE_BUILD_NUMBER --no-pull-enterprise
|
||||||
|
depends_on:
|
||||||
|
- initialize
|
||||||
|
- test-frontend
|
||||||
|
|
||||||
- name: build-plugins
|
- name: build-plugins
|
||||||
image: grafana/build-container:1.2.24
|
image: grafana/build-container:1.2.24
|
||||||
commands:
|
commands:
|
||||||
|
|||||||
@@ -32,10 +32,10 @@ def pr_pipelines(edition):
|
|||||||
lint_backend_step(edition),
|
lint_backend_step(edition),
|
||||||
codespell_step(),
|
codespell_step(),
|
||||||
shellcheck_step(),
|
shellcheck_step(),
|
||||||
build_backend_step(edition=edition, variants=variants),
|
|
||||||
build_frontend_step(edition=edition),
|
|
||||||
test_backend_step(),
|
test_backend_step(),
|
||||||
test_frontend_step(),
|
test_frontend_step(),
|
||||||
|
build_backend_step(edition=edition, variants=variants),
|
||||||
|
build_frontend_step(edition=edition),
|
||||||
build_plugins_step(edition=edition),
|
build_plugins_step(edition=edition),
|
||||||
package_step(edition=edition, variants=variants),
|
package_step(edition=edition, variants=variants),
|
||||||
e2e_tests_server_step(),
|
e2e_tests_server_step(),
|
||||||
@@ -81,10 +81,10 @@ def master_pipelines(edition):
|
|||||||
lint_backend_step(edition),
|
lint_backend_step(edition),
|
||||||
codespell_step(),
|
codespell_step(),
|
||||||
shellcheck_step(),
|
shellcheck_step(),
|
||||||
build_backend_step(edition=edition),
|
|
||||||
build_frontend_step(edition=edition),
|
|
||||||
test_backend_step(),
|
test_backend_step(),
|
||||||
test_frontend_step(),
|
test_frontend_step(),
|
||||||
|
build_backend_step(edition=edition),
|
||||||
|
build_frontend_step(edition=edition),
|
||||||
build_plugins_step(edition=edition),
|
build_plugins_step(edition=edition),
|
||||||
package_step(edition=edition),
|
package_step(edition=edition),
|
||||||
e2e_tests_server_step(),
|
e2e_tests_server_step(),
|
||||||
|
|||||||
Reference in New Issue
Block a user