Update CI (#760)
* Force machine-id when running tests * Use the source branch instead of master when dispatching to packaging repo
This commit is contained in:
parent
7e9ce901a4
commit
430b4bafbc
2 changed files with 5 additions and 1 deletions
.github/workflows
4
.github/workflows/ci_functests-install.yml
vendored
4
.github/workflows/ci_functests-install.yml
vendored
|
@ -28,6 +28,10 @@ jobs:
|
|||
excludes: draft
|
||||
- name: Build release
|
||||
run: BUILD_VERSION=${{ steps.keydb.outputs.release }} make release
|
||||
- name: "Force machineid"
|
||||
run: |
|
||||
sudo chmod +w /etc/machine-id
|
||||
echo githubciXXXXXXXXXXXXXXXXXXXXXXXX | sudo tee /etc/machine-id
|
||||
- name: Install release
|
||||
run: |
|
||||
cd crowdsec-${{ steps.keydb.outputs.release }}
|
||||
|
|
2
.github/workflows/dispatch_test_debpkg.yaml
vendored
2
.github/workflows/dispatch_test_debpkg.yaml
vendored
|
@ -17,4 +17,4 @@ jobs:
|
|||
token: ${{ secrets.DISPATCH_TOKEN }}
|
||||
event-type: test_package_from_master
|
||||
repository: crowdsecurity/packaging
|
||||
client-payload: '{"branch": "master"}'
|
||||
client-payload: '{"branch": "${{ github.ref }}"}'
|
||||
|
|
Loading…
Add table
Reference in a new issue