Skip to content

Update Ubuntu in Github test runners #4204

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 32 commits into from
Mar 28, 2025
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
e2d2fc6
Updated ubuntu in test runners
antonpirker Mar 27, 2025
5104121
Trying to run 3.6 from docker container
antonpirker Mar 27, 2025
3309b61
Trying to fix postgres host
antonpirker Mar 27, 2025
b536262
Try to fix celery
antonpirker Mar 27, 2025
b073869
.
antonpirker Mar 27, 2025
665a737
trigger ci
antonpirker Mar 27, 2025
52bb4b4
moving stuff around
antonpirker Mar 27, 2025
1d3a3ce
remove to see if tasks tests are running now.
antonpirker Mar 27, 2025
ddfde3a
updated test files
antonpirker Mar 27, 2025
3441406
blub
antonpirker Mar 27, 2025
763c421
bla
antonpirker Mar 27, 2025
2146012
fix celery in 3.6 again. maybe
antonpirker Mar 27, 2025
d2d5b7f
cleanup after running tests
antonpirker Mar 27, 2025
e502c1c
.
antonpirker Mar 27, 2025
9aa2bef
.
antonpirker Mar 27, 2025
e6a4578
back to start
antonpirker Mar 28, 2025
cf46dc8
is tox finishing?
antonpirker Mar 28, 2025
9bb8525
no parallel execution
antonpirker Mar 28, 2025
f4913ca
disable some tests
antonpirker Mar 28, 2025
18dc825
disable more tests
antonpirker Mar 28, 2025
36a1ad0
disable more tests
antonpirker Mar 28, 2025
726ae99
enable some
antonpirker Mar 28, 2025
a359770
enable more
antonpirker Mar 28, 2025
6042425
enable more
antonpirker Mar 28, 2025
5e824ac
skip explanation tests in 3.6
antonpirker Mar 28, 2025
e0edbf7
Skip more tests
antonpirker Mar 28, 2025
f6b3103
Merge branch 'master' into antonpirker/update-ubuntu-in-ci
antonpirker Mar 28, 2025
43cef6c
Merge branch 'master' into antonpirker/update-ubuntu-in-ci
antonpirker Mar 28, 2025
6f67e64
Updated clickhouse action to 1.6
antonpirker Mar 28, 2025
31599ed
Merge branch 'antonpirker/update-ubuntu-in-ci' of github.com:getsentr…
antonpirker Mar 28, 2025
b9b6e66
Cleanup
antonpirker Mar 28, 2025
a4a01fb
More cleanup
antonpirker Mar 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions .github/workflows/test-integrations-ai.yml
Original file line number Diff line number Diff line change
@@ -34,10 +34,13 @@ jobs:
# new versions of hosted runners on Github Actions
# ubuntu-20.04 is the last version that supported python3.6
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
os: [ubuntu-20.04]
os: [ubuntu-22.04]
# Use Docker container only for Python 3.6
container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
steps:
- uses: actions/[email protected]
- uses: actions/setup-python@v5
if: ${{ matrix.python-version != '3.6' }}
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
@@ -106,10 +109,13 @@ jobs:
# new versions of hosted runners on Github Actions
# ubuntu-20.04 is the last version that supported python3.6
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
os: [ubuntu-20.04]
os: [ubuntu-22.04]
# Use Docker container only for Python 3.6
container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
steps:
- uses: actions/[email protected]
- uses: actions/setup-python@v5
if: ${{ matrix.python-version != '3.6' }}
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
@@ -171,7 +177,7 @@ jobs:
needs: test-ai-pinned
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Check for failures
if: contains(needs.test-ai-pinned.result, 'failure') || contains(needs.test-ai-pinned.result, 'skipped')
12 changes: 9 additions & 3 deletions .github/workflows/test-integrations-cloud.yml
Original file line number Diff line number Diff line change
@@ -34,14 +34,17 @@ jobs:
# new versions of hosted runners on Github Actions
# ubuntu-20.04 is the last version that supported python3.6
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
os: [ubuntu-20.04]
os: [ubuntu-22.04]
services:
docker:
image: docker:dind # Required for Docker network management
options: --privileged # Required for Docker-in-Docker operations
# Use Docker container only for Python 3.6
container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
steps:
- uses: actions/[email protected]
- uses: actions/setup-python@v5
if: ${{ matrix.python-version != '3.6' }}
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
@@ -110,14 +113,17 @@ jobs:
# new versions of hosted runners on Github Actions
# ubuntu-20.04 is the last version that supported python3.6
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
os: [ubuntu-20.04]
os: [ubuntu-22.04]
services:
docker:
image: docker:dind # Required for Docker network management
options: --privileged # Required for Docker-in-Docker operations
# Use Docker container only for Python 3.6
container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
steps:
- uses: actions/[email protected]
- uses: actions/setup-python@v5
if: ${{ matrix.python-version != '3.6' }}
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
@@ -179,7 +185,7 @@ jobs:
needs: test-cloud-pinned
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Check for failures
if: contains(needs.test-cloud-pinned.result, 'failure') || contains(needs.test-cloud-pinned.result, 'skipped')
7 changes: 5 additions & 2 deletions .github/workflows/test-integrations-common.yml
Original file line number Diff line number Diff line change
@@ -34,10 +34,13 @@ jobs:
# new versions of hosted runners on Github Actions
# ubuntu-20.04 is the last version that supported python3.6
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
os: [ubuntu-20.04]
os: [ubuntu-22.04]
# Use Docker container only for Python 3.6
container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
steps:
- uses: actions/[email protected]
- uses: actions/setup-python@v5
if: ${{ matrix.python-version != '3.6' }}
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
@@ -83,7 +86,7 @@ jobs:
needs: test-common-pinned
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Check for failures
if: contains(needs.test-common-pinned.result, 'failure') || contains(needs.test-common-pinned.result, 'skipped')
20 changes: 13 additions & 7 deletions .github/workflows/test-integrations-dbs.yml
Original file line number Diff line number Diff line change
@@ -34,7 +34,7 @@ jobs:
# new versions of hosted runners on Github Actions
# ubuntu-20.04 is the last version that supported python3.6
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
os: [ubuntu-20.04]
os: [ubuntu-22.04]
services:
postgres:
image: postgres
@@ -50,17 +50,20 @@ jobs:
ports:
- 5432:5432
env:
SENTRY_PYTHON_TEST_POSTGRES_HOST: localhost
SENTRY_PYTHON_TEST_POSTGRES_HOST: ${{ matrix.python-version == '3.6' && 'postgres' || 'localhost' }}
SENTRY_PYTHON_TEST_POSTGRES_USER: postgres
SENTRY_PYTHON_TEST_POSTGRES_PASSWORD: sentry
# Use Docker container only for Python 3.6
container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
steps:
- uses: actions/[email protected]
- uses: actions/setup-python@v5
if: ${{ matrix.python-version != '3.6' }}
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: "Setup ClickHouse Server"
uses: getsentry/action-clickhouse-in-ci@v1.5
uses: getsentry/action-clickhouse-in-ci@v1.6
- name: Setup Test Env
run: |
pip install "coverage[toml]" tox
@@ -130,7 +133,7 @@ jobs:
# new versions of hosted runners on Github Actions
# ubuntu-20.04 is the last version that supported python3.6
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
os: [ubuntu-20.04]
os: [ubuntu-22.04]
services:
postgres:
image: postgres
@@ -146,17 +149,20 @@ jobs:
ports:
- 5432:5432
env:
SENTRY_PYTHON_TEST_POSTGRES_HOST: localhost
SENTRY_PYTHON_TEST_POSTGRES_HOST: ${{ matrix.python-version == '3.6' && 'postgres' || 'localhost' }}
SENTRY_PYTHON_TEST_POSTGRES_USER: postgres
SENTRY_PYTHON_TEST_POSTGRES_PASSWORD: sentry
# Use Docker container only for Python 3.6
container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
steps:
- uses: actions/[email protected]
- uses: actions/setup-python@v5
if: ${{ matrix.python-version != '3.6' }}
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: "Setup ClickHouse Server"
uses: getsentry/action-clickhouse-in-ci@v1.5
uses: getsentry/action-clickhouse-in-ci@v1.6
- name: Setup Test Env
run: |
pip install "coverage[toml]" tox
@@ -219,7 +225,7 @@ jobs:
needs: test-dbs-pinned
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Check for failures
if: contains(needs.test-dbs-pinned.result, 'failure') || contains(needs.test-dbs-pinned.result, 'skipped')
7 changes: 5 additions & 2 deletions .github/workflows/test-integrations-flags.yml
Original file line number Diff line number Diff line change
@@ -34,10 +34,13 @@ jobs:
# new versions of hosted runners on Github Actions
# ubuntu-20.04 is the last version that supported python3.6
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
os: [ubuntu-20.04]
os: [ubuntu-22.04]
# Use Docker container only for Python 3.6
container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
steps:
- uses: actions/[email protected]
- uses: actions/setup-python@v5
if: ${{ matrix.python-version != '3.6' }}
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
@@ -95,7 +98,7 @@ jobs:
needs: test-flags-pinned
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Check for failures
if: contains(needs.test-flags-pinned.result, 'failure') || contains(needs.test-flags-pinned.result, 'skipped')
7 changes: 5 additions & 2 deletions .github/workflows/test-integrations-gevent.yml
Original file line number Diff line number Diff line change
@@ -34,10 +34,13 @@ jobs:
# new versions of hosted runners on Github Actions
# ubuntu-20.04 is the last version that supported python3.6
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
os: [ubuntu-20.04]
os: [ubuntu-22.04]
# Use Docker container only for Python 3.6
container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
steps:
- uses: actions/[email protected]
- uses: actions/setup-python@v5
if: ${{ matrix.python-version != '3.6' }}
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
@@ -83,7 +86,7 @@ jobs:
needs: test-gevent-pinned
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Check for failures
if: contains(needs.test-gevent-pinned.result, 'failure') || contains(needs.test-gevent-pinned.result, 'skipped')
7 changes: 5 additions & 2 deletions .github/workflows/test-integrations-graphql.yml
Original file line number Diff line number Diff line change
@@ -34,10 +34,13 @@ jobs:
# new versions of hosted runners on Github Actions
# ubuntu-20.04 is the last version that supported python3.6
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
os: [ubuntu-20.04]
os: [ubuntu-22.04]
# Use Docker container only for Python 3.6
container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
steps:
- uses: actions/[email protected]
- uses: actions/setup-python@v5
if: ${{ matrix.python-version != '3.6' }}
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
@@ -95,7 +98,7 @@ jobs:
needs: test-graphql-pinned
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Check for failures
if: contains(needs.test-graphql-pinned.result, 'failure') || contains(needs.test-graphql-pinned.result, 'skipped')
7 changes: 5 additions & 2 deletions .github/workflows/test-integrations-misc.yml
Original file line number Diff line number Diff line change
@@ -34,10 +34,13 @@ jobs:
# new versions of hosted runners on Github Actions
# ubuntu-20.04 is the last version that supported python3.6
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
os: [ubuntu-20.04]
os: [ubuntu-22.04]
# Use Docker container only for Python 3.6
container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
steps:
- uses: actions/[email protected]
- uses: actions/setup-python@v5
if: ${{ matrix.python-version != '3.6' }}
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
@@ -103,7 +106,7 @@ jobs:
needs: test-misc-pinned
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Check for failures
if: contains(needs.test-misc-pinned.result, 'failure') || contains(needs.test-misc-pinned.result, 'skipped')
12 changes: 9 additions & 3 deletions .github/workflows/test-integrations-network.yml
Original file line number Diff line number Diff line change
@@ -34,10 +34,13 @@ jobs:
# new versions of hosted runners on Github Actions
# ubuntu-20.04 is the last version that supported python3.6
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
os: [ubuntu-20.04]
os: [ubuntu-22.04]
# Use Docker container only for Python 3.6
container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
steps:
- uses: actions/[email protected]
- uses: actions/setup-python@v5
if: ${{ matrix.python-version != '3.6' }}
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
@@ -98,10 +101,13 @@ jobs:
# new versions of hosted runners on Github Actions
# ubuntu-20.04 is the last version that supported python3.6
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
os: [ubuntu-20.04]
os: [ubuntu-22.04]
# Use Docker container only for Python 3.6
container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
steps:
- uses: actions/[email protected]
- uses: actions/setup-python@v5
if: ${{ matrix.python-version != '3.6' }}
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
@@ -155,7 +161,7 @@ jobs:
needs: test-network-pinned
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Check for failures
if: contains(needs.test-network-pinned.result, 'failure') || contains(needs.test-network-pinned.result, 'skipped')
12 changes: 9 additions & 3 deletions .github/workflows/test-integrations-tasks.yml
Original file line number Diff line number Diff line change
@@ -34,10 +34,13 @@ jobs:
# new versions of hosted runners on Github Actions
# ubuntu-20.04 is the last version that supported python3.6
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
os: [ubuntu-20.04]
os: [ubuntu-22.04]
# Use Docker container only for Python 3.6
container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
steps:
- uses: actions/[email protected]
- uses: actions/setup-python@v5
if: ${{ matrix.python-version != '3.6' }}
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
@@ -120,10 +123,13 @@ jobs:
# new versions of hosted runners on Github Actions
# ubuntu-20.04 is the last version that supported python3.6
# see https://github.com/actions/setup-python/issues/544#issuecomment-1332535877
os: [ubuntu-20.04]
os: [ubuntu-22.04]
# Use Docker container only for Python 3.6
container: ${{ matrix.python-version == '3.6' && 'python:3.6' || null }}
steps:
- uses: actions/[email protected]
- uses: actions/setup-python@v5
if: ${{ matrix.python-version != '3.6' }}
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
@@ -199,7 +205,7 @@ jobs:
needs: test-tasks-pinned
# Always run this, even if a dependent job failed
if: always()
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- name: Check for failures
if: contains(needs.test-tasks-pinned.result, 'failure') || contains(needs.test-tasks-pinned.result, 'skipped')
Loading