Skip to content

Commit

Permalink
test: upload pilot.tar as artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
fstagni committed Jul 11, 2024
1 parent 1cf1211 commit 3c330bd
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on: push


jobs:
# uploading master and devel tarballs to web server, for use in subsequent tests
# uploading master and devel tarballs as artifacts, for use in subsequent tests
# the base tests that use these uploaded tarballs are the DIRAC "pilot wrapper" tests:
# https://github.com/DIRACGrid/DIRAC/actions?query=workflow%3A%22pilot+wrapper%22
# (triggered by https://github.com/DIRACGrid/DIRAC/blob/integration/.github/workflows/pilotWrapper.yml)
Expand All @@ -31,7 +31,6 @@ jobs:

- name: create artifacts
run: |
pwd
mkdir tmp_dir
cp Pilot/*.py tmp_dir/
cp tests/pilot.json tmp_dir/
Expand All @@ -40,13 +39,8 @@ jobs:
tar -cf pilot.tar *.py
# make the checksums file
sha512sum pilot.tar pilot.json *.py > checksums.sha512
cd ..
cp tmp_dir/checksums.sha512 .
cp tmp_dir/pilot.tar .
pwd
ls -l
cp tmp_dir/checksums.sha512 ../
cp tmp_dir/pilot.tar ../
# remove unneeded files
rm *.py
- name: upload artifacts
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 3c330bd

Please sign in to comment.