Commit 7dbf305e authored by Dominik Schachten's avatar Dominik Schachten
Browse files

Add first draft of autorepos

parent bb0fbd66
stages:
- build
- package
- deploy
# build job name used to retrieve artifact in irb-admin/package
build:
image: hub.cs.upb.de/irb/build-container/arch-ipxe
......@@ -11,3 +16,26 @@ build:
# ipxe has to be a full clone, shallow clone interferes with versioning
- git clone git://git.ipxe.org/ipxe.git
- bash build.sh
ackage:
image: hub.cs.upb.de/irb/package
stage: package
script:
- ls -lah
- mkdir -p $CI_PROJECT_NAME/srv/$CI_PROJECT_NAME
- cp *.efi $CI_PROJECT_NAME/srv/$CI_PROJECT_NAME/
- irb-package build deb ./$CI_PROJECT_NAME $(git describe --tags --always) "$CI_PROJECT_TITLE $CI_PROJECT_URL"
artifacts:
name: packages
expire_in: 1 hour
paths:
- '*.rpm'
- '*.deb'
autorepos:
image: hub.cs.upb.de/irb/package
stage: deploy
script:
- irb-package push *.deb
variables:
GIT_STRATEGY: none
Supports Markdown
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