From bead424d4321173bed417a54da2b60f9efbb778c Mon Sep 17 00:00:00 2001 From: alessandrofrittelladxc <148411792+alessandrofrittelladxc@users.noreply.github.com> Date: Wed, 7 Feb 2024 17:21:29 +0100 Subject: [PATCH] feat(cr-pipeline): updates 20240207 --- .github/workflows/release.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 05f3d77b1..19fc7b369 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -484,6 +484,33 @@ jobs: - name: Setup Kubeconfig run: | aws eks update-kubeconfig --region ${{ secrets.AWS_REGION }} --name ${{ secrets.AWS_CLUSTER }} + + cat <<-EOSF >> ${{ github.workspace }}/github-config.sec + AWS_ACCESS_KEY_ID=${{secrets.AWS_ACCESS_KEY_ID}} + AWS_CLUSTER=${{secrets.AWS_CLUSTER}} + AWS_REGION=${{secrets.AWS_REGION}} + AWS_ROLE_TO_ASSUME=${{secrets.AWS_ROLE_TO_ASSUME}} + AWS_SECRET_ACCESS_KEY=${{secrets.AWS_SECRET_ACCESS_KEY}} + K8S_INGRESS_CERTIFICATE=${{secrets.K8S_INGRESS_CERTIFICATE}} + K8S_NAMESPACE=${{secrets.K8S_NAMESPACE}} + REACT_APP_BE_BASE_URL=${{secrets.REACT_APP_BE_BASE_URL}} + REACT_APP_COGNITO_BASE_URL=${{secrets.REACT_APP_COGNITO_BASE_URL}} + REACT_APP_COGNITO_CLIENT_ID=${{secrets.REACT_APP_COGNITO_CLIENT_ID}} + REACT_APP_COGNITO_CLIENT_SECRET=${{secrets.REACT_APP_COGNITO_CLIENT_SECRET}} + REACT_APP_COGNITO_FE_REDIRECT_URL=${{secrets.REACT_APP_COGNITO_FE_REDIRECT_URL}} + REACT_APP_DASHBOARD_BASE_URL=${{secrets.REACT_APP_DASHBOARD_BASE_URL}} + REACT_APP_DASHBOARD_BI_URL=${{secrets.REACT_APP_DASHBOARD_BI_URL}} + REACT_APP_DRUPAL_BASE_URL=${{secrets.REACT_APP_DRUPAL_BASE_URL}} + REACT_APP_DRUPAL_SETTINGS=${{secrets.REACT_APP_DRUPAL_SETTINGS}} + REACT_APP_QUICKSIGHT_BASE_URL=${{secrets.REACT_APP_QUICKSIGHT_BASE_URL}} + REACT_APP_QUICKSIGHT_SETTINGS=${{secrets.REACT_APP_QUICKSIGHT_SETTINGS}} + REACT_APP_ROCKET_CHAT_BASE_URL=${{secrets.REACT_APP_ROCKET_CHAT_BASE_URL}} + REACT_APP_ROCKET_CHAT_SETTINGS=${{secrets.REACT_APP_ROCKET_CHAT_SETTINGS}} + REACT_APP_WORKDOCS_BASE_URL=${{secrets.REACT_APP_WORKDOCS_BASE_URL}} + REACT_APP_WORKDOCS_SETTINGS=${{secrets.REACT_APP_WORKDOCS_SETTINGS}} + EOSF + + kubectl create configmap -n "${{ secrets.K8S_NAMESPACE }}" github-conf --from-file="${{ github.workspace }}/github-config.sec" - name: Setup Image TAG id: imagetag