Commit b896aacc authored by Petr Špaček's avatar Petr Špaček

fixup! ci: do not re-run tests on master, use nightly instead

parent 946df935
......@@ -163,11 +163,13 @@ doc:
deckard:linux:amd64:
stage: test
except:
- master@knot/knot-resolver
refs:
- master@knot/knot-resolver
variables:
# prevent unstable test from cancelling nightly OBS build
- $SKIP_DECKARD == "1"
variables:
TMPDIR: $CI_PROJECT_DIR
except:
- schedules # prevent unstable test from cancelling nightly OBS build
script:
- DECKARDFLAGS="-n $(nproc)" PATH="$PREFIX/sbin:$PATH" make check-integration
# these errors are side-effect of Git way of handling file timestamps
......@@ -510,9 +512,11 @@ nightly:copy:
dependencies: []
script:
# delete nightly branch
- 'curl --request PUT --header "PRIVATE-TOKEN: $GITLAB_API_TOKEN" "https://gitlab.labs.nic.cz/api/v4/projects/147/repository/branches/nightly/unprotect"'
- 'curl --request DELETE --header "PRIVATE-TOKEN: $GITLAB_API_TOKEN" "https://gitlab.labs.nic.cz/api/v4/projects/147/repository/branches/nightly"'
# recreate nightly branch from current master
- 'curl --request POST --header "PRIVATE-TOKEN: $GITLAB_API_TOKEN" "https://gitlab.labs.nic.cz/api/v4/projects/147/repository/branches?branch=nightly&ref=master"'
- 'curl --request PUT --header "PRIVATE-TOKEN: $GITLAB_API_TOKEN" "https://gitlab.labs.nic.cz/api/v4/projects/147/repository/branches/nightly/protect"'
#arm_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