Skip to content

Commit 45deaa1

Browse files
authored
Revert "APM-6800"
1 parent 5c24cc5 commit 45deaa1

7 files changed

Lines changed: 965 additions & 1302 deletions

File tree

.github/workflows/apigee-release-pipeline.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,8 @@ defaults:
33
run:
44
shell: bash # Explicitly sets pipeline to fail if any subprocess fails
55
on:
6-
push:
7-
branches:
8-
- master
9-
permissions:
10-
contents: read
6+
push
7+
permissions: read-all
118

129
jobs:
1310
deploy-hello-world:
@@ -92,10 +89,10 @@ jobs:
9289
token="${token#\"}"
9390
echo "APIGEE_ACCESS_TOKEN=$token" >> $GITHUB_ENV
9491
95-
- name: Install Python 3.13
92+
- name: Install Python 3.9
9693
uses: actions/setup-python@v5
9794
with:
98-
python-version: 3.13
95+
python-version: 3.9
9996

10097
- name: Upgrade python packaging tools
10198
run: python -m pip install --upgrade pip cryptography

.github/workflows/continous-integration-workflow.yaml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414
with:
1515
fetch-depth: 0 # This causes all history to be fetched, which is required for calculate-version to function
1616

17-
- name: Install Python 3.13
17+
- name: Install Python 3.9
1818
uses: actions/setup-python@v5
1919
with:
20-
python-version: 3.13
20+
python-version: 3.9
2121

2222
- name: Update apt repositories
2323
run: sudo apt update
@@ -49,14 +49,10 @@ jobs:
4949
- name: Check licenses
5050
run: make check-licenses
5151

52-
# - name: Set SPEC_VERSION env var
53-
# run: echo ::set-env name=SPEC_VERSION::$(poetry run python scripts/calculate_version.py)
54-
# env:
55-
# ACTIONS_ALLOW_UNSECURE_COMMANDS: true
56-
5752
- name: Set SPEC_VERSION env var
58-
run: echo "SPEC_VERSION=$(poetry run python scripts/calculate_version.py)" >> "$GITHUB_ENV"
59-
53+
run: echo ::set-env name=SPEC_VERSION::$(poetry run python scripts/calculate_version.py)
54+
env:
55+
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
6056

6157
- name: Create release (master only)
6258
id: create-release

.github/workflows/spec-release-pipeline.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ defaults:
44
shell: bash # Explicitly sets pipeline to fail if any subprocess fails
55
on:
66
push
7-
permissions:
8-
contents: read
7+
permissions: read-all
98

109
jobs:
1110
deploy-hello-world-spec:
@@ -39,10 +38,10 @@ jobs:
3938
echo PR number - $pr_number
4039
fi
4140
42-
- name: Install Python 3.13
41+
- name: Install Python 3.9
4342
uses: actions/setup-python@v5
4443
with:
45-
python-version: 3.13
44+
python-version: 3.9
4645

4746
- name: Install Proxygen client
4847
run: |

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ The contents of this repository are protected by Crown Copyright (C).
3333

3434
### Proxygen
3535

36-
Hello World is the first API to use API Management's Proxygen to deploy the proxy, products, sandbox and spec through API calls.
36+
Hello World is the first API to use API Management's Proxygen to deploy the proxy, products, sandbox and spec through API calls.
3737

3838
The Proxygen API calls are handled by the Proxygen CLI
3939

0 commit comments

Comments
 (0)