Skip to content
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

INC-2124 stop using the core action and upgrade ubuntu #146

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
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
27 changes: 25 additions & 2 deletions .github/workflows/release-prep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -474,13 +474,31 @@ jobs:
run: tox

run-integration-tests:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
needs: [create-temp-branch, generate-changelog-bump-version]
if: inputs.env_setup_script_path != ''

env:
TOXENV: integration

services:
# Label used to access the service container
postgres:
# Docker Hub image
image: postgres
# Provide the password for postgres
env:
POSTGRES_PASSWORD: password
POSTGRES_USER: postgres
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432

steps:
- name: "Checkout ${{ github.repository }} Branch ${{ needs.create-temp-branch.outputs.branch_name }}"
uses: actions/checkout@v4
Expand Down Expand Up @@ -529,7 +547,12 @@ jobs:

- name: "Set Up Postgres (Linux)"
if: ${{ contains(github.repository, 'dbt-labs/dbt-core') }}
uses: ./.github/actions/setup-postgres-linux
run: |
./test/setup_db.sh
env:
PGHOST: localhost
PGPORT: 5432
PGPASSWORD: password

- name: "Install python tools"
run: |
Expand Down