Fix org_name/repo_name

Signed-off-by: Mihaela Balutoiu <mbalutoiu@cloudbasesolutions.com>
This commit is contained in:
Mihaela Balutoiu 2023-08-02 20:23:46 +03:00
parent 528f521897
commit cf0c1f188b
2 changed files with 4 additions and 5 deletions

View file

@ -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

View file

@ -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")