From 3bd2e453f6609d74539700d69f38f1f4282c18d4 Mon Sep 17 00:00:00 2001 From: Rafael Solorzano <61289255+rafasdc@users.noreply.github.com> Date: Mon, 24 Jun 2024 09:21:16 -0700 Subject: [PATCH] fix: feature db name to match release name --- .github/workflows/deploy_feature.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/deploy_feature.yaml b/.github/workflows/deploy_feature.yaml index adc9a5279..1c08109fc 100644 --- a/.github/workflows/deploy_feature.yaml +++ b/.github/workflows/deploy_feature.yaml @@ -62,6 +62,8 @@ jobs: openshift_token: ${{ secrets.OPENSHIFT_TOKEN }} - name: Setup database run: | + FEATURE_NAME_LOWER=$(echo $FEATURE_NAME | tr '[:upper:]' '[:lower:]') + FEATURE_NAME_LOWER_SHORT=$(echo $FEATURE_NAME_LOWER | cut -c -30) chmod +x ./lib/feature_envs/create_feature_db.sh ./lib/feature_envs/create_feature_db.sh ccbc ${{ env.FEATURE_NAME }} ${{ secrets.OPENSHIFT_APP_NAMESPACE }} deploy-feature-to-openshift-development: