forked from wtsi-npg/npg_qc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request wtsi-npg#885 from wtsi-npg/devel
pull from devel to master to create release 72.2.1
- Loading branch information
Showing
12 changed files
with
146 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Referenced from: | ||
# https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot | ||
|
||
version: 2 | ||
updates: | ||
|
||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
c3996e4fae37a0ae01839cdd73752fb7b17e81bac2a8b39712463a7d518c4945 perlbrew.sh | ||
8f254651d2eee188199b3355228eb67166974716081b794ca93b69c8f949c38d perlbrew.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
stages: | ||
- generate | ||
- publish | ||
|
||
generate-job: | ||
stage: generate | ||
tags: | ||
- autoscale | ||
rules: | ||
- if: $CI_COMMIT_BRANCH == "devel" || $CI_COMMIT_BRANCH == "master" | ||
changes: | ||
- docs/**/* | ||
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 | ||
rules: | ||
- if: $CI_COMMIT_BRANCH == "devel" || $CI_COMMIT_BRANCH == "master" | ||
changes: | ||
- docs/**/* | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Created from: - Version: - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -357,14 +357,12 @@ around [qw/update insert/] => sub { | |
|
||
##### | ||
# Do not accept half-baked results, ie if we have evaluation | ||
# results, we should also have library type and criteria. | ||
# results, we should also have criteria. | ||
if ($data->{'evaluation_results'} and keys %{$data->{'evaluation_results'}}) { | ||
foreach my $name (qw/library_type criteria/) { | ||
my $value = $data->{$name}; | ||
my $m = "Evaluation results present, but $name absent"; | ||
$value or croak $m; | ||
((not ref $value) or keys %{$value}) or croak $m; | ||
} | ||
my $value = $data->{'criteria'}; | ||
my $m = 'Evaluation results present, but criteria absent'; | ||
$value or croak $m; | ||
((not ref $value) or keys %{$value}) or croak $m; | ||
} | ||
|
||
##### | ||
|
@@ -475,7 +473,7 @@ Marina Gourtovaia E<lt>[email protected]<gt> | |
=head1 LICENSE AND COPYRIGHT | ||
Copyright (C) 2019,2020 Genome Research Ltd. | ||
Copyright (C) 2019,2020, 2924 Genome Research Ltd. | ||
This file is part of NPG. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters