[WIFI-9155] Add: deployment env variables for OWRRM (#631)

Signed-off-by: Dmitry Dunaev <dmitry@opsfleet.com>
This commit is contained in:
Dmitry Dunaev
2022-07-07 10:49:42 +03:00
committed by GitHub
parent 8728077c54
commit 6cc5d321ab
3 changed files with 13 additions and 0 deletions

View File

@@ -37,6 +37,10 @@ on:
default: 'main'
description: 'OpenWIFI Subscription (Userportal) version to be deployed'
required: false
owrrm_version:
default: 'main'
description: 'OpenWIFI radio resource management service version to be deployed'
required: false
id:
description: 'run identifier'
required: false
@@ -123,6 +127,7 @@ jobs:
export OWPROVUI_VERSION=main
export OWANALYTICS_VERSION=${{ github.event.inputs.owanalytics_version }}
export OWSUB_VERSION=${{ github.event.inputs.owsub_version }}
export OWRRM_VERSION=${{ github.event.inputs.owrrm_version }}
export VALUES_FILE_LOCATION=values.openwifi-qa.yaml
export RTTY_TOKEN=${{ secrets.RTTY_TOKEN }}
export OWGW_AUTH_USERNAME=${{ secrets.UCENTRALGW_AUTH_USERNAME }}

View File

@@ -170,6 +170,7 @@ jobs:
export OWPROVUI_VERSION=main
export OWANALYTICS_VERSION=main
export OWSUB_VERSION=main
export OWRRM_VERSION=main
export VALUES_FILE_LOCATION=values.openwifi-qa.yaml,values.openwifi-qa.test-nodes.yaml,values.openwifi-qa.owls-enabled.yaml
export RTTY_TOKEN=${{ secrets.RTTY_TOKEN }}
export OWGW_AUTH_USERNAME=${{ secrets.UCENTRALGW_AUTH_USERNAME }}
@@ -435,6 +436,7 @@ jobs:
export OWPROVUI_VERSION=main
export OWANALYTICS_VERSION=main
export OWSUB_VERSION=main
export OWRRM_VERSION=main
export VALUES_FILE_LOCATION=values.openwifi-qa.yaml,values.openwifi-qa.test-nodes.yaml,values.openwifi-qa.owls-enabled.yaml
export RTTY_TOKEN=${{ secrets.RTTY_TOKEN }}
export OWGW_AUTH_USERNAME=${{ secrets.UCENTRALGW_AUTH_USERNAME }}
@@ -627,6 +629,7 @@ jobs:
export OWPROVUI_VERSION=main
export OWANALYTICS_VERSION=main
export OWSUB_VERSION=main
export OWRRM_VERSION=main
export VALUES_FILE_LOCATION=values.openwifi-qa.yaml,values.openwifi-qa.test-nodes.yaml,values.openwifi-qa.owls-enabled.yaml
export RTTY_TOKEN=${{ secrets.RTTY_TOKEN }}
export OWGW_AUTH_USERNAME=${{ secrets.UCENTRALGW_AUTH_USERNAME }}
@@ -792,6 +795,7 @@ jobs:
export OWPROVUI_VERSION=main
export OWANALYTICS_VERSION=main
export OWSUB_VERSION=main
export OWRRM_VERSION=main
export VALUES_FILE_LOCATION=values.openwifi-qa.yaml,values.openwifi-qa.test-nodes.yaml,values.openwifi-qa.owls-enabled.yaml,values.openwifi-qa.external-db.yaml
export RTTY_TOKEN=${{ secrets.RTTY_TOKEN }}
export OWGW_AUTH_USERNAME=${{ secrets.UCENTRALGW_AUTH_USERNAME }}

View File

@@ -27,6 +27,7 @@ env:
# - owprov_version - OpenWIFI Provisioning version to deploy (will be used for Docker image tag and git branch for Helm chart if git deployment is required)
# - owanalytics_version - OpenWIFI Analytics version to deploy (will be used for Docker image tag and git branch for Helm chart if git deployment is required)
# - owsub_version - OpenWIFI Subscription (Userportal) version to deploy (will be used for Docker image tag and git branch for Helm chart if git deployment is required)
# - owrrm_version - OpenWIFI radio resource management service version to deploy (will be used for Docker image tag and git branch for Helm chart if git deployment is required)
# - owgwui_version - OpenWIFI Web UI version to deploy (will be used for Docker image tag and git branch for Helm chart if git deployment is required)
# - owprovui_version - OpenWIFI Provisioning Web UI version to deploy (will be used for Docker image tag and git branch for Helm chart if git deployment is required)
testbeds: '[
@@ -40,6 +41,7 @@ env:
"owprov_version": "main",
"owanalytics_version": "main",
"owsub_version": "main",
"owrrm_version": "main",
"owgwui_version": "main",
"owprovui_version": "main"
}
@@ -138,6 +140,7 @@ jobs:
export OWPROVUI_VERSION=${{ matrix.owprovui_version }}
export OWANALYTICS_VERSION=${{ matrix.owanalytics_version }}
export OWSUB_VERSION=${{ matrix.owsub_version }}
export OWRRM_VERSION=${{ matrix.owrrm_version }}
./deploy.sh
else
export DEPLOY_METHOD=git
@@ -150,6 +153,7 @@ jobs:
export OWPROVUI_VERSION=main
export OWANALYTICS_VERSION=main
export OWSUB_VERSION=main
export OWRRM_VERSION=main
./deploy.sh
fi