remove unnecessary docker_config secret from drone config

This commit is contained in:
Robert Kaussow 2021-01-16 15:45:39 +01:00
parent 8431377087
commit dee1a00345
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
2 changed files with 1 additions and 52 deletions

View File

@ -18,7 +18,6 @@ local PythonVersion(pyversion='3.6') = {
local PipelineLint = { local PipelineLint = {
kind: 'pipeline', kind: 'pipeline',
image_pull_secrets: ['docker_config'],
name: 'lint', name: 'lint',
platform: { platform: {
os: 'linux', os: 'linux',
@ -60,7 +59,6 @@ local PipelineLint = {
local PipelineTest = { local PipelineTest = {
kind: 'pipeline', kind: 'pipeline',
image_pull_secrets: ['docker_config'],
name: 'test', name: 'test',
platform: { platform: {
os: 'linux', os: 'linux',
@ -89,7 +87,6 @@ local PipelineTest = {
local PipelineSecurity = { local PipelineSecurity = {
kind: 'pipeline', kind: 'pipeline',
image_pull_secrets: ['docker_config'],
name: 'security', name: 'security',
platform: { platform: {
os: 'linux', os: 'linux',
@ -121,7 +118,6 @@ local PipelineSecurity = {
local PipelineBuildPackage = { local PipelineBuildPackage = {
kind: 'pipeline', kind: 'pipeline',
image_pull_secrets: ['docker_config'],
name: 'build-package', name: 'build-package',
platform: { platform: {
os: 'linux', os: 'linux',
@ -185,7 +181,6 @@ local PipelineBuildPackage = {
local PipelineBuildContainer(arch='amd64') = { local PipelineBuildContainer(arch='amd64') = {
kind: 'pipeline', kind: 'pipeline',
image_pull_secrets: ['docker_config'],
name: 'build-container-' + arch, name: 'build-container-' + arch,
platform: { platform: {
os: 'linux', os: 'linux',
@ -207,7 +202,6 @@ local PipelineBuildContainer(arch='amd64') = {
image: 'plugins/docker:19', image: 'plugins/docker:19',
pull: 'always', pull: 'always',
settings: { settings: {
config: { from_secret: 'docker_config' },
dry_run: true, dry_run: true,
dockerfile: 'docker/Dockerfile.' + arch, dockerfile: 'docker/Dockerfile.' + arch,
repo: 'thegeeklab/git-batch', repo: 'thegeeklab/git-batch',
@ -223,7 +217,6 @@ local PipelineBuildContainer(arch='amd64') = {
name: 'publish-dockerhub', name: 'publish-dockerhub',
image: 'plugins/docker:19', image: 'plugins/docker:19',
settings: { settings: {
config: { from_secret: 'docker_config' },
auto_tag: true, auto_tag: true,
auto_tag_suffix: arch, auto_tag_suffix: arch,
dockerfile: 'docker/Dockerfile.' + arch, dockerfile: 'docker/Dockerfile.' + arch,
@ -240,7 +233,6 @@ local PipelineBuildContainer(arch='amd64') = {
name: 'publish-quay', name: 'publish-quay',
image: 'plugins/docker:19', image: 'plugins/docker:19',
settings: { settings: {
config: { from_secret: 'docker_config' },
auto_tag: true, auto_tag: true,
auto_tag_suffix: arch, auto_tag_suffix: arch,
dockerfile: 'docker/Dockerfile.' + arch, dockerfile: 'docker/Dockerfile.' + arch,
@ -265,7 +257,6 @@ local PipelineBuildContainer(arch='amd64') = {
local PipelineNotifications = { local PipelineNotifications = {
kind: 'pipeline', kind: 'pipeline',
image_pull_secrets: ['docker_config'],
name: 'notifications', name: 'notifications',
platform: { platform: {
os: 'linux', os: 'linux',

View File

@ -28,9 +28,6 @@ steps:
environment: environment:
PY_COLORS: 1 PY_COLORS: 1
image_pull_secrets:
- docker_config
trigger: trigger:
ref: ref:
- refs/heads/main - refs/heads/main
@ -103,9 +100,6 @@ steps:
depends_on: depends_on:
- fetch - fetch
image_pull_secrets:
- docker_config
trigger: trigger:
ref: ref:
- refs/heads/main - refs/heads/main
@ -135,9 +129,6 @@ steps:
environment: environment:
PY_COLORS: 1 PY_COLORS: 1
image_pull_secrets:
- docker_config
trigger: trigger:
ref: ref:
- refs/heads/main - refs/heads/main
@ -198,9 +189,6 @@ steps:
ref: ref:
- refs/tags/** - refs/tags/**
image_pull_secrets:
- docker_config
trigger: trigger:
ref: ref:
- refs/heads/main - refs/heads/main
@ -231,8 +219,6 @@ steps:
pull: always pull: always
image: plugins/docker:19 image: plugins/docker:19
settings: settings:
config:
from_secret: docker_config
dockerfile: docker/Dockerfile.amd64 dockerfile: docker/Dockerfile.amd64
dry_run: true dry_run: true
password: password:
@ -251,8 +237,6 @@ steps:
settings: settings:
auto_tag: true auto_tag: true
auto_tag_suffix: amd64 auto_tag_suffix: amd64
config:
from_secret: docker_config
dockerfile: docker/Dockerfile.amd64 dockerfile: docker/Dockerfile.amd64
password: password:
from_secret: docker_password from_secret: docker_password
@ -271,8 +255,6 @@ steps:
settings: settings:
auto_tag: true auto_tag: true
auto_tag_suffix: amd64 auto_tag_suffix: amd64
config:
from_secret: docker_config
dockerfile: docker/Dockerfile.amd64 dockerfile: docker/Dockerfile.amd64
password: password:
from_secret: quay_password from_secret: quay_password
@ -287,9 +269,6 @@ steps:
depends_on: depends_on:
- dryrun - dryrun
image_pull_secrets:
- docker_config
trigger: trigger:
ref: ref:
- refs/heads/main - refs/heads/main
@ -320,8 +299,6 @@ steps:
pull: always pull: always
image: plugins/docker:19 image: plugins/docker:19
settings: settings:
config:
from_secret: docker_config
dockerfile: docker/Dockerfile.arm64 dockerfile: docker/Dockerfile.arm64
dry_run: true dry_run: true
password: password:
@ -340,8 +317,6 @@ steps:
settings: settings:
auto_tag: true auto_tag: true
auto_tag_suffix: arm64 auto_tag_suffix: arm64
config:
from_secret: docker_config
dockerfile: docker/Dockerfile.arm64 dockerfile: docker/Dockerfile.arm64
password: password:
from_secret: docker_password from_secret: docker_password
@ -360,8 +335,6 @@ steps:
settings: settings:
auto_tag: true auto_tag: true
auto_tag_suffix: arm64 auto_tag_suffix: arm64
config:
from_secret: docker_config
dockerfile: docker/Dockerfile.arm64 dockerfile: docker/Dockerfile.arm64
password: password:
from_secret: quay_password from_secret: quay_password
@ -376,9 +349,6 @@ steps:
depends_on: depends_on:
- dryrun - dryrun
image_pull_secrets:
- docker_config
trigger: trigger:
ref: ref:
- refs/heads/main - refs/heads/main
@ -409,8 +379,6 @@ steps:
pull: always pull: always
image: plugins/docker:19 image: plugins/docker:19
settings: settings:
config:
from_secret: docker_config
dockerfile: docker/Dockerfile.arm dockerfile: docker/Dockerfile.arm
dry_run: true dry_run: true
password: password:
@ -429,8 +397,6 @@ steps:
settings: settings:
auto_tag: true auto_tag: true
auto_tag_suffix: arm auto_tag_suffix: arm
config:
from_secret: docker_config
dockerfile: docker/Dockerfile.arm dockerfile: docker/Dockerfile.arm
password: password:
from_secret: docker_password from_secret: docker_password
@ -449,8 +415,6 @@ steps:
settings: settings:
auto_tag: true auto_tag: true
auto_tag_suffix: arm auto_tag_suffix: arm
config:
from_secret: docker_config
dockerfile: docker/Dockerfile.arm dockerfile: docker/Dockerfile.arm
password: password:
from_secret: quay_password from_secret: quay_password
@ -465,9 +429,6 @@ steps:
depends_on: depends_on:
- dryrun - dryrun
image_pull_secrets:
- docker_config
trigger: trigger:
ref: ref:
- refs/heads/main - refs/heads/main
@ -556,9 +517,6 @@ steps:
- success - success
- failure - failure
image_pull_secrets:
- docker_config
trigger: trigger:
ref: ref:
- refs/heads/main - refs/heads/main
@ -575,6 +533,6 @@ depends_on:
--- ---
kind: signature kind: signature
hmac: b72e7abc87afca76141397f7599462ae8d0ebccc00e385ee7c76bc93d732c42f hmac: 3044d1d1a72ceb2c8a51cd4d854c9c6d7ecf0bd37f1a54c03bc873de6a6fb670
... ...