Skip to content

Commit a3d6538

Browse files
authored
Merge pull request #339 from NHSDigital/feature/rgjb-eli-604-rotate_proxygen_key_in_ptl_and_prod
[ELI-604] comment out instead of if false
2 parents 08733f0 + a664fa7 commit a3d6538

1 file changed

Lines changed: 44 additions & 44 deletions

File tree

.github/workflows/dev_sandbox_publish_deploy.yaml

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -23,50 +23,50 @@ jobs:
2323
echo "Deploying to: DEV & Sandbox"
2424
echo "VERSION=${{ steps.variables.outputs.version }}"
2525
26-
internal-dev:
27-
name: "Publish spec & deploy to dev"
28-
needs: metadata
29-
runs-on: ubuntu-latest
30-
if: false # Skip this job
31-
steps:
32-
- name: Checkout repository
33-
uses: actions/checkout@v6
34-
35-
- name: Set up Python 3.11
36-
uses: actions/setup-python@v6
37-
with:
38-
python-version: '3.11'
39-
40-
- name: Set up Node.js
41-
uses: actions/setup-node@v6
42-
with:
43-
node-version: '20'
44-
45-
- name: Install Poetry
46-
run: curl -sSL https://install.python-poetry.org | python3 -
47-
48-
- name: Install Python and Node dependencies
49-
run: |
50-
make install
51-
52-
- name: Install proxygen-cli
53-
run: |
54-
pip install proxygen-cli
55-
56-
- name: Set up Proxygen credentials
57-
env:
58-
PROXYGEN_PRIVATE_KEY: ${{ secrets.PROXYGEN_PRIVATE_KEY_PTL }}
59-
run: |
60-
mkdir -p ~/.proxygen
61-
echo "$PROXYGEN_PRIVATE_KEY" > ~/.proxygen/eligibility-signposting-api.pem
62-
make setup-proxygen-credentials ENV=ptl
63-
- name: Generate specification
64-
run: |
65-
make construct-spec APIM_ENV=internal-dev
66-
67-
- name: Deploy internal-dev spec to Proxygen
68-
run: |
69-
proxygen instance deploy internal-dev eligibility-signposting-api build/specification/internal-dev/eligibility-signposting-api.yaml --no-confirm
26+
# internal-dev:
27+
# name: "Publish spec & deploy to dev"
28+
# needs: metadata
29+
# runs-on: ubuntu-latest
30+
# if: false # Skip this job
31+
# steps:
32+
# - name: Checkout repository
33+
# uses: actions/checkout@v6
34+
#
35+
# - name: Set up Python 3.11
36+
# uses: actions/setup-python@v6
37+
# with:
38+
# python-version: '3.11'
39+
#
40+
# - name: Set up Node.js
41+
# uses: actions/setup-node@v6
42+
# with:
43+
# node-version: '20'
44+
#
45+
# - name: Install Poetry
46+
# run: curl -sSL https://install.python-poetry.org | python3 -
47+
#
48+
# - name: Install Python and Node dependencies
49+
# run: |
50+
# make install
51+
#
52+
# - name: Install proxygen-cli
53+
# run: |
54+
# pip install proxygen-cli
55+
#
56+
# - name: Set up Proxygen credentials
57+
# env:
58+
# PROXYGEN_PRIVATE_KEY: ${{ secrets.PROXYGEN_PRIVATE_KEY_PTL }}
59+
# run: |
60+
# mkdir -p ~/.proxygen
61+
# echo "$PROXYGEN_PRIVATE_KEY" > ~/.proxygen/eligibility-signposting-api.pem
62+
# make setup-proxygen-credentials ENV=ptl
63+
# - name: Generate specification
64+
# run: |
65+
# make construct-spec APIM_ENV=internal-dev
66+
#
67+
# - name: Deploy internal-dev spec to Proxygen
68+
# run: |
69+
# proxygen instance deploy internal-dev eligibility-signposting-api build/specification/internal-dev/eligibility-signposting-api.yaml --no-confirm
7070

7171
sandbox:
7272
name: "Publish spec & deploy to sandbox"

0 commit comments

Comments
 (0)