From 8661a9ccf0cfb6f0d91722ab3503172913343650 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 7252412..b3f895c 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -18,7 +18,6 @@ local PythonVersion(pyversion='3.6') = { local PipelineLint = { kind: 'pipeline', - image_pull_secrets: ['docker_config'], name: 'lint', platform: { os: 'linux', @@ -59,7 +58,6 @@ local PipelineLint = { local PipelineTest = { kind: 'pipeline', - image_pull_secrets: ['docker_config'], name: 'test', platform: { os: 'linux', @@ -106,7 +104,6 @@ local PipelineTest = { local PipelineSecurity = { kind: 'pipeline', - image_pull_secrets: ['docker_config'], name: 'security', platform: { os: 'linux', @@ -137,7 +134,6 @@ local PipelineSecurity = { local PipelineBuildPackage = { kind: 'pipeline', - image_pull_secrets: ['docker_config'], name: 'build-package', platform: { os: 'linux', @@ -201,7 +197,6 @@ local PipelineBuildPackage = { local PipelineBuildContainer(arch='amd64') = { kind: 'pipeline', - image_pull_secrets: ['docker_config'], name: 'build-container-' + arch, platform: { os: 'linux', @@ -221,7 +216,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}', @@ -237,7 +231,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, @@ -254,7 +247,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, @@ -279,7 +271,6 @@ local PipelineBuildContainer(arch='amd64') = { local PipelineDocs = { kind: 'pipeline', - image_pull_secrets: ['docker_config'], name: 'docs', platform: { os: 'linux', @@ -383,7 +374,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 7889822..944561a 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 @@ -117,9 +114,6 @@ steps: - python38-pytest - python39-pytest -image_pull_secrets: -- docker_config - trigger: ref: - refs/heads/main @@ -148,9 +142,6 @@ steps: environment: PY_COLORS: 1 -image_pull_secrets: -- docker_config - trigger: ref: - refs/heads/main @@ -211,9 +202,6 @@ steps: ref: - refs/tags/** -image_pull_secrets: -- docker_config - trigger: ref: - refs/heads/main @@ -242,8 +230,6 @@ steps: - name: dryrun image: plugins/docker:19 settings: - config: - from_secret: docker_config dockerfile: docker/Dockerfile.amd64 dry_run: true password: @@ -262,8 +248,6 @@ steps: settings: auto_tag: true auto_tag_suffix: amd64 - config: - from_secret: docker_config dockerfile: docker/Dockerfile.amd64 password: from_secret: docker_password @@ -282,8 +266,6 @@ steps: settings: auto_tag: true auto_tag_suffix: amd64 - config: - from_secret: docker_config dockerfile: docker/Dockerfile.amd64 password: from_secret: quay_password @@ -298,9 +280,6 @@ steps: depends_on: - dryrun -image_pull_secrets: -- docker_config - trigger: ref: - refs/heads/main @@ -329,8 +308,6 @@ steps: - name: dryrun image: plugins/docker:19 settings: - config: - from_secret: docker_config dockerfile: docker/Dockerfile.arm64 dry_run: true password: @@ -349,8 +326,6 @@ steps: settings: auto_tag: true auto_tag_suffix: arm64 - config: - from_secret: docker_config dockerfile: docker/Dockerfile.arm64 password: from_secret: docker_password @@ -369,8 +344,6 @@ steps: settings: auto_tag: true auto_tag_suffix: arm64 - config: - from_secret: docker_config dockerfile: docker/Dockerfile.arm64 password: from_secret: quay_password @@ -385,9 +358,6 @@ steps: depends_on: - dryrun -image_pull_secrets: -- docker_config - trigger: ref: - refs/heads/main @@ -416,8 +386,6 @@ steps: - name: dryrun image: plugins/docker:19 settings: - config: - from_secret: docker_config dockerfile: docker/Dockerfile.arm dry_run: true password: @@ -436,8 +404,6 @@ steps: settings: auto_tag: true auto_tag_suffix: arm - config: - from_secret: docker_config dockerfile: docker/Dockerfile.arm password: from_secret: docker_password @@ -456,8 +422,6 @@ steps: settings: auto_tag: true auto_tag_suffix: arm - config: - from_secret: docker_config dockerfile: docker/Dockerfile.arm password: from_secret: quay_password @@ -472,9 +436,6 @@ steps: depends_on: - dryrun -image_pull_secrets: -- docker_config - trigger: ref: - refs/heads/main @@ -560,9 +521,6 @@ steps: - refs/heads/main - refs/tags/** -image_pull_secrets: -- docker_config - trigger: ref: - refs/heads/main @@ -656,9 +614,6 @@ steps: - success - failure -image_pull_secrets: -- docker_config - trigger: ref: - refs/heads/main @@ -672,6 +627,6 @@ depends_on: --- kind: signature -hmac: 2bec459c13076d26b8c054f542e5e0fea4c37607c2060e3c73094fc261ff57f5 +hmac: f55602198958dc4de9b2421d71e0fdad05432192dbf29c5122df35a7945766d9 ...