Drone: Always pass --no-pull-enterprise (#27108)

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
Arve Knudsen 2020-08-20 19:42:39 +02:00 committed by GitHub
parent 04249ae7ad
commit 34d9191ca7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -312,7 +312,7 @@ steps:
- name: build-backend
image: grafana/build-container:1.2.24
commands:
- ./bin/grabpl build-backend --jobs 8 --edition oss --build-id $DRONE_BUILD_NUMBER
- ./bin/grabpl build-backend --jobs 8 --edition oss --build-id $DRONE_BUILD_NUMBER --no-pull-enterprise
depends_on:
- initialize
- lint-backend

View File

@ -289,7 +289,7 @@ def publish_storybook_step(edition):
def build_backend_step(edition, variants=None):
if variants:
variants_str = ' --variants {} --no-pull-enterprise'.format(','.join(variants))
variants_str = ' --variants {}'.format(','.join(variants))
else:
variants_str = ''
return {
@ -302,7 +302,7 @@ def build_backend_step(edition, variants=None):
],
'commands': [
# TODO: Convert number of jobs to percentage
'./bin/grabpl build-backend --jobs 8 --edition {} --build-id $DRONE_BUILD_NUMBER{}'.format(
'./bin/grabpl build-backend --jobs 8 --edition {} --build-id $DRONE_BUILD_NUMBER{} --no-pull-enterprise'.format(
edition, variants_str
),
],