mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2025-10-29 18:12:34 +00:00
Pki2 188 update insta dev01 (#1075)
* Try insta cert Signed-off-by: Carsten Schafer <Carsten.Schafer@kinarasystems.com> * Insta server cert testing Signed-off-by: Carsten Schafer <Carsten.Schafer@kinarasystems.com> * Change qa01 to use insta only Signed-off-by: Carsten Schafer <Carsten.Schafer@kinarasystems.com> * dev01 using insta, so all deployments are now using insta server certs Signed-off-by: Carsten Schafer <Carsten.Schafer@kinarasystems.com> --------- Signed-off-by: Carsten Schafer <Carsten.Schafer@kinarasystems.com> Co-authored-by: Carsten Schafer <Carsten.Schafer@kinarasystems.com>
This commit is contained in:
@@ -12,9 +12,8 @@ env:
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_CLIENT_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_CLIENT_KEY }}
|
||||
|
||||
# DigiCert certs
|
||||
DIGICERT_CERT: ${{ secrets.DIGICERT_CERT }}
|
||||
DIGICERT_KEY: ${{ secrets.DIGICERT_KEY }}
|
||||
WEBSOCKET_CERT: ${{ secrets.INSTA_WEBSOCKET_CERT }}
|
||||
WEBSOCKET_KEY: ${{ secrets.INSTA_WEBSOCKET_KEY }}
|
||||
|
||||
# https://stackoverflow.com/questions/59977364/github-actions-how-use-strategy-matrix-with-script
|
||||
# Required object fiels per environment:
|
||||
@@ -102,8 +101,8 @@ jobs:
|
||||
- name: Prepare certificates from secrets
|
||||
working-directory: wlan-cloud-ucentral-deploy/chart/environment-values
|
||||
run: |
|
||||
echo "${{ env.DIGICERT_CERT }}" | base64 -d > cert.pem
|
||||
echo "${{ env.DIGICERT_KEY }}" | base64 -d > key.pem
|
||||
echo "${{ env.WEBSOCKET_CERT }}" | base64 -d > cert.pem
|
||||
echo "${{ env.WEBSOCKET_KEY }}" | base64 -d > key.pem
|
||||
|
||||
- name: Fetch kubeconfig
|
||||
run: |
|
||||
@@ -129,7 +128,7 @@ jobs:
|
||||
export MAILER_USERNAME=${{ secrets.MAILER_USERNAME }}
|
||||
export MAILER_PASSWORD=${{ secrets.MAILER_PASSWORD }}
|
||||
export IPTOCOUNTRY_IPINFO_TOKEN=${{ secrets.IPTOCOUNTRY_IPINFO_TOKEN }}
|
||||
export VALUES_FILE_LOCATION=values.openwifi-qa.yaml,values.openwifi-qa.single-external-db.yaml,values.openwifi-qa.separate-lbs.yaml
|
||||
export VALUES_FILE_LOCATION=values.openwifi-qa-insta.yaml,values.openwifi-qa.single-external-db.yaml,values.openwifi-qa.separate-lbs.yaml
|
||||
if [[ "${{ github.event.inputs.force_latest }}" == "false" ]]; then
|
||||
export DEPLOY_METHOD=${{ matrix.deploy_method }}
|
||||
export CHART_VERSION=${{ matrix.chart_version }}
|
||||
|
||||
39
.github/workflows/ucentralgw-dev-deployment.yaml
vendored
39
.github/workflows/ucentralgw-dev-deployment.yaml
vendored
@@ -12,24 +12,23 @@ env:
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_CLIENT_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_CLIENT_KEY }}
|
||||
|
||||
# DigiCert certs
|
||||
DIGICERT_CERT: ${{ secrets.DIGICERT_CERT }}
|
||||
DIGICERT_KEY: ${{ secrets.DIGICERT_KEY }}
|
||||
WEBSOCKET_CERT: ${{ secrets.INSTA_WEBSOCKET_CERT }}
|
||||
WEBSOCKET_KEY: ${{ secrets.INSTA_WEBSOCKET_KEY }}
|
||||
|
||||
# # https://stackoverflow.com/questions/59977364/github-actions-how-use-strategy-matrix-with-script
|
||||
# # Required object fiels per environment:
|
||||
# # - namespace - namespace suffix that will used added for the Kubernetes environment (i.e. if you pass 'test', kubernetes namespace will be named 'openwifi-test')
|
||||
# # - deploy_method - deployment method for the chart deployment (supported methods - 'git' (will use helm-git from assembly chart) and 'bundle' (will use chart stored in the Artifactory0
|
||||
# # - chart_version - version of chart to be deployed from assembly chart (for 'git' method git ref may be passed, for 'bundle' method version of chart may be passed)
|
||||
# # - owgw_version - OpenWIFI Gateway version to deploy (will be used for Docker image tag and git branch for Helm chart if git deployment is required)
|
||||
# # - owsec_version - OpenWIFI Security version to deploy (will be used for Docker image tag and git branch for Helm chart if git deployment is required)
|
||||
# # - owfms_version - OpenWIFI Firmware version to deploy (will be used for Docker image tag and git branch for Helm chart if git deployment is required)
|
||||
# # - 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)
|
||||
# https://stackoverflow.com/questions/59977364/github-actions-how-use-strategy-matrix-with-script
|
||||
# Required object fiels per environment:
|
||||
# - namespace - namespace suffix that will used added for the Kubernetes environment (i.e. if you pass 'test', kubernetes namespace will be named 'openwifi-test')
|
||||
# - deploy_method - deployment method for the chart deployment (supported methods - 'git' (will use helm-git from assembly chart) and 'bundle' (will use chart stored in the Artifactory0
|
||||
# - chart_version - version of chart to be deployed from assembly chart (for 'git' method git ref may be passed, for 'bundle' method version of chart may be passed)
|
||||
# - owgw_version - OpenWIFI Gateway version to deploy (will be used for Docker image tag and git branch for Helm chart if git deployment is required)
|
||||
# - owsec_version - OpenWIFI Security version to deploy (will be used for Docker image tag and git branch for Helm chart if git deployment is required)
|
||||
# - owfms_version - OpenWIFI Firmware version to deploy (will be used for Docker image tag and git branch for Helm chart if git deployment is required)
|
||||
# - 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: '[
|
||||
{
|
||||
"namespace": "dev01",
|
||||
@@ -102,8 +101,8 @@ jobs:
|
||||
- name: Prepare certificates from secrets
|
||||
working-directory: wlan-cloud-ucentral-deploy/chart/environment-values
|
||||
run: |
|
||||
echo "${{ env.DIGICERT_CERT }}" | base64 -d > cert.pem
|
||||
echo "${{ env.DIGICERT_KEY }}" | base64 -d > key.pem
|
||||
echo "${{ env.WEBSOCKET_CERT }}" | base64 -d > cert.pem
|
||||
echo "${{ env.WEBSOCKET_KEY }}" | base64 -d > key.pem
|
||||
|
||||
- name: Fetch kubeconfig
|
||||
run: |
|
||||
@@ -129,7 +128,7 @@ jobs:
|
||||
export MAILER_USERNAME=${{ secrets.MAILER_USERNAME }}
|
||||
export MAILER_PASSWORD=${{ secrets.MAILER_PASSWORD }}
|
||||
export IPTOCOUNTRY_IPINFO_TOKEN=${{ secrets.IPTOCOUNTRY_IPINFO_TOKEN }}
|
||||
export VALUES_FILE_LOCATION=values.openwifi-qa.yaml,values.openwifi-qa.single-external-db.yaml,values.openwifi-qa.separate-lbs.yaml
|
||||
export VALUES_FILE_LOCATION=values.openwifi-qa-insta.yaml,values.openwifi-qa.single-external-db.yaml,values.openwifi-qa.separate-lbs.yaml
|
||||
if [[ "${{ github.event.inputs.force_latest }}" == "false" ]]; then
|
||||
export DEPLOY_METHOD=${{ matrix.deploy_method }}
|
||||
export CHART_VERSION=${{ matrix.chart_version }}
|
||||
|
||||
@@ -12,7 +12,6 @@ env:
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_CLIENT_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_CLIENT_KEY }}
|
||||
|
||||
# DigiCert certs
|
||||
WEBSOCKET_CERT: ${{ secrets.INSTA_WEBSOCKET_CERT }}
|
||||
WEBSOCKET_KEY: ${{ secrets.INSTA_WEBSOCKET_KEY }}
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@ env:
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_CLIENT_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_CLIENT_KEY }}
|
||||
|
||||
# DigiCert certs
|
||||
WEBSOCKET_CERT: ${{ secrets.INSTA_WEBSOCKET_CERT }}
|
||||
WEBSOCKET_KEY: ${{ secrets.INSTA_WEBSOCKET_KEY }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user