Skip to content

Commit 45e1e25

Browse files
committed
ELI-338: Tests sandbox
1 parent f856ffe commit 45e1e25

1 file changed

Lines changed: 48 additions & 47 deletions

File tree

.github/workflows/dev_sandbox_publish_deploy.yaml

Lines changed: 48 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- main
7+
- ELI-338
78

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

7374
sandbox:
74-
needs: dev
75+
# needs: dev
7576
runs-on: ubuntu-latest
7677
steps:
7778
- name: Checkout repository

0 commit comments

Comments
 (0)