Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
fstagni committed Oct 4, 2023
1 parent c4f484e commit ebc0dee
Showing 1 changed file with 18 additions and 8 deletions.
26 changes: 18 additions & 8 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,18 @@ jobs:
run: |
cd Pilot
mkdir -p etc/grid-security
echo $HOSTCERT_BASE64 | base64 --decode > etc/grid-security/hostcert.pem
echo $HOSTKEY_BASE64 | base64 --decode > etc/grid-security/hostkey.pem
echo "$HOSTCERT_BASE64" | wc
echo "$HOSTKEY_BASE64" | wc
echo ${{ secrets.HOSTKEY_BASE64 }} | wc
echo "${{ secrets.HOSTKEY_BASE64 }}" | wc
base64 --version
echo "$HOSTCERT_BASE64" | base64 --decode
echo "$HOSTKEY_BASE64" | base64 --decode
echo "$HOSTCERT_BASE64" | base64 --decode > etc/grid-security/hostcert.pem
echo "$HOSTKEY_BASE64" | base64 --decode > etc/grid-security/hostkey.pem
chmod 440 etc/grid-security/hostcert.pem
chmod 400 etc/grid-security/hostkey.pem
ls -l etc/grid-security
- name: tests
run: |
cd Pilot
Expand All @@ -45,12 +53,12 @@ jobs:
python dirac-pilot.py --modules https://github.com/DIRACGrid/DIRAC.git:::DIRAC:::${{ matrix.dirac_version }} -M 1 -S DIRAC-Certification -N jenkins.cern.ch -Q jenkins-queue_not_important -n DIRAC.Jenkins.ch --cert --certLocation=${GITHUB_WORKSPACE}/Pilot/etc/grid-security --debug
cat pilot.cfg
matching:
runs-on: ubuntu-latest

container: python:3.9.17-slim



steps:
- uses: actions/checkout@v4
- name: Retrieve the secret and decode it to a file
Expand All @@ -60,8 +68,8 @@ jobs:
run: |
cd Pilot
mkdir -p etc/grid-security
echo $HOSTCERT_BASE64 | base64 --decode > etc/grid-security/hostcert.pem
echo $HOSTKEY_BASE64 | base64 --decode > etc/grid-security/hostkey.pem
echo "$HOSTCERT_BASE64" | base64 --decode > etc/grid-security/hostcert.pem
echo "$HOSTKEY_BASE64" | base64 --decode > etc/grid-security/hostkey.pem
chmod 440 etc/grid-security/hostcert.pem
chmod 400 etc/grid-security/hostkey.pem
- name: tests
Expand Down Expand Up @@ -99,6 +107,8 @@ jobs:
sudo apt-get update
sudo apt-get install cvmfs
sudo cvmfs_config setup
ls /cvmfs/
ls /cvmfs/lhcb.cern.ch/
ls /cvmfs/lhcb.cern.ch/lhcbdirac
- name: Retrieve the secret and decode it to a file
env:
Expand All @@ -109,8 +119,8 @@ jobs:
mkdir -p etc/grid-security/vomses
mkdir -p etc/grid-security/vomsdir
mkdir -p etc/grid-security/certificates
echo $HOSTCERT_BASE64 | base64 --decode > etc/grid-security/hostcert.pem
echo $HOSTKEY_BASE64 | base64 --decode > etc/grid-security/hostkey.pem
echo "$HOSTCERT_BASE64" | base64 --decode > etc/grid-security/hostcert.pem
echo "$HOSTKEY_BASE64" | base64 --decode > etc/grid-security/hostkey.pem
chmod 440 etc/grid-security/hostcert.pem
chmod 400 etc/grid-security/hostkey.pem
- name: tests
Expand Down

0 comments on commit ebc0dee

Please sign in to comment.