Compare commits

...

2 Commits

Author SHA1 Message Date
ab480c085f chore(deps): update docker.io/plugins/docker docker tag to v20.17.0
Some checks failed
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is failing
2023-10-30 23:04:48 +00:00
0d6eefc348
fix(ci): unsupport arm v7
Some checks failed
continuous-integration/drone/push Build is failing
2023-10-30 21:39:08 +01:00
3 changed files with 12 additions and 205 deletions

View File

@ -69,7 +69,7 @@ steps:
image: git.cryptic.systems/volker.raschek/git:1.3.1 image: git.cryptic.systems/volker.raschek/git:1.3.1
- name: build - name: build
image: docker.io/plugins/docker:20.10.9 image: docker.io/plugins/docker:20.17.0
settings: settings:
auto_tag: false auto_tag: false
dockerfile: Dockerfile dockerfile: Dockerfile
@ -115,72 +115,6 @@ trigger:
repo: repo:
- volker.raschek/db-wait - volker.raschek/db-wait
---
kind: pipeline
type: docker
name: dry-run-arm-v7
clone:
disable: true
depends_on:
- linter
platform:
os: linux
arch: arm
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.3.1
- name: build
image: docker.io/plugins/docker:20.10.9
settings:
auto_tag: false
dockerfile: Dockerfile
dry_run: true
force_tag: true
no_cache: true
purge: true
mirror:
from_secret: docker_io_mirror
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/db-wait
tags: latest-arm-v7
username:
from_secret: git_cryptic_systems_container_registry_user
password:
from_secret: git_cryptic_systems_container_registry_password
- name: email-notification
environment:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
SMTP_USERNAME:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
when:
status:
- changed
- failure
trigger:
branch:
exclude:
- master
event:
- pull_request
- push
repo:
- volker.raschek/db-wait
--- ---
kind: pipeline kind: pipeline
type: docker type: docker
@ -201,7 +135,7 @@ steps:
image: git.cryptic.systems/volker.raschek/git:1.3.1 image: git.cryptic.systems/volker.raschek/git:1.3.1
- name: build - name: build
image: docker.io/plugins/docker:20.10.9 image: docker.io/plugins/docker:20.17.0
settings: settings:
auto_tag: false auto_tag: false
dockerfile: Dockerfile dockerfile: Dockerfile
@ -267,7 +201,7 @@ steps:
image: git.cryptic.systems/volker.raschek/git:1.3.1 image: git.cryptic.systems/volker.raschek/git:1.3.1
- name: build - name: build
image: docker.io/plugins/docker:20.10.9 image: docker.io/plugins/docker:20.17.0
settings: settings:
auto_tag: false auto_tag: false
dockerfile: Dockerfile dockerfile: Dockerfile
@ -311,70 +245,6 @@ trigger:
repo: repo:
- volker.raschek/db-wait - volker.raschek/db-wait
---
kind: pipeline
type: docker
name: latest-arm-v7
clone:
disable: true
depends_on:
- linter
platform:
os: linux
arch: arm
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.3.1
- name: build
image: docker.io/plugins/docker:20.10.9
settings:
auto_tag: false
dockerfile: Dockerfile
force_tag: true
no_cache: true
purge: true
mirror:
from_secret: docker_io_mirror
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/db-wait
tags: latest-arm-v7
username:
from_secret: git_cryptic_systems_container_registry_user
password:
from_secret: git_cryptic_systems_container_registry_password
- name: email-notification
environment:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
SMTP_USERNAME:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
when:
status:
- changed
- failure
trigger:
branch:
- master
event:
- cron
- push
repo:
- volker.raschek/db-wait
--- ---
kind: pipeline kind: pipeline
type: docker type: docker
@ -395,7 +265,7 @@ steps:
image: git.cryptic.systems/volker.raschek/git:1.3.1 image: git.cryptic.systems/volker.raschek/git:1.3.1
- name: build - name: build
image: docker.io/plugins/docker:20.10.9 image: docker.io/plugins/docker:20.17.0
settings: settings:
auto_tag: false auto_tag: false
dockerfile: Dockerfile dockerfile: Dockerfile
@ -449,7 +319,6 @@ clone:
depends_on: depends_on:
- latest-amd64 - latest-amd64
- latest-arm-v7
- latest-arm64-v8 - latest-arm64-v8
# docker.io/plugins/manifest only for amd64 architectures available # docker.io/plugins/manifest only for amd64 architectures available
@ -580,7 +449,7 @@ steps:
image: git.cryptic.systems/volker.raschek/git:1.3.1 image: git.cryptic.systems/volker.raschek/git:1.3.1
- name: build - name: build
image: docker.io/plugins/docker:20.10.9 image: docker.io/plugins/docker:20.17.0
settings: settings:
auto_tag: true auto_tag: true
auto_tag_suffix: amd64 auto_tag_suffix: amd64
@ -623,66 +492,6 @@ trigger:
repo: repo:
- volker.raschek/db-wait - volker.raschek/db-wait
---
kind: pipeline
type: docker
name: tagged-arm-v7
clone:
disable: true
platform:
os: linux
arch: arm
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.3.1
- name: build
image: docker.io/plugins/docker:20.10.9
settings:
auto_tag: true
auto_tag_suffix: arm-v7
dockerfile: Dockerfile
force_tag: true
no_cache: true
purge: true
mirror:
from_secret: docker_io_mirror
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/db-wait
username:
from_secret: git_cryptic_systems_container_registry_user
password:
from_secret: git_cryptic_systems_container_registry_password
build_args:
- VERSION=${DRONE_TAG}
- name: email-notification
environment:
SMTP_FROM_ADDRESS:
from_secret: smtp_from_address
SMTP_FROM_NAME:
from_secret: smtp_from_name
SMTP_HOST:
from_secret: smtp_host
SMTP_USERNAME:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.5
when:
status:
- changed
- failure
trigger:
event:
- tag
repo:
- volker.raschek/db-wait
--- ---
kind: pipeline kind: pipeline
type: docker type: docker
@ -700,7 +509,7 @@ steps:
image: git.cryptic.systems/volker.raschek/git:1.3.1 image: git.cryptic.systems/volker.raschek/git:1.3.1
- name: build - name: build
image: docker.io/plugins/docker:20.10.9 image: docker.io/plugins/docker:20.17.0
settings: settings:
auto_tag: true auto_tag: true
auto_tag_suffix: arm64-v8 auto_tag_suffix: arm64-v8
@ -717,7 +526,7 @@ steps:
password: password:
from_secret: git_cryptic_systems_container_registry_password from_secret: git_cryptic_systems_container_registry_password
build_args: build_args:
- MARKDOWNLINT_VERSION=${DRONE_TAG} - VERSION=${DRONE_TAG}
- name: email-notification - name: email-notification
environment: environment:
@ -753,7 +562,6 @@ clone:
depends_on: depends_on:
- tagged-amd64 - tagged-amd64
- tagged-arm-v7
- tagged-arm64-v8 - tagged-arm64-v8
# docker.io/plugins/manifest only for amd64 architectures available # docker.io/plugins/manifest only for amd64 architectures available

View File

@ -1,4 +1,4 @@
image: volkerraschek/db-wait:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}} image: git.cryptic.systems/volker.raschek/db-wait:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
{{#if build.tags}} {{#if build.tags}}
tags: tags:
{{#each build.tags}} {{#each build.tags}}
@ -8,13 +8,13 @@ tags:
{{/if}} {{/if}}
manifests: manifests:
- -
image: volkerraschek/db-wait:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{else}}latest{{/if}}-amd64 image: git.cryptic.systems/volker.raschek/db-wait:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{else}}latest{{/if}}-amd64
platform: platform:
architecture: amd64 architecture: amd64
os: linux os: linux
- -
image: volkerraschek/db-wait:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{else}}latest{{/if}}-arm-v7 image: git.cryptic.systems/volker.raschek/db-wait:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-arm64-v8
platform: platform:
architecture: arm architecture: arm64
os: linux os: linux
variant: v7 variant: v8

View File

@ -9,7 +9,6 @@
"description": "Automatically update minor and patch versions of used drone-ci images", "description": "Automatically update minor and patch versions of used drone-ci images",
"addLabels": [ "renovate/droneci", "renovate/automerge" ], "addLabels": [ "renovate/droneci", "renovate/automerge" ],
"automerge": true, "automerge": true,
"excludePackagePatterns": [ "plugins/docker" ],
"matchManagers": "droneci", "matchManagers": "droneci",
"matchUpdateTypes": [ "minor", "patch"] "matchUpdateTypes": [ "minor", "patch"]
}, },