Unverified Commit dff4c8b4 authored by morph027's avatar morph027

pages

parent e1b6e542
Pipeline #36469501 failed with stages
in 1 minute and 5 seconds
......@@ -26,15 +26,22 @@ reprepro:
- apt-get -qq -y install reprepro gnupg2
- echo "$SIGNING_KEY" > /tmp/key
- gpg --import /tmp/key
- rm -f /tmp/key
- test -f $CI_PROJECT_DIR/repo/gpgkey || gpg --export --armor "$SIGNING_KEY" > $CI_PROJECT_DIR/repo/gpgkey
- sed -i 's,##SIGNING_KEY_ID##,'$SIGNING_KEY_ID',' repo/conf/distributions
- find $CI_PROJECT_DIR -type f -name '*.deb' -exec
reprepro
-b $CI_PROJECT_DIR/repo
includedeb
bionic
{} \+
includedeb
bionic
{} \+
- reprepro
-b $CI_PROJECT_DIR/repo
list
bionic
test:
pages:
cache:
untracked: true
paths:
......@@ -42,7 +49,13 @@ test:
key: reprepro
policy: pull
stage: pages
image: alpine:latest
image: ubuntu:bionic
script:
- apk --no-cache add tree
- tree repo
- mkdir $CI_PROJECT_DIR/public
- cp -r $CI_PROJECT_DIR/repo/gpgkey $CI_PROJECT_DIR/repo/dists $CI_PROJECT_DIR/repo/pool $CI_PROJECT_DIRpublic/
artifacts:
paths:
- $CI_PROJECT_DIR/public
expire_in: 1 day
only:
- tags
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