Skip to content

Commit

Permalink
Use mark release for publishing to confluence instead of docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
mksanger committed Jan 27, 2025
1 parent 3d77241 commit 56ea292
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,23 @@ mark-job:
- if: $CI_COMMIT_BRANCH == "devel" || $CI_COMMIT_BRANCH == "master"
changes:
- docs/**/*
image: wsinpg/mark:latest
variables:
MARK_RELEASE: https://github.com/kovetskiy/mark/releases/download/12.0.0/mark_Linux_x86_64.tar.gz
MARK_SHASUM: e3a1ee3d5da28f13731b021be03a87ca29a3683adf1642255dbd0eb4a41dba2e
MARK_ARCHIVE: mark_Linux_x86_64.tar.gz
image:
name: gitlab-registry.internal.sanger.ac.uk/isg/gitlab-ci-docker-docker:322249_master

tags:
- autoscale
before_script:
- |
apt-get update -yq
apt-get install -yq wget
wget "${MARK_RELEASE}" -O "${MARK_ARCHIVE}"
echo "${MARK_SHASUM} ${MARK_ARCHIVE}" | sha256sum -c
tar -xzf "${MARK_ARCHIVE}" mark
script: >
for f in $(find . -name includes -type d -prune -o -name 'README*.md' -prune -o -name '*.md' -print0 | xargs -0); do
echo 'username = ""' && echo "password = '$CONFLUENCE_PERSONAL_ACCESS_TOKEN'" | mark -c /dev/stdin -b https://ssg-confluence.internal.sanger.ac.uk -f "$f" --trace;
echo 'username = ""' && echo "password = '$CONFLUENCE_PERSONAL_ACCESS_TOKEN'" | ./mark -c /dev/stdin -b https://ssg-confluence.internal.sanger.ac.uk -f "$f" --log-level TRACE;
done
3 changes: 3 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
LIST OF CHANGES FOR NPG-QC PACKAGE

- Replace mark docker image with mark golang executable from github,
on ISG's docker image, for documentation publishing

release 74.0.1 (2024-12-17)
- Fix perlbrew installation by installing libdevel-patchperl-perl in runner
- Fixes/updates for lane-level RoboQC lane-level assessment:
Expand Down

0 comments on commit 56ea292

Please sign in to comment.