From be1d692290cd32a6f1b53e89926d5451816617af Mon Sep 17 00:00:00 2001 From: Dominik Meyer Date: Wed, 12 Jul 2023 10:32:24 +0200 Subject: [PATCH] ADD: some testing --- .drone.yml | 45 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 44 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index e4a14af..d4b1043 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,6 +1,49 @@ kind: pipeline type: kubernetes -name: default-build +name: arm64-pipeline + +platform: + arch: arm64 + +workspace: + path: /cache + +volumes: +- name: fedhq-ca-crt + config_map: + name: fedhq-ca-crt + default_mode: 420 # same as 644 in octal, or u+w,a+r + optional: false +- name: cache + claim: + name: federationhq-drone-cache-pvc + read_only: false + +steps: + - name: Build Image + image: registry.cloud.federationhq.de/drone-buildah-plugin:latest + privileged: true + volumes: + - name: fedhq-ca-crt + path: /etc/ssl/certs2/ + - name: cache + path: /var/lib/containers/storage + settings: + dockerfile: Dockerfile + pullfirst: true + ca_cert: "/etc/ssl/certs2/federationHQ-CA.pem" + registry: "registry.cloud.federationhq.de" + tag: latex:latest + + +--- + +kind: pipeline +type: kubernetes +name: amd64-pipeline + +platform: + arch: amd64 workspace: path: /cache