Verified Commit ad876940 authored by Sven-Hendrik Haase's avatar Sven-Hendrik Haase
Browse files

Have separate secure and non-secure public builds

Our security concept doesn't allow us to move artifacts built in non-secure environments to secure environments.
This means we'll have to make sure that the boxes we release are built on a runner marked as
'secure'.
parent d72a5aa1
Pipeline #1838 passed with stages
in 28 minutes and 32 seconds
...@@ -20,7 +20,7 @@ shfmt: ...@@ -20,7 +20,7 @@ shfmt:
script: script:
- shfmt -i 2 -ci -d **/*.sh - shfmt -i 2 -ci -d **/*.sh
build: .build:
stage: build stage: build
before_script: before_script:
- pacman -Syu --needed --noconfirm qemu-headless libisoburn - pacman -Syu --needed --noconfirm qemu-headless libisoburn
...@@ -29,6 +29,18 @@ build: ...@@ -29,6 +29,18 @@ build:
- . build.env - . build.env
- ./build-in-qemu.sh - ./build-in-qemu.sh
- mv build.env output/ - mv build.env output/
build:
extends: .build
except:
- master
build:release:
extends: .build
tags:
- secure
only:
- master
artifacts: artifacts:
name: "output" name: "output"
paths: paths:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment