From 983163258922f3933703a1c632298b7a51189892 Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 4 Mar 2025 11:38:19 -0600 Subject: [PATCH] stop using the core action and upgrade ubuntu --- .github/workflows/release-prep.yml | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-prep.yml b/.github/workflows/release-prep.yml index a03c1e8..54ea89b 100644 --- a/.github/workflows/release-prep.yml +++ b/.github/workflows/release-prep.yml @@ -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 @@ -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: |