Commit 60d2231c authored by Bhushan Shah's avatar Bhushan Shah 📱
Browse files

invent: run snap job only on master and expire artifacts in 1 week

parent b25f933b
Pipeline #526 skipped with stage
......@@ -20,8 +20,11 @@
- lxc exec "$CONTAINER" -- sh -c "cd $CI_PROJECT_PATH_SLUG; snapcraft --destructive-mode"
- lxc exec "$CONTAINER" -- sh -c "mkdir -p /tmp/result; cp $CI_PROJECT_PATH_SLUG/*.snap /tmp/result"
- lxc file pull --recursive $CONTAINER/tmp/result .
after_script:
- lxc stop "$CONTAINER"
only:
- master
artifacts:
paths:
- result/*.snap
expire_in: 1 week
after_script:
- lxc stop "$CONTAINER"
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