diff --git a/.drone.yml b/.drone.yml index cb49438..ffacc20 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,3 +1,4 @@ +--- kind: pipeline type: kubernetes name: build-amanda-server-amd64 @@ -7,25 +8,22 @@ node_selector: kubernetes.io/arch: amd64 federationhq.de/location: Blumendorf -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 - -steps: - - name: build amanda-server amd64 - image: quay.io/buildah/stable - privileged: true - volumes: + volumes: - name: fedhq-ca-crt - path: /etc/ssl/certs2/ - commands: - - scripts/setupEnvironment.sh - - cd server - - buildah bud --network host -t "registry.cloud.federationhq.de/amanda-server:latest-amd64" --arch amd64 . - - buildah push --all registry.cloud.federationhq.de/amanda-server:latest-amd64 + config_map: + name: fedhq-ca-crt + default_mode: 420 # same as 644 in octal, or u+w,a+r + optional: false + + steps: + - name: build amanda-server amd64 + image: quay.io/buildah/stable + privileged: true + commands: + - scripts/setupEnvironment.sh + - cd server + - buildah bud --network host -t "registry.cloud.federationhq.de/amanda-server:latest-amd64" --arch amd64 . + - buildah push --all registry.cloud.federationhq.de/amanda-server:latest-amd64 --- kind: pipeline type: kubernetes