From 059160ca040c3dda5378003e4707d1a3b597dfc2 Mon Sep 17 00:00:00 2001 From: Matteo Madeddu Date: Mon, 22 Nov 2021 10:37:48 +0100 Subject: [PATCH] Update drone pipeline drone-tools:1.21.2 --- .drone.yml | 34 +++++++++------------------------- 1 file changed, 9 insertions(+), 25 deletions(-) diff --git a/.drone.yml b/.drone.yml index 55bf207..b4561c8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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: @@ -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 @@ -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 @@ -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: @@ -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: @@ -281,6 +265,6 @@ depends_on: --- kind: signature -hmac: 436b93b9784576da80aded52aee6e819aad38a8886b6b316891d36555a774798 +hmac: 0d4f706e3729aba0beddd23c33736415088bad936c3f8da58ece175cbb1f4c02 ...