Skip to content

Commit

Permalink
Update drone pipeline drone-tools:1.21.2
Browse files Browse the repository at this point in the history
  • Loading branch information
made2591 committed Nov 22, 2021
1 parent 5e584df commit 059160c
Showing 1 changed file with 9 additions and 25 deletions.
34 changes: 9 additions & 25 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ steps:
PLUGIN_DEPTH: 5

- name: cache-restore
image: public.ecr.aws/prima/drone-tools:1.20.1
image: public.ecr.aws/prima/drone-tools:1.21.2
commands:
- . /etc/profile.d/ecs-credentials-endpoint
- cache-restore
Expand All @@ -27,13 +27,11 @@ steps:
path: /etc/profile.d/ecs-credentials-endpoint
- name: docker
path: /var/run/docker.sock
- name: docker-conf
path: /root/.docker
depends_on:
- git-clone

- name: check-secrets
image: public.ecr.aws/prima/drone-tools:1.20.1
image: public.ecr.aws/prima/drone-tools:1.21.2
commands:
- . /etc/profile.d/ecs-credentials-endpoint
- check-secrets-grants
Expand All @@ -44,22 +42,20 @@ steps:
- git-clone

- name: check-public-docker-images
image: public.ecr.aws/prima/drone-tools:1.20.1
image: public.ecr.aws/prima/drone-tools:1.21.2
commands:
- check-public-docker-images
depends_on:
- git-clone

- name: build-image
image: public.ecr.aws/prima/drone-tools:1.20.1
image: public.ecr.aws/prima/drone-tools:1.21.2
commands:
- sed -i 's/USER app/USER root/g' ./Dockerfile
- docker build -t prima/opentelemetry_absinthe-ci:${DRONE_COMMIT} ./
volumes:
- name: docker
path: /var/run/docker.sock
- name: docker-conf
path: /root/.docker
depends_on:
- cache-restore

Expand Down Expand Up @@ -125,7 +121,7 @@ steps:
- elixir-compile

- name: cache-save
image: public.ecr.aws/prima/drone-tools:1.20.1
image: public.ecr.aws/prima/drone-tools:1.21.2
commands:
- . /etc/profile.d/ecs-credentials-endpoint
- cache-save _build deps
Expand All @@ -136,8 +132,6 @@ steps:
path: /etc/profile.d/ecs-credentials-endpoint
- name: docker
path: /var/run/docker.sock
- name: docker-conf
path: /root/.docker
when:
branch:
- master
Expand All @@ -156,9 +150,6 @@ volumes:
- name: ecs
host:
path: /etc/profile.d/ecs-credentials-endpoint
- name: docker-conf
host:
path: /home/ec2-user/.docker

trigger:
event:
Expand All @@ -182,7 +173,7 @@ steps:
PLUGIN_DEPTH: 5

- name: cache-restore
image: public.ecr.aws/prima/drone-tools:1.20.1
image: public.ecr.aws/prima/drone-tools:1.21.2
commands:
- . /etc/profile.d/ecs-credentials-endpoint
- cache-restore
Expand All @@ -193,21 +184,17 @@ steps:
path: /etc/profile.d/ecs-credentials-endpoint
- name: docker
path: /var/run/docker.sock
- name: docker-conf
path: /root/.docker
depends_on:
- git-clone

- name: build-image
image: public.ecr.aws/prima/drone-tools:1.20.1
image: public.ecr.aws/prima/drone-tools:1.21.2
commands:
- sed -i 's/USER app/USER root/g' ./Dockerfile
- docker build -t prima/opentelemetry_absinthe-ci:${DRONE_COMMIT} ./
volumes:
- name: docker
path: /var/run/docker.sock
- name: docker-conf
path: /root/.docker
depends_on:
- cache-restore

Expand All @@ -233,9 +220,6 @@ volumes:
- name: ecs
host:
path: /etc/profile.d/ecs-credentials-endpoint
- name: docker-conf
host:
path: /home/ec2-user/.docker

trigger:
event:
Expand All @@ -258,7 +242,7 @@ steps:
- name: email-failure
image: public.ecr.aws/prima/drone-email
settings:
from: noreply@prima.it
from: drone@prima.it
host: email-smtp.eu-west-1.amazonaws.com
environment:
PLUGIN_PASSWORD:
Expand All @@ -281,6 +265,6 @@ depends_on:

---
kind: signature
hmac: 436b93b9784576da80aded52aee6e819aad38a8886b6b316891d36555a774798
hmac: 0d4f706e3729aba0beddd23c33736415088bad936c3f8da58ece175cbb1f4c02

...

0 comments on commit 059160c

Please sign in to comment.