Skip to content
Snippets Groups Projects
Commit b77a6800 authored by Kristian Klausen's avatar Kristian Klausen :tada:
Browse files

Re-enable prettifying of HTML files when run in CI

As we are now only processing ~7k tasks per run, I'm not too worried by
its slowness.
parent ac88bc46
No related branches found
No related tags found
No related merge requests found
Pipeline #6140 canceled
......@@ -10,7 +10,7 @@ snapshot:
variables:
GIT_STRATEGY: clone
before_script:
- pacman -Syu --needed --noconfirm git jq wget rsync libxslt
- pacman -Syu --needed --noconfirm git jq wget rsync libxslt prettier
- git remote set-url origin "https://${GITLAB_PROJECT_USER}:${GITLAB_PROJECT_TOKEN}@${CI_SERVER_HOST}/${CI_PROJECT_PATH}.git"
- 'user_json="$(curl --silent --show-error --fail --header "PRIVATE-TOKEN: ${GITLAB_PROJECT_TOKEN}" "${CI_API_V4_URL}/user")"'
- git config --global user.email "$(jq -r .email <<< "${user_json}")"
......@@ -20,7 +20,7 @@ snapshot:
- git worktree add snapshots HEAD
- (cd snapshots && git checkout snapshots || (git checkout --orphan snapshots && git rm -fr .))
- mkdir snapshot
- ALBS_RANGE_DOWNLOAD_ENABLED=true ALBS_RANGE_DOWNLOAD_CHUNK="$(git rev-list --count origin/snapshots)" ./snapshotter.sh -1 false false snapshot
- ALBS_RANGE_DOWNLOAD_ENABLED=true ALBS_RANGE_DOWNLOAD_CHUNK="$(git rev-list --count origin/snapshots)" ./snapshotter.sh -1 false true snapshot
- rsync --recursive snapshot/ snapshots/
- cd snapshots
- range="$(<range)"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment