Skip to content

Commit

Permalink
fix: missing drone dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorwhitney committed Feb 15, 2024
1 parent 8f4917d commit b3c630d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .drone/drone.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -601,12 +601,14 @@ local build_image_tag = '0.33.0';
path: 'loki',
},
steps: [
make('check-generated-files', container=false) { depends_on: ['clone'] },
run('clone-target-branch', commands=[
'cd ..',
'echo "cloning "$DRONE_TARGET_BRANCH ',
'git clone -b $DRONE_TARGET_BRANCH $CI_REPO_REMOTE loki-target-branch',
'cd -',
]) { depends_on: ['clone'], when: onPRs },
make('check-doc', container=false) { depends_on: ['loki'] },
make('loki', container=false) { depends_on: ['check-generated-files'] },
make('check-format', container=false, args=[
'GIT_TARGET_BRANCH="$DRONE_TARGET_BRANCH"',
Expand Down
16 changes: 15 additions & 1 deletion .drone/drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,13 @@ workspace:
kind: pipeline
name: check
steps:
- commands:
- make BUILD_IN_CONTAINER=false check-generated-files
depends_on:
- clone
environment: {}
image: grafana/loki-build-image:0.33.0
name: check-generated-files
- commands:
- cd ..
- 'echo "cloning "$DRONE_TARGET_BRANCH '
Expand All @@ -190,6 +197,13 @@ steps:
when:
event:
- pull_request
- commands:
- make BUILD_IN_CONTAINER=false check-doc
depends_on:
- loki
environment: {}
image: grafana/loki-build-image:0.33.0
name: check-doc
- commands:
- make BUILD_IN_CONTAINER=false loki
depends_on:
Expand Down Expand Up @@ -1913,6 +1927,6 @@ kind: secret
name: gpg_private_key
---
kind: signature
hmac: 07c4412faebf5affd662ec20ea50be4f89e0ad132942d7c6a76c91f7aee9facc
hmac: b098779af60b423c7c8b05a7228438e83766f42655c2291c2f61da73e17e4ff2

...

0 comments on commit b3c630d

Please sign in to comment.