Skip to content

Commit

Permalink
Install dependencies and set RUN_USER
Browse files Browse the repository at this point in the history
Install make dependencies and default to current user

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
  • Loading branch information
gabriel-samfira committed Feb 26, 2024
1 parent 8728051 commit b9b185d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
- name: Setup LXD
uses: canonical/setup-lxd@v0.1.1

- name: Install dependencies
run: sudo apt-get -qq update && sudo apt-get -qq install -y apg coreutils make

- name: Build GARM
run: make build

Expand All @@ -39,8 +42,6 @@ jobs:

- name: Generate secrets
run: |
sudo apt-get -qq update && sudo apt-get -qq install -y apg
GARM_PASSWORD=$(apg -n1 -m32)
REPO_WEBHOOK_SECRET=$(apg -n1 -m32)
ORG_WEBHOOK_SECRET=$(apg -n1 -m32)
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export ORG_WEBHOOK_SECRET = ${GEN_PASSWORD}
export CREDENTIALS_NAME ?= test-garm-creds
export WORKFLOW_FILE_NAME ?= test.yml
export GARM_ADMIN_USERNAME ?= admin
export RUN_USER ?= $(shell whoami)

.PHONY: help
help: ## Display this help.
Expand Down

0 comments on commit b9b185d

Please sign in to comment.