From 834f529bc2450055b446161af74b209a589bdf2e Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Wed, 25 Oct 2023 14:15:17 +0200 Subject: [PATCH] fix: unsupport arm-v7 image --- .drone.yml | 192 -------------------------------------------------- manifest.tmpl | 5 -- renovate.json | 1 - 3 files changed, 198 deletions(-) diff --git a/.drone.yml b/.drone.yml index bf5941b..ef6c5bf 100644 --- a/.drone.yml +++ b/.drone.yml @@ -115,72 +115,6 @@ trigger: repo: - volker.raschek/gosec-docker ---- -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/gosec - 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/gosec-docker - --- kind: pipeline type: docker @@ -311,70 +245,6 @@ trigger: repo: - volker.raschek/gosec-docker ---- -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/gosec - 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/gosec-docker - --- kind: pipeline type: docker @@ -449,7 +319,6 @@ clone: depends_on: - latest-amd64 -- latest-arm-v7 - latest-arm64-v8 # docker.io/plugins/manifest only for amd64 architectures available @@ -623,66 +492,6 @@ trigger: repo: - volker.raschek/gosec-docker ---- -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/gosec - username: - from_secret: git_cryptic_systems_container_registry_user - password: - from_secret: git_cryptic_systems_container_registry_password - build_args: - - GOSEC_VERSION=v${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/gosec-docker - --- kind: pipeline type: docker @@ -753,7 +562,6 @@ clone: depends_on: - tagged-amd64 -- tagged-arm-v7 - tagged-arm64-v8 # docker.io/plugins/manifest only for amd64 architectures available diff --git a/manifest.tmpl b/manifest.tmpl index b381df1..1af2cd9 100644 --- a/manifest.tmpl +++ b/manifest.tmpl @@ -11,11 +11,6 @@ manifests: platform: architecture: amd64 os: linux - - image: git.cryptic.systems/volker.raschek/gosec:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-arm-v7 - platform: - architecture: arm - os: linux - variant: v7 - image: git.cryptic.systems/volker.raschek/gosec:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}-arm64-v8 platform: architecture: arm64 diff --git a/renovate.json b/renovate.json index 70de33b..65104e4 100644 --- a/renovate.json +++ b/renovate.json @@ -8,7 +8,6 @@ { "addLabels": [ "renovate/droneci", "renovate/automerge" ], "automerge": true, - "excludePackagePatterns": [ "plugins/docker" ], "matchManagers": "droneci", "matchUpdateTypes": [ "minor", "patch"] },