From 2c23f800aa8b7b1b3c40a2bcd42b99e6240d73de Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sat, 16 Jan 2021 15:45:38 +0100 Subject: [PATCH] remove unnecessary docker_config secret from drone config --- .drone.jsonnet | 10 ---------- .drone.yml | 47 +---------------------------------------------- 2 files changed, 1 insertion(+), 56 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index 7209a47..518fefb 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -17,7 +17,6 @@ local PythonVersion(pyversion='3.6') = { local PipelineLint = { kind: 'pipeline', - image_pull_secrets: ['docker_config'], name: 'lint', platform: { os: 'linux', @@ -58,7 +57,6 @@ local PipelineLint = { local PipelineTest = { kind: 'pipeline', - image_pull_secrets: ['docker_config'], name: 'test', platform: { os: 'linux', @@ -87,7 +85,6 @@ local PipelineTest = { local PipelineSecurity = { kind: 'pipeline', - image_pull_secrets: ['docker_config'], name: 'security', platform: { os: 'linux', @@ -118,7 +115,6 @@ local PipelineSecurity = { local PipelineBuildPackage = { kind: 'pipeline', - image_pull_secrets: ['docker_config'], name: 'build-package', platform: { os: 'linux', @@ -182,7 +178,6 @@ local PipelineBuildPackage = { local PipelineBuildContainer(arch='amd64') = { kind: 'pipeline', - image_pull_secrets: ['docker_config'], name: 'build-container-' + arch, platform: { os: 'linux', @@ -202,7 +197,6 @@ local PipelineBuildContainer(arch='amd64') = { name: 'dryrun', image: 'plugins/docker:19', settings: { - config: { from_secret: 'docker_config' }, dry_run: true, dockerfile: 'docker/Dockerfile.' + arch, repo: 'thegeeklab/${DRONE_REPO_NAME}', @@ -218,7 +212,6 @@ local PipelineBuildContainer(arch='amd64') = { name: 'publish-dockerhub', image: 'plugins/docker:19', settings: { - config: { from_secret: 'docker_config' }, auto_tag: true, auto_tag_suffix: arch, dockerfile: 'docker/Dockerfile.' + arch, @@ -235,7 +228,6 @@ local PipelineBuildContainer(arch='amd64') = { name: 'publish-quay', image: 'plugins/docker:19', settings: { - config: { from_secret: 'docker_config' }, auto_tag: true, auto_tag_suffix: arch, dockerfile: 'docker/Dockerfile.' + arch, @@ -260,7 +252,6 @@ local PipelineBuildContainer(arch='amd64') = { local PipelineDocs = { kind: 'pipeline', - image_pull_secrets: ['docker_config'], name: 'docs', platform: { os: 'linux', @@ -364,7 +355,6 @@ local PipelineDocs = { local PipelineNotifications = { kind: 'pipeline', - image_pull_secrets: ['docker_config'], name: 'notifications', platform: { os: 'linux', diff --git a/.drone.yml b/.drone.yml index bc7ad82..819b733 100644 --- a/.drone.yml +++ b/.drone.yml @@ -27,9 +27,6 @@ steps: environment: PY_COLORS: 1 -image_pull_secrets: -- docker_config - trigger: ref: - refs/heads/main @@ -98,9 +95,6 @@ steps: depends_on: - fetch -image_pull_secrets: -- docker_config - trigger: ref: - refs/heads/main @@ -129,9 +123,6 @@ steps: environment: PY_COLORS: 1 -image_pull_secrets: -- docker_config - trigger: ref: - refs/heads/main @@ -192,9 +183,6 @@ steps: ref: - refs/tags/** -image_pull_secrets: -- docker_config - trigger: ref: - refs/heads/main @@ -223,8 +211,6 @@ steps: - name: dryrun image: plugins/docker:19 settings: - config: - from_secret: docker_config dockerfile: docker/Dockerfile.amd64 dry_run: true password: @@ -243,8 +229,6 @@ steps: settings: auto_tag: true auto_tag_suffix: amd64 - config: - from_secret: docker_config dockerfile: docker/Dockerfile.amd64 password: from_secret: docker_password @@ -263,8 +247,6 @@ steps: settings: auto_tag: true auto_tag_suffix: amd64 - config: - from_secret: docker_config dockerfile: docker/Dockerfile.amd64 password: from_secret: quay_password @@ -279,9 +261,6 @@ steps: depends_on: - dryrun -image_pull_secrets: -- docker_config - trigger: ref: - refs/heads/main @@ -310,8 +289,6 @@ steps: - name: dryrun image: plugins/docker:19 settings: - config: - from_secret: docker_config dockerfile: docker/Dockerfile.arm64 dry_run: true password: @@ -330,8 +307,6 @@ steps: settings: auto_tag: true auto_tag_suffix: arm64 - config: - from_secret: docker_config dockerfile: docker/Dockerfile.arm64 password: from_secret: docker_password @@ -350,8 +325,6 @@ steps: settings: auto_tag: true auto_tag_suffix: arm64 - config: - from_secret: docker_config dockerfile: docker/Dockerfile.arm64 password: from_secret: quay_password @@ -366,9 +339,6 @@ steps: depends_on: - dryrun -image_pull_secrets: -- docker_config - trigger: ref: - refs/heads/main @@ -397,8 +367,6 @@ steps: - name: dryrun image: plugins/docker:19 settings: - config: - from_secret: docker_config dockerfile: docker/Dockerfile.arm dry_run: true password: @@ -417,8 +385,6 @@ steps: settings: auto_tag: true auto_tag_suffix: arm - config: - from_secret: docker_config dockerfile: docker/Dockerfile.arm password: from_secret: docker_password @@ -437,8 +403,6 @@ steps: settings: auto_tag: true auto_tag_suffix: arm - config: - from_secret: docker_config dockerfile: docker/Dockerfile.arm password: from_secret: quay_password @@ -453,9 +417,6 @@ steps: depends_on: - dryrun -image_pull_secrets: -- docker_config - trigger: ref: - refs/heads/main @@ -541,9 +502,6 @@ steps: - refs/heads/main - refs/tags/** -image_pull_secrets: -- docker_config - trigger: ref: - refs/heads/main @@ -637,9 +595,6 @@ steps: - success - failure -image_pull_secrets: -- docker_config - trigger: ref: - refs/heads/main @@ -653,6 +608,6 @@ depends_on: --- kind: signature -hmac: 425513615feec38249b10048cbe62c6f2484a9338ebd808356f5a51a04ea87c6 +hmac: b7abe4c3e6c6044ac48c6740afa5b84dab5134ccda8cf279f21e73b4c09aaca1 ...