zig/ci/zinc/drone.yml
2022-08-19 16:45:16 -07:00

41 lines
764 B
YAML

---
kind: pipeline
type: docker
name: x86_64-linux
platform:
os: linux
arch: amd64
workspace:
path: /workspace
steps:
- name: test_stage3_debug
image: ci/debian-amd64:11.1-7
commands:
- ./ci/zinc/linux_test_stage3_debug.sh
- name: test_stage3_release
image: ci/debian-amd64:11.1-7
commands:
- ./ci/zinc/linux_test_stage3_release.sh
- name: package
depends_on:
- test_stage3_debug
- test_stage3_release
when:
branch:
- master
event:
- push
image: ci/debian-amd64:11.1-7
environment:
AWS_ACCESS_KEY_ID:
from_secret: AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY:
from_secret: AWS_SECRET_ACCESS_KEY
SRHT_OAUTH_TOKEN:
from_secret: SRHT_OAUTH_TOKEN
commands:
- ./ci/zinc/linux_package.sh