@@ -4,7 +4,7 @@ description: "Build Proxies"
44inputs :
55 version :
66 description : " Version number"
7- required : true
7+ required : false
88 releaseVersion :
99 description : " Release, tag, branch, or commit ID to be used for deployment"
1010 required : true
4848 ENV="${{ inputs.environment }}"
4949 if [[ "$ENV" == "internal-dev" || "$ENV" == pr* ]]; then
5050 echo "TARGET_DOMAIN=suppliers.dev.nhsnotify.national.nhs.uk" >> $GITHUB_ENV
51- elif [[ "$ENV" == "uat " ]]; then
51+ elif [[ "$ENV" == "int " ]]; then
5252 echo "TARGET_DOMAIN=suppliers.nonprod.nhsnotify.national.nhs.uk" >> $GITHUB_ENV
5353 elif [[ "$ENV" == "prod" ]]; then
5454 echo "TARGET_DOMAIN=suppliers.prod.nhsnotify.national.nhs.uk" >> $GITHUB_ENV
6969 echo "MTLS_NAME=notify-supplier-mtls-pr$PR_NUMBER" >> $GITHUB_ENV
7070 fi
7171
72- # - name: Install Proxygen client
73- # shell: bash
74- # run: |
75- # # Install proxygen cli
76- # pip install pipx
77- # pipx install proxygen-cli
78-
79- # # Setup proxygen auth and settings
80- # mkdir -p ${HOME}/.proxygen
81- # echo -n $PROXYGEN_PRIVATE_KEY | base64 --decode > ${HOME}/.proxygen/key
82- # envsubst < ./.github/proxygen-credentials-template.yaml > ${HOME}/.proxygen/credentials.yaml
83- # envsubst < ./.github/proxygen-credentials-template.yaml | cat
84- # envsubst < ./.github/proxygen-settings.yaml > ${HOME}/.proxygen/settings.yaml
85- # envsubst < ./.github/proxygen-settings.yaml | cat
86-
8772 - name : Build ${{ inputs.apimEnv }} oas
8873 working-directory : .
8974 shell : bash
@@ -123,12 +108,3 @@ runs:
123108 --targetDomain "$TARGET_DOMAIN" \
124109 --version "${{ inputs.version }}"
125110
126- # - name: Set docker tag
127- # shell: bash
128- # run: |
129- # jq --arg newtag "$SANDBOX_TAG" '.["x-nhsd-apim"].target.containers[0].image.tag = $newtag' build/notify-supplier.json > build/notify-supplier_target.json && mv build/notify-supplier_target.json build/notify-supplier.json
130-
131- # - name: Deploy to Internal Dev Sandbox
132- # shell: bash
133- # run: |
134- # proxygen instance deploy internal-dev-${{ inputs.apimEnv }} $INSTANCE build/notify-supplier.json --no-confirm
0 commit comments