Skip to content

Commit 570b7e7

Browse files
Merge branch 'master' into FLAGSAPI-1360-alerts-additional-information
2 parents ebe62ae + 2b5c2a8 commit 570b7e7

File tree

14 files changed

+1106
-1054
lines changed

14 files changed

+1106
-1054
lines changed

.github/workflows/build.yaml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,39 @@ jobs:
1313
- uses: actions/checkout@v3
1414
with:
1515
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
16+
1617
- name: Set up JDK 17
1718
uses: actions/setup-java@v3
1819
with:
1920
java-version: 17
2021
distribution: 'zulu' # Alternative distribution options are available
22+
2123
- name: Cache SonarCloud packages
2224
uses: actions/cache@v3
2325
with:
2426
path: ~/.sonar/cache
2527
key: ${{ runner.os }}-sonar
2628
restore-keys: ${{ runner.os }}-sonar
29+
30+
- name: Setup Gradle
31+
uses: gradle/gradle-build-action@v2
32+
with:
33+
gradle-version: 7.4.2
34+
35+
- name: Generate wrapper
36+
working-directory: docker/service
37+
run: gradle wrapper --gradle-version 7.4.2
38+
2739
- name: Cache Gradle packages
2840
uses: actions/cache@v3
2941
with:
3042
path: ~/.gradle/caches
3143
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
3244
restore-keys: ${{ runner.os }}-gradle
45+
3346
- name: Build and analyze
47+
working-directory: docker/service
3448
env:
3549
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
3650
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
37-
run: cd docker/service && gradle wrapper --gradle-version 7.4.2 && ./gradlew build sonar --info # Gradle version needed
51+
run: ./gradlew build sonar --info

.github/workflows/continuous-integration.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ jobs:
1010
- name: Checkout
1111
uses: actions/checkout@v2
1212
with:
13-
fetch-depth: 0 # This causes all history to be fetched, which is required for calculate-version to function
13+
fetch-depth: 0 # This causes all history to be fetched, which is required for calculate-version to function
1414

15-
- name: Install Python 3.9
15+
- name: Install Python 3.13
1616
uses: actions/setup-python@v1
1717
with:
18-
python-version: 3.9
18+
python-version: 3.13
1919

2020
- name: Update apt repositories
2121
run: sudo apt update

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,4 @@ __pycache__/
1313
.venv/
1414
smoketest-report.xml
1515
*.code-workspace
16-
.python-version
17-
.vscode/
16+
.vscode/

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.13.2

Pipfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ name = "pypi"
88
[dev-packages]
99

1010
[requires]
11-
python_version = "3.9"
11+
python_version = "3.13"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The current release is version 3.0 stable.
3131
### Requirements
3232
* make
3333
* nodejs + npm/yarn
34-
* [poetry](https://github.com/python-poetry/poetry)
34+
* [poetry version 2.1.2](https://github.com/python-poetry/poetry)
3535
* Java 8+
3636

3737
### Install

azure/azure-build-pipeline.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ trigger:
1010

1111
pr:
1212
branches:
13-
include: ['*']
13+
include: ["*"]
1414

1515
resources:
1616
repositories:
@@ -26,7 +26,7 @@ variables:
2626
extends:
2727
template: azure/common/apigee-build.yml@common
2828
parameters:
29-
python_version: 3.9
29+
python_version: 3.13
3030
service_name: ${{ variables.service_name }}
3131
short_service_name: ${{ variables.short_service_name }}
3232

azure/azure-pr-pipeline.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ resources:
2121
- refs/tags/v*
2222

2323
pool:
24-
name: 'AWS-ECS'
24+
name: "AWS-ECS"
2525

2626
variables:
2727
- template: project.yml
2828

2929
extends:
3030
template: azure/common/apigee-deployment.yml@common
3131
parameters:
32-
python_version: 3.9
32+
python_version: 3.13
3333
service_name: ${{ variables.service_name }}
3434
service_base_path: ${{ variables.service_base_path }}
3535
short_service_name: ${{ variables.short_service_name }}

azure/templates/run-tests-int.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ parameters:
77
steps:
88
- task: UsePythonVersion@0
99
inputs:
10-
versionSpec: "3.9"
10+
versionSpec: "3.13"
1111

1212
- task: s3-cache-action@1
1313
inputs:

azure/templates/run-tests-prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
steps:
22
- task: UsePythonVersion@0
33
inputs:
4-
versionSpec: "3.9"
4+
versionSpec: "3.13"
55

66
- task: s3-cache-action@1
77
inputs:

0 commit comments

Comments
 (0)