Skip to content

Update ci.yml to not run jenkins job #3

Update ci.yml to not run jenkins job

Update ci.yml to not run jenkins job #3

Workflow file for this run

name: CI

Check failure on line 1 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

(Line: 41, Col: 37): Unrecognized named-value: 'env'. Located at position 1 within expression: env.LOGFILE
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