Fix org_name/repo_name
Signed-off-by: Mihaela Balutoiu <mbalutoiu@cloudbasesolutions.com>
This commit is contained in:
parent
528f521897
commit
cf0c1f188b
2 changed files with 4 additions and 5 deletions
2
.github/workflows/integration-tests.yml
vendored
2
.github/workflows/integration-tests.yml
vendored
|
|
@ -61,6 +61,8 @@ jobs:
|
|||
GARM_FULLNAME: Local GARM Admin
|
||||
GARM_EMAIL: admin@example.com
|
||||
GARM_NAME: local_garm
|
||||
ORG_NAME: gsamfira
|
||||
REPO_NAME: garm-testing
|
||||
CREDENTIALS_NAME: test-garm-creds
|
||||
|
||||
- name: Show GARM logs
|
||||
|
|
|
|||
|
|
@ -26,11 +26,6 @@ import (
|
|||
openapiRuntimeClient "github.com/go-openapi/runtime/client"
|
||||
)
|
||||
|
||||
const (
|
||||
orgName = "gsamfira"
|
||||
repoName = "scripts"
|
||||
)
|
||||
|
||||
var (
|
||||
cli *client.GarmAPI
|
||||
cfg config.Config
|
||||
|
|
@ -41,11 +36,13 @@ var (
|
|||
repoID string
|
||||
repoPoolID string
|
||||
repoInstanceName string
|
||||
repoName = os.Getenv("REPO_NAME")
|
||||
repoWebhookSecret = os.Getenv("REPO_WEBHOOK_SECRET")
|
||||
|
||||
orgID string
|
||||
orgPoolID string
|
||||
orgInstanceName string
|
||||
orgName = os.Getenv("ORG_NAME")
|
||||
orgWebhookSecret = os.Getenv("ORG_WEBHOOK_SECRET")
|
||||
|
||||
username = os.Getenv("GARM_USERNAME")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue