mirror of
https://github.com/thegeeklab/ansible-later.git
synced 2024-11-25 06:10:42 +00:00
remove unnecessary docker_config secret from drone config
This commit is contained in:
parent
ba4b17a47d
commit
8661a9ccf0
@ -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',
|
||||
|
47
.drone.yml
47
.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
|
||||
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user