Skip to content

Commit

Permalink
Automatic Confluence Update
Browse files Browse the repository at this point in the history
  • Loading branch information
avnishsinghh committed Jul 11, 2024
1 parent 03bf883 commit 34b6615
Show file tree
Hide file tree
Showing 7 changed files with 101 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
stages:
- generate
- publish

generate-job:
stage: generate
tags:
- autoscale
variables:
REPO_METADATA_FILE: docs/includes/repo-metadata.md
script: >
echo "Created from: [$CI_PROJECT_NAMESPACE / $CI_PROJECT_TITLE]($CI_PROJECT_URL) Version: $(git describe --always)" > "$REPO_METADATA_FILE"
artifacts:
paths:
- "$REPO_METADATA_FILE"

mark-job:
stage: publish
only:
- devel
- master
image: wsinpg/mark:latest
tags:
- autoscale
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
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

- docs
- Automatic confluence update for 'docs/instruments.md'

release 101.2.0 (2024-05-24)
- remove dependency on HTML::Tidy
- update NovaSeqX icon
Expand Down
17 changes: 17 additions & 0 deletions docs/api_usage.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
<!-- Space: NPG -->
<!-- Parent: Tracking -->
<!-- Title: API usage -->

<!-- Macro: :box:([^:]+):([^:]*):(.+):
Template: ac:box
Icon: true
Name: ${1}
Title: ${2}
Body: ${3} -->

:box:info:Note:This page is automatically generated; any edits will be overwritten:

###### Repository information

<!-- Include: docs/includes/repo-metadata.md -->

# NPG Tracking API usage

There are two APIs in active use for NPG Tracking: once Clearpress based, the other DBIx::Class based.
Expand Down
1 change: 1 addition & 0 deletions docs/includes/repo-metadata.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Created from: - Version: -
17 changes: 17 additions & 0 deletions docs/instruments.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
<!-- Space: NPG -->
<!-- Parent: Tracking -->
<!-- Title: All About Illumina Instruments -->

<!-- Macro: :box:([^:]+):([^:]*):(.+):
Template: ac:box
Icon: true
Name: ${1}
Title: ${2}
Body: ${3} -->

:box:info:Note:This page is automatically generated; any edits will be overwritten:

###### Repository information

<!-- Include: docs/includes/repo-metadata.md -->

# All About Illumina Instruments

## Create Instrument
Expand Down
17 changes: 17 additions & 0 deletions docs/run_states.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
<!-- Space: NPG -->
<!-- Parent: Tracking -->
<!-- Title: Run States -->

<!-- Macro: :box:([^:]+):([^:]*):(.+):
Template: ac:box
Icon: true
Name: ${1}
Title: ${2}
Body: ${3} -->

:box:info:Note:This page is automatically generated; any edits will be overwritten:

###### Repository information

<!-- Include: docs/includes/repo-metadata.md -->

# Run States

The Tracking interface shows a sequence of states for Illumina runs. They have the following meanings in approximate order of execution:
Expand Down
17 changes: 17 additions & 0 deletions docs/user_management.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
<!-- Space: NPG -->
<!-- Parent: Tracking -->
<!-- Title: User Management -->

<!-- Macro: :box:([^:]+):([^:]*):(.+):
Template: ac:box
Icon: true
Name: ${1}
Title: ${2}
Body: ${3} -->

:box:info:Note:This page is automatically generated; any edits will be overwritten:

###### Repository information

<!-- Include: docs/includes/repo-metadata.md -->

# How to give users the permissions to set up a run
Users that use the NPG pipeline could ask, through a ticket, to be
granted some permissions to set up runs.
Expand Down

0 comments on commit 34b6615

Please sign in to comment.