mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-02-03 11:00:09 -05:00
e2e: enable systemd logcollection
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
parent
cb734a2e66
commit
a9ed8c0191
11
.github/actions/constellation_create/action.yml
vendored
11
.github/actions/constellation_create/action.yml
vendored
@ -164,7 +164,16 @@ runs:
|
||||
run: |
|
||||
echo "::group::cdbg deploy"
|
||||
chmod +x $GITHUB_WORKSPACE/build/cdbg
|
||||
cdbg deploy --bootstrapper $GITHUB_WORKSPACE/build/bootstrapper
|
||||
cdbg deploy \
|
||||
--bootstrapper "${{ github.workspace }}/build/bootstrapper" \
|
||||
--info logcollect=true \
|
||||
--info logcollect.github.actor="${{ github.triggering_actor }}" \
|
||||
--info logcollect.github.workflow="${{ github.workflow }}" \
|
||||
--info logcollect.github.run-id="${{ github.run_id }}" \
|
||||
--info logcollect.github.run-attempt="${{ github.run_attempt }}" \
|
||||
--info logcollect.github.ref-name="${{ github.ref_name }}" \
|
||||
--info logcollect.github.sha="${{ github.sha }}" \
|
||||
--info logcollect.github.runner-os="${{ runner.os }}"
|
||||
echo "::endgroup::"
|
||||
|
||||
- name: Constellation init
|
||||
|
@ -10,6 +10,15 @@ package logcollector
|
||||
// under the prefix "logcollect.".
|
||||
func InfoFields() (string, map[string]struct{}) {
|
||||
return "logcollect.", map[string]struct{}{
|
||||
"admin": {}, // the name of the person running the cdbg command
|
||||
"admin": {}, // name of the person running the cdbg command
|
||||
|
||||
// GitHub workflow information, see https://docs.github.com/en/actions/learn-github-actions/environment-variables#default-environment-variables
|
||||
"github.actor": {},
|
||||
"github.workflow": {},
|
||||
"github.run-id": {},
|
||||
"github.run-attempt": {},
|
||||
"github.ref-name": {},
|
||||
"github.sha": {},
|
||||
"github.runner-os": {},
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user