Skip to content

Commit 3efd569

Browse files
Merge branch 'dev' into add-images-oauth-scope
2 parents ef73d93 + 699525b commit 3efd569

73 files changed

Lines changed: 4627 additions & 341 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/labels.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,15 @@
2626
- name: breaking-change
2727
description: for breaking changes in the changelog.
2828
color: ff0000
29+
- name: security
30+
description: for security fixes and improvements in the changelog.
31+
color: AA1111
32+
- name: community-contribution
33+
description: contributions from the community.
34+
color: 22ee47
35+
- name: hotfix
36+
description: urgent fixes for production issues.
37+
color: ff0000
2938
- name: ignore-for-release
3039
description: PRs you do not want to render in the changelog
3140
color: 7b8eac

.github/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ changelog:
99
- title: ⚠️ Breaking Change
1010
labels:
1111
- breaking-change
12+
- title: 🔒 Security Fixes
13+
labels:
14+
- security
1215
- title: 🐛 Bug Fixes
1316
labels:
1417
- bugfix

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,10 @@ jobs:
4242
GITHUB_TOKEN: ${{ github.token }}
4343

4444
- name: checkout repo
45-
uses: actions/checkout@v6
45+
uses: actions/checkout@v7
4646

4747
- name: setup python 3
48-
uses: actions/setup-python@v6
48+
uses: actions/setup-python@v7
4949
with:
5050
python-version: '3.x'
5151

@@ -61,8 +61,8 @@ jobs:
6161
matrix:
6262
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
6363
steps:
64-
- uses: actions/checkout@v6
65-
- uses: actions/setup-python@v6
64+
- uses: actions/checkout@v7
65+
- uses: actions/setup-python@v7
6666
with:
6767
python-version: ${{ matrix.python-version }}
6868
- name: Run tests

.github/workflows/codeql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
build-mode: none
2424
steps:
2525
- name: Checkout repository
26-
uses: actions/checkout@v6
26+
uses: actions/checkout@v7
2727

2828
- name: Initialize CodeQL
2929
uses: github/codeql-action/init@v4

.github/workflows/dependency-review.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: 'Checkout repository'
14-
uses: actions/checkout@v6
14+
uses: actions/checkout@v7
1515
- name: 'Dependency Review'
1616
uses: actions/dependency-review-action@v5
1717
with:

.github/workflows/e2e-test-pr.yml

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@ on:
22
pull_request:
33
workflow_dispatch:
44
inputs:
5+
run_aclp_logs_stream_tests:
6+
description: 'Set this parameter to "true" to run ACLP logs stream related test cases'
7+
required: false
8+
default: 'false'
9+
type: choice
10+
options:
11+
- 'true'
12+
- 'false'
513
run_db_fork_tests:
614
description: 'Set this parameter to "true" to run fork database related test cases'
715
required: false
@@ -56,7 +64,7 @@ jobs:
5664

5765
# Check out merge commit
5866
- name: Checkout PR
59-
uses: actions/checkout@v6
67+
uses: actions/checkout@v7
6068
with:
6169
ref: ${{ inputs.sha }}
6270
fetch-depth: 0
@@ -88,7 +96,7 @@ jobs:
8896
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8997

9098
- name: Setup Python
91-
uses: actions/setup-python@v6
99+
uses: actions/setup-python@v7
92100
with:
93101
python-version: '3.x'
94102

@@ -104,9 +112,13 @@ jobs:
104112
run: |
105113
timestamp=$(date +'%Y%m%d%H%M')
106114
report_filename="${timestamp}_sdk_test_report.xml"
107-
make test-int RUN_DB_FORK_TESTS=${{ github.event.inputs.run_db_fork_tests }} RUN_DB_TESTS=${{ github.event.inputs.run_db_tests }} TEST_ARGS="--junitxml=${report_filename}" TEST_SUITE="${{ github.event.inputs.test_suite }}"
115+
make test-int RUN_DB_FORK_TESTS="$RUN_DB_FORK_TESTS" RUN_DB_TESTS="$RUN_DB_TESTS" RUN_ACLP_LOGS_STREAM_TESTS="$RUN_ACLP_LOGS_STREAM_TESTS" TEST_ARGS="--junitxml=${report_filename}" TEST_SUITE="$TEST_SUITE"
108116
env:
109117
LINODE_TOKEN: ${{ secrets.LINODE_TOKEN }}
118+
RUN_DB_FORK_TESTS: ${{ github.event.inputs.run_db_fork_tests }}
119+
RUN_DB_TESTS: ${{ github.event.inputs.run_db_tests }}
120+
RUN_ACLP_LOGS_STREAM_TESTS: ${{ github.event.inputs.run_aclp_logs_stream_tests }}
121+
TEST_SUITE: ${{ github.event.inputs.test_suite }}
110122

111123
- name: Upload test results
112124
if: always() && github.repository == 'linode/linode_api4-python' && (github.event_name == 'pull_request' || (github.event_name == 'workflow_dispatch' && inputs.test_report_upload == 'true'))
@@ -158,7 +170,7 @@ jobs:
158170

159171
steps:
160172
- name: Checkout code
161-
uses: actions/checkout@v6
173+
uses: actions/checkout@v7
162174
with:
163175
fetch-depth: 0
164176
submodules: 'recursive'
@@ -184,7 +196,7 @@ jobs:
184196

185197
steps:
186198
- name: Set up Python
187-
uses: actions/setup-python@v6
199+
uses: actions/setup-python@v7
188200
with:
189201
python-version: '3.x'
190202

.github/workflows/e2e-test.yml

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,14 @@ name: Integration Tests
33
on:
44
workflow_dispatch:
55
inputs:
6+
run_aclp_logs_stream_tests:
7+
description: 'Set this parameter to "true" to run ACLP logs stream related test cases'
8+
required: false
9+
default: 'false'
10+
type: choice
11+
options:
12+
- 'true'
13+
- 'false'
614
run_db_fork_tests:
715
description: 'Set this parameter to "true" to run fork database related test cases'
816
required: false
@@ -65,21 +73,21 @@ jobs:
6573
steps:
6674
- name: Clone Repository with SHA
6775
if: ${{ inputs.sha != '' }}
68-
uses: actions/checkout@v6
76+
uses: actions/checkout@v7
6977
with:
7078
fetch-depth: 0
7179
submodules: 'recursive'
7280
ref: ${{ inputs.sha }}
7381

7482
- name: Clone Repository without SHA
7583
if: ${{ inputs.sha == '' }}
76-
uses: actions/checkout@v6
84+
uses: actions/checkout@v7
7785
with:
7886
fetch-depth: 0
7987
submodules: 'recursive'
8088

8189
- name: Setup Python
82-
uses: actions/setup-python@v6
90+
uses: actions/setup-python@v7
8391
with:
8492
python-version: ${{ inputs.run-eol-python-version == 'true' && env.EOL_PYTHON_VERSION || inputs.python-version || env.DEFAULT_PYTHON_VERSION }}
8593

@@ -99,9 +107,13 @@ jobs:
99107
run: |
100108
timestamp=$(date +'%Y%m%d%H%M')
101109
report_filename="${timestamp}_sdk_test_report.xml"
102-
make test-int RUN_DB_FORK_TESTS=${{ github.event.inputs.run_db_fork_tests }} RUN_DB_TESTS=${{ github.event.inputs.run_db_tests }} TEST_SUITE="${{ github.event.inputs.test_suite }}" TEST_ARGS="--junitxml=${report_filename}"
110+
make test-int RUN_DB_FORK_TESTS="$RUN_DB_FORK_TESTS" RUN_DB_TESTS="$RUN_DB_TESTS" RUN_ACLP_LOGS_STREAM_TESTS="$RUN_ACLP_LOGS_STREAM_TESTS" TEST_SUITE="$TEST_SUITE" TEST_ARGS="--junitxml=${report_filename}"
103111
env:
104112
LINODE_TOKEN: ${{ env.LINODE_TOKEN }}
113+
RUN_DB_FORK_TESTS: ${{ github.event.inputs.run_db_fork_tests }}
114+
RUN_DB_TESTS: ${{ github.event.inputs.run_db_tests }}
115+
RUN_ACLP_LOGS_STREAM_TESTS: ${{ github.event.inputs.run_aclp_logs_stream_tests }}
116+
TEST_SUITE: ${{ github.event.inputs.test_suite }}
105117

106118
- name: Upload Test Report as Artifact
107119
if: always()
@@ -119,7 +131,7 @@ jobs:
119131

120132
steps:
121133
- name: Checkout code
122-
uses: actions/checkout@v6
134+
uses: actions/checkout@v7
123135
with:
124136
fetch-depth: 0
125137
submodules: 'recursive'
@@ -149,7 +161,7 @@ jobs:
149161

150162
steps:
151163
- name: Set up Python
152-
uses: actions/setup-python@v6
164+
uses: actions/setup-python@v7
153165
with:
154166
python-version: '3.x'
155167

@@ -187,7 +199,7 @@ jobs:
187199

188200
steps:
189201
- name: Checkout code
190-
uses: actions/checkout@v6
202+
uses: actions/checkout@v7
191203
with:
192204
fetch-depth: 0
193205
submodules: 'recursive'
@@ -198,7 +210,7 @@ jobs:
198210
name: test-report-file
199211

200212
- name: Set up Python
201-
uses: actions/setup-python@v6
213+
uses: actions/setup-python@v7
202214
with:
203215
python-version: '3.x'
204216

@@ -241,7 +253,7 @@ jobs:
241253
steps:
242254
- name: Notify Slack
243255
id: main_message
244-
uses: slackapi/slack-github-action@v3
256+
uses: slackapi/slack-github-action@v4
245257
with:
246258
method: chat.postMessage
247259
token: ${{ secrets.SLACK_BOT_TOKEN }}
@@ -273,7 +285,7 @@ jobs:
273285
274286
- name: Test summary thread
275287
if: success()
276-
uses: slackapi/slack-github-action@v3
288+
uses: slackapi/slack-github-action@v4
277289
with:
278290
method: chat.postMessage
279291
token: ${{ secrets.SLACK_BOT_TOKEN }}

.github/workflows/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
steps:
1919
-
2020
name: Checkout
21-
uses: actions/checkout@v6
21+
uses: actions/checkout@v7
2222
-
2323
name: Run Labeler
2424
uses: crazy-max/ghaction-github-labeler@548a7c3603594ec17c819e1239f281a3b801ab4d

.github/workflows/nightly-smoke-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ jobs:
1919

2020
steps:
2121
- name: Checkout code
22-
uses: actions/checkout@v6
22+
uses: actions/checkout@v7
2323
with:
2424
ref: dev
2525

2626
- name: Set up Python
27-
uses: actions/setup-python@v6
27+
uses: actions/setup-python@v7
2828
with:
2929
python-version: '3.x'
3030

@@ -45,7 +45,7 @@ jobs:
4545

4646
- name: Notify Slack
4747
if: always() && github.repository == 'linode/linode_api4-python'
48-
uses: slackapi/slack-github-action@v3
48+
uses: slackapi/slack-github-action@v4
4949
with:
5050
method: chat.postMessage
5151
token: ${{ secrets.SLACK_BOT_TOKEN }}

.github/workflows/publish-pypi.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ jobs:
1212
environment: pypi-release
1313
steps:
1414
- name: Checkout
15-
uses: actions/checkout@v6
15+
uses: actions/checkout@v7
1616

1717
- name: Setup Python
18-
uses: actions/setup-python@v6
18+
uses: actions/setup-python@v7
1919
with:
2020
python-version: '3.x'
2121

@@ -28,4 +28,4 @@ jobs:
2828
LINODE_SDK_VERSION: ${{ github.event.release.tag_name }}
2929

3030
- name: Publish the release artifacts to PyPI
31-
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # pin@release/v1.14.0
31+
uses: pypa/gh-action-pypi-publish@dc37677b2e1c63e2034f94d8a5b11f265b73ba33 # pin@release/v1.14.2

0 commit comments

Comments
 (0)