Fetch credentials from DB
Do not rely on the entity object to hold updated or detailed credentials, fetch them from the DB every time. This change also ensures that we pass in the user context instead of the runner context to the DB methods. Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
This commit is contained in:
parent
c2b974dfa0
commit
1256473089
8 changed files with 88 additions and 20 deletions
3
.github/workflows/integration-tests.yml
vendored
3
.github/workflows/integration-tests.yml
vendored
|
|
@ -54,7 +54,7 @@ jobs:
|
|||
run: |
|
||||
set -o pipefail
|
||||
set -o errexit
|
||||
make integration 2>&1 | tee /artifacts-logs/e2e.log
|
||||
make integration 2>&1
|
||||
env:
|
||||
GARM_BASE_URL: ${{ steps.ngrok.outputs.tunnel-url }}
|
||||
ORG_NAME: gsamfira
|
||||
|
|
@ -68,6 +68,7 @@ jobs:
|
|||
run: |
|
||||
sudo systemctl status garm@runner || true
|
||||
sudo journalctl --no-pager 2>&1 > /artifacts-logs/system.log
|
||||
sudo journalctl -u garm@runner --no-pager 2>&1 > /artifacts-logs/garm.log
|
||||
|
||||
- name: Upload GARM and e2e logs
|
||||
if: always()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue