Update ci.yml to not run jenkins job #3
This file contains hidden or 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
| name: CI | ||
| on: | ||
| pull_request_target: | ||
| types: [ opened, reopened, ready_for_review, synchronize ] | ||
| workflow_dispatch: | ||
| # This allows a subsequently queued workflow run to interrupt previous runs | ||
| concurrency: | ||
| group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' | ||
| cancel-in-progress: true | ||
| env: | ||
| LOGFILE: logs-${{ github.event.repository.owner.login }}-${{ github.event.repository.name }}-${{ github.event.pull_request.number }}-${{ github.event.pull_request.head.sha }} | ||
| jobs: | ||
| Run-Common-CI: | ||
| uses: dm-vdo/vdo-org-actions/.github/workflows/ci.yaml@main | ||
| with: | ||
| run-public-tests: true | ||
| public-tests-action: make jenkins | ||
| public-tests-action-failure: | | ||
| cd logs | ||
| for i in *; | ||
| do | ||
| if [ -d "$i" ]; then | ||
| cd $i | ||
| for file in *::*.log; | ||
| do | ||
| [ -e "$file" ] || continue | ||
| mv "${file}" "${file/::/--}" | ||
| done | ||
| cd .. | ||
| else | ||
| mv "${i}" "${i/::/--}" | ||
| fi | ||
| done | ||
| # Call the Jenkins job | ||
| run-private-tests: true | ||
| private-tests-action: make jenkins | ||
| private-tests-action-failure: | | ||
| cp -a logs /permabit/user/bunsen/artifacts/${{ env.LOGFILE }} | ||
| secrets: inherit | ||