diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml deleted file mode 100644 index ca7b1da03a0..00000000000 --- a/.github/workflows/nightly.yml +++ /dev/null @@ -1,42 +0,0 @@ -# This workflow runs every 24 hours for the following purpose: -# -# - Create + upload *integration* + *master* tarball -# -# All created images are then uploaded to GitHub packages - -name: Nightlies - -# on: push - -on: - schedule: - # every day at 6 am (so that the master of DIRACOS is already created) - - cron: '0 6 * * *' - -jobs: - # running dirac-distribution in the proper image - dirac-distribute: - runs-on: ubuntu-latest - if: github.repository == 'DIRACGrid/DIRAC' - - strategy: - fail-fast: False - matrix: - branch: - - master - - integration - - steps: - - uses: actions/checkout@v4 - - name: create - run: | - docker pull ghcr.io/diracgrid/management/dirac-distribution:latest - docker run ghcr.io/diracgrid/management/dirac-distribution:latest bash -c \ - "python3 dirac-distribution.py -r ${{ matrix.branch }} | tail -n 1 > /tmp/deploy.sh && "\ - "sed -i 's/lhcbprod/${{ secrets.KRB_USERNAME }}/g' /tmp/deploy.sh && "\ - "cat /tmp/deploy.sh && "\ - "echo ${{ secrets.KRB_PASSWORD }} | kinit ${{ secrets.KRB_USERNAME }}@CERN.CH && "\ - "echo readyToUpload && "\ - "export USER=${{ secrets.KRB_USERNAME }} && "\ - "echo reallyReadyToUpload && "\ - "source /tmp/deploy.sh"