Skip to content

Commit d2de2ef

Browse files
committed
Resolve merge conflicts with upstream dev
2 parents b7d0367 + 6f4c991 commit d2de2ef

67 files changed

Lines changed: 4478 additions & 314 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/workflows/ci.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ 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
4848
uses: actions/setup-python@v6
@@ -61,7 +61,7 @@ jobs:
6161
matrix:
6262
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
6363
steps:
64-
- uses: actions/checkout@v6
64+
- uses: actions/checkout@v7
6565
- uses: actions/setup-python@v6
6666
with:
6767
python-version: ${{ matrix.python-version }}

‎.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: 11 additions & 3 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
@@ -104,7 +112,7 @@ 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=${{ github.event.inputs.run_db_fork_tests }} RUN_DB_TESTS=${{ github.event.inputs.run_db_tests }} RUN_ACLP_LOGS_STREAM_TESTS=${{ github.event.inputs.run_aclp_logs_stream_tests }} TEST_ARGS="--junitxml=${report_filename}" TEST_SUITE="${{ github.event.inputs.test_suite }}"
108116
env:
109117
LINODE_TOKEN: ${{ secrets.LINODE_TOKEN }}
110118

@@ -158,7 +166,7 @@ jobs:
158166

159167
steps:
160168
- name: Checkout code
161-
uses: actions/checkout@v6
169+
uses: actions/checkout@v7
162170
with:
163171
fetch-depth: 0
164172
submodules: 'recursive'

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

Lines changed: 13 additions & 5 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,15 +73,15 @@ 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'
@@ -99,7 +107,7 @@ 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=${{ github.event.inputs.run_db_fork_tests }} RUN_DB_TESTS=${{ github.event.inputs.run_db_tests }} RUN_ACLP_LOGS_STREAM_TESTS=${{ github.event.inputs.run_aclp_logs_stream_tests }} TEST_SUITE="${{ github.event.inputs.test_suite }}" TEST_ARGS="--junitxml=${report_filename}"
103111
env:
104112
LINODE_TOKEN: ${{ env.LINODE_TOKEN }}
105113

@@ -119,7 +127,7 @@ jobs:
119127

120128
steps:
121129
- name: Checkout code
122-
uses: actions/checkout@v6
130+
uses: actions/checkout@v7
123131
with:
124132
fetch-depth: 0
125133
submodules: 'recursive'
@@ -187,7 +195,7 @@ jobs:
187195

188196
steps:
189197
- name: Checkout code
190-
uses: actions/checkout@v6
198+
uses: actions/checkout@v7
191199
with:
192200
fetch-depth: 0
193201
submodules: 'recursive'

‎.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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

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

‎.github/workflows/publish-pypi.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ 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
1818
uses: actions/setup-python@v6

‎.github/workflows/release-cross-repo-test.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout linode_api4 repository
16-
uses: actions/checkout@v6
16+
uses: actions/checkout@v7
1717
with:
1818
fetch-depth: 0
1919
submodules: 'recursive'
@@ -30,7 +30,7 @@ jobs:
3030
python-version: '3.10'
3131

3232
- name: Checkout ansible repo
33-
uses: actions/checkout@v6
33+
uses: actions/checkout@v7
3434
with:
3535
repository: linode/ansible_linode
3636
path: .ansible/collections/ansible_collections/linode/cloud

‎conftest.py‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import os
2+
import sys
3+
4+
# Ensure the repo root is on sys.path so that `from test.unit.base import ...`
5+
# works regardless of which directory pytest is invoked from.
6+
sys.path.insert(0, os.path.dirname(__file__))

0 commit comments

Comments
 (0)