Skip to content

Commit 8a9f788

Browse files
Upgrade ubuntu, poetry debug install
1 parent d92797d commit 8a9f788

8 files changed

+22
-17
lines changed

.github/actions/setup-python/action.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,12 @@ runs:
1414
shell: bash
1515
run: echo "version=$(python -c 'import sys; print(\"-\".join(str(v) for v in sys.version_info))')" >> $GITHUB_ENV
1616

17-
- run: curl -sSL https://install.python-poetry.org | python3 -
17+
- name: Install Poetry with Debug Output
18+
env:
19+
POETRY_VERBOSE: 1
20+
run: |
21+
curl -sSL https://install.python-poetry.org -o install-poetry.py
22+
python3 -v install-poetry.py
1823
shell: bash
1924

2025
- name: Configure poetry

.github/workflows/_integration_test_shared.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55

66
jobs:
77
truss-integration-tests:
8-
runs-on: ubuntu-20.04
8+
runs-on: ubuntu-22.04
99
strategy:
1010
fail-fast: false
1111
matrix:
@@ -28,7 +28,7 @@ jobs:
2828
report_paths: "report-${{ matrix.split_group }}.xml"
2929

3030
chains-integration-tests:
31-
runs-on: ubuntu-20.04
31+
runs-on: ubuntu-22.04
3232
strategy:
3333
fail-fast: false
3434
steps:

.github/workflows/build-context-builder-image.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55

66
jobs:
77
detect-version:
8-
runs-on: ubuntu-20.04
8+
runs-on: ubuntu-22.04
99
outputs:
1010
version: ${{ steps.versions.outputs.version }}
1111
steps:
@@ -22,7 +22,7 @@ jobs:
2222
echo "version=$VERSION" >> $GITHUB_OUTPUT
2323
2424
build-n-push-context-builder-image:
25-
runs-on: ubuntu-20.04
25+
runs-on: ubuntu-22.04
2626
needs: [detect-version]
2727
steps:
2828
- uses: actions/checkout@v4

.github/workflows/integration-tests.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ concurrency:
99

1010
jobs:
1111
detect-version-changed:
12-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-22.04
1313
outputs:
1414
version_changed: ${{ steps.versions.outputs.version_changed }}
1515
new_version: ${{ steps.versions.outputs.new_version }}
@@ -29,7 +29,7 @@ jobs:
2929
build-and-push-truss-base-images-if-needed:
3030
needs: [detect-version-changed]
3131
if: needs.detect-version-changed.outputs.build_base_images == 'true'
32-
runs-on: ubuntu-20.04
32+
runs-on: ubuntu-22.04
3333
strategy:
3434
matrix:
3535
python_version: ["3.8", "3.9", "3.10", "3.11"]

.github/workflows/main.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ concurrency:
1212

1313
jobs:
1414
detect-version-changed:
15-
runs-on: ubuntu-20.04
15+
runs-on: ubuntu-22.04
1616
outputs:
1717
version_changed: ${{ steps.versions.outputs.version_changed }}
1818
new_version: ${{ steps.versions.outputs.new_version }}
@@ -32,7 +32,7 @@ jobs:
3232
build-and-push-truss-base-images-if-needed:
3333
needs: [detect-version-changed]
3434
if: needs.detect-version-changed.outputs.build_base_images == 'true'
35-
runs-on: ubuntu-20.04
35+
runs-on: ubuntu-22.04
3636
strategy:
3737
matrix:
3838
python_version: ["3.8", "3.9", "3.10", "3.11"]
@@ -68,7 +68,7 @@ jobs:
6868
publish-rc-to-pypi:
6969
needs: [detect-version-changed]
7070
if: ${{ !failure() && !cancelled() && needs.detect-version-changed.outputs.release_version == 'true' && needs.detect-version-changed.outputs.is_prerelease_version == 'true' }}
71-
runs-on: ubuntu-20.04
71+
runs-on: ubuntu-22.04
7272
steps:
7373
- name: "Git tag release"
7474
uses: actions/checkout@v4

.github/workflows/pr.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ concurrency:
99

1010
jobs:
1111
lint:
12-
runs-on: ubuntu-20.04
12+
runs-on: ubuntu-22.04
1313
steps:
1414
- uses: actions/checkout@v4
1515
with:
@@ -27,7 +27,7 @@ jobs:
2727
2828
test:
2929
timeout-minutes: 30
30-
runs-on: ubuntu-20.04
30+
runs-on: ubuntu-22.04
3131
steps:
3232
- uses: actions/checkout@v4
3333
with:
@@ -44,7 +44,7 @@ jobs:
4444
report_paths: "report.xml"
4545

4646
markdown-link-check:
47-
runs-on: ubuntu-20.04
47+
runs-on: ubuntu-22.04
4848
steps:
4949
- uses: actions/checkout@master
5050
- uses: gaurav-nelson/github-action-markdown-link-check@v1

.github/workflows/release-truss-utils.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ concurrency:
1515

1616
jobs:
1717
publish-to-pypi:
18-
runs-on: ubuntu-20.04
18+
runs-on: ubuntu-22.04
1919
steps:
2020
- name: "Git tag release"
2121
uses: actions/checkout@v4

.github/workflows/release.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ concurrency:
1111

1212
jobs:
1313
detect-version-changed:
14-
runs-on: ubuntu-20.04
14+
runs-on: ubuntu-22.04
1515
outputs:
1616
version_changed: ${{ steps.versions.outputs.version_changed }}
1717
new_version: ${{ steps.versions.outputs.new_version }}
@@ -31,7 +31,7 @@ jobs:
3131
build-n-push-context-builder-image:
3232
needs: [detect-version-changed]
3333
if: ${{ !failure() && !cancelled() && needs.detect-version-changed.outputs.release_version == 'true' }}
34-
runs-on: ubuntu-20.04
34+
runs-on: ubuntu-22.04
3535
steps:
3636
- uses: actions/checkout@v4
3737

@@ -63,7 +63,7 @@ jobs:
6363
publish-release-to-pypi:
6464
needs: [detect-version-changed]
6565
if: ${{ !failure() && !cancelled() && needs.detect-version-changed.outputs.release_version == 'true' }}
66-
runs-on: ubuntu-20.04
66+
runs-on: ubuntu-22.04
6767
steps:
6868
- name: "Git tag release"
6969
uses: actions/checkout@v4

0 commit comments

Comments
 (0)