Skip to content

Commit

Permalink
feat: adding MANIFEST.txt files (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
holtgrewe authored Jun 5, 2024
1 parent b0e2181 commit f6024f9
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/actions/clinvar-genes-import/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,9 @@ x-created-from:
EOF

ls -lhR $OUTPUT_DIR

cd $OUTPUT_DIR
hashdeep -l -r . >/tmp/MANIFEST.txt
CHECKSUM=$(sha256sum /tmp/MANIFEST.txt | cut -d ' ' -f 1)
echo "## EOF SHA256=$CHECKSUM" >> /tmp/MANIFEST.txt
cp /tmp/MANIFEST.txt .
6 changes: 6 additions & 0 deletions .github/actions/clinvar-minimal-import/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,9 @@ EOF

ls -lhR $OUTPUT_DIR
cat $OUTPUT_DIR/$genome_release/clinvar-minimal/spec.yaml

cd $OUTPUT_DIR/$genome_release/clinvar-minimal
hashdeep -l -r . >/tmp/MANIFEST.txt
CHECKSUM=$(sha256sum /tmp/MANIFEST.txt | cut -d ' ' -f 1)
echo "## EOF SHA256=$CHECKSUM" >> /tmp/MANIFEST.txt
cp /tmp/MANIFEST.txt .
6 changes: 6 additions & 0 deletions .github/actions/clinvar-sv-import/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,9 @@ EOF

ls -lhR $OUTPUT_DIR
cat $OUTPUT_DIR/$genome_release/clinvar-sv/spec.yaml

cd $OUTPUT_DIR/$genome_release/clinvar-sv
hashdeep -l -r . >/tmp/MANIFEST.txt
CHECKSUM=$(sha256sum /tmp/MANIFEST.txt | cut -d ' ' -f 1)
echo "## EOF SHA256=$CHECKSUM" >> /tmp/MANIFEST.txt
cp /tmp/MANIFEST.txt .
3 changes: 3 additions & 0 deletions .github/workflows/-build-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ jobs:
- GRCh37
- GRCh38
steps:
- run: sudo apt install -y hashdeep
- uses: actions/checkout@v4
- uses: ./.github/actions/clinvar-minimal-import
with:
Expand All @@ -78,6 +79,7 @@ jobs:
- GRCh37
- GRCh38
steps:
- run: sudo apt install -y hashdeep
- uses: actions/checkout@v4
- uses: ./.github/actions/clinvar-sv-import
with:
Expand All @@ -91,6 +93,7 @@ jobs:
needs:
- Download-ClinVar
steps:
- run: sudo apt install -y hashdeep
- uses: actions/checkout@v4
- uses: ./.github/actions/clinvar-genes-import
with:
Expand Down

0 comments on commit f6024f9

Please sign in to comment.