Skip to content

Commit

Permalink
Drop out one of my more recent test changes.
Browse files Browse the repository at this point in the history
Signed-off-by: Callum Styan <[email protected]>
  • Loading branch information
cstyan committed Apr 17, 2022
1 parent 9c908da commit 17d2382
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 9 deletions.
16 changes: 8 additions & 8 deletions .drone/drone.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -256,14 +256,14 @@ local promtail(arch) = pipeline('promtail-' + arch) + arch_image(arch) {
local lambda_promtail(arch) = pipeline('lambda-promtail-' + arch) + arch_image(arch) {
steps+: [
// dry run for everything that is not tag or main
// lambda_promtail_ecr('lambda-promtail') {
// depends_on: ['image-tag'],
// when: condition('exclude').tagMain,
// settings+: {
// dry_run: true,
// },
// },
// ] + [
lambda_promtail_ecr('lambda-promtail') {
depends_on: ['image-tag'],
when: condition('exclude').tagMain,
settings+: {
dry_run: true,
},
},
] + [
// publish for tag or main
lambda_promtail_ecr('lambda-promtail') {
depends_on: ['image-tag'],
Expand Down
44 changes: 43 additions & 1 deletion .drone/drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1030,6 +1030,27 @@ steps:
- echo $(./tools/image-tag)-amd64 > .tags
image: alpine
name: image-tag
- depends_on:
- image-tag
image: cstyan/ecr
name: build-lambda-promtail-image
privileged: true
settings:
access_key:
from_secret: ecr_key
dockerfile: tools/lambda-promtail/Dockerfile
dry_run: true
region: us-east-1
registry: public.ecr.aws/grafana
repo: public.ecr.aws/grafana/lambda-promtail
secret_key:
from_secret: ecr_secret_key
when:
ref:
exclude:
- refs/heads/main
- refs/heads/k??
- refs/tags/v*
- depends_on:
- image-tag
image: cstyan/ecr
Expand Down Expand Up @@ -1065,6 +1086,27 @@ steps:
- echo $(./tools/image-tag)-arm64 > .tags
image: alpine
name: image-tag
- depends_on:
- image-tag
image: cstyan/ecr
name: build-lambda-promtail-image
privileged: true
settings:
access_key:
from_secret: ecr_key
dockerfile: tools/lambda-promtail/Dockerfile
dry_run: true
region: us-east-1
registry: public.ecr.aws/grafana
repo: public.ecr.aws/grafana/lambda-promtail
secret_key:
from_secret: ecr_secret_key
when:
ref:
exclude:
- refs/heads/main
- refs/heads/k??
- refs/tags/v*
- depends_on:
- image-tag
image: cstyan/ecr
Expand Down Expand Up @@ -1172,6 +1214,6 @@ kind: secret
name: deploy_config
---
kind: signature
hmac: e26d025503f2d6b6e3aed4ea3396dcbf45a0c332e30b93a968f2bca517e52385
hmac: 148248704c13a760220b6375dab1c7b498ca47dba64f9330cd75ccf6a8fd14ef

...

0 comments on commit 17d2382

Please sign in to comment.