Commit 4d53e9d1 authored by Tomas Krizek's avatar Tomas Krizek

ci: trigger obs build

parent fd05de82
......@@ -345,6 +345,24 @@ pages:
paths:
- public
# trigger obs build for master branch
obs:
stage: deploy
only:
- master
dependencies: []
script:
- scripts/make-archive.sh
- scripts/make-spec.sh
- echo -e "[general]\napiurl = https://api.opensuse.org\n\n[https://api.opensuse.org]\nuser = CZ-NIC\npass = $OBS_PASSWORD" > /root/.oscrc
- osc co home:CZ-NIC:knot-devel knot-resolver
- cd home\:CZ-NIC\:knot-devel/knot-resolver/
- osc del *
- cp ../../*.tar.xz ./
- cp -r ../../distro/fedora/* ./
- osc addremove
- osc ci -n
#arm_build:
# image: cznic/armhf-ubuntu:16.04
# stage: build
......
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