Skip to content

Commit

Permalink
Fixed Github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
tomuben committed Jun 14, 2024
1 parent 38d209b commit b6440a2
Show file tree
Hide file tree
Showing 9 changed files with 34 additions and 49 deletions.
20 changes: 0 additions & 20 deletions .github/actions/prepare_poetry_env/action.yml

This file was deleted.

7 changes: 5 additions & 2 deletions .github/workflows/check_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,15 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Python & Poetry Environment
uses: ./.github/actions/prepare_poetry_env
uses: exasol/python-toolbox/.github/actions/python-environment@0.13.0
with:
python-version: "3.10"
poetry-version: '1.8.2'

- name: Run Unit Tests
run: >
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check_documentation_links.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/check_notebook_links.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Python & Poetry Environment
uses: ./.github/actions/prepare_poetry_env
uses: exasol/python-toolbox/.github/actions/python-environment@0.13.0
with:
python-version: "3.10"
poetry-version: '1.8.2'

- name: Run build ai-lab tests
run: >
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/check_version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,13 @@ jobs:
check-version-numbers:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Python & Poetry Environment
uses: ./.github/actions/prepare_poetry_env
uses: exasol/python-toolbox/.github/actions/python-environment@0.13.0
with:
python-version: "3.10"
poetry-version: '1.8.2'
- name: Check Release
run: ./scripts/build/check_release.sh "python3.10"
run: poetry run python3 -u "./scripts/build/check_release.py"
16 changes: 11 additions & 5 deletions .github/workflows/release_droid_upload_github_release_assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,29 @@ jobs:
check-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Python & Poetry Environment
uses: ./.github/actions/prepare_poetry_env
uses: exasol/python-toolbox/.github/actions/python-environment@0.13.0
with:
python-version: "3.10"
poetry-version: '1.8.2'
- name: Build Release
run: ./scripts/build/check_release.sh "python3.10"
run: poetry run python3 -u "./scripts/build/check_release.py"

upload:
needs: check-release
environment: AWS_RELEASE
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Setup Python & Poetry Environment
uses: ./.github/actions/prepare_poetry_env
uses: exasol/python-toolbox/.github/actions/python-environment@0.13.0
with:
python-version: "3.10"
poetry-version: '1.8.2'
- name: Build Release
run: poetry run python3 -m exasol.ds.sandbox.main start-release-build --upload-url "${{ github.event.inputs.upload_url }}" --branch "$GITHUB_REF"
env: # Set the secret as an env variable
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/shellcheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ jobs:
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Run shellcheck
run: ./scripts/build/shellcheck.sh
9 changes: 5 additions & 4 deletions .github/workflows/test_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ jobs:
environment: AWS_CI_TESTS
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Init submodules
run: git submodule update --init --recursive
- name: Setup Python & Poetry Environment
uses: ./.github/actions/prepare_poetry_env
uses: exasol/python-toolbox/.github/actions/python-environment@0.13.0
with:
python-version: "3.10"
poetry-version: '1.8.2'

- name: Start test release
run: poetry run python3 -m exasol.ds.sandbox.main start-test-release-build --release-title "${{ github.event.inputs.release_title }}" --branch "$GITHUB_REF"
Expand Down
11 changes: 0 additions & 11 deletions scripts/build/check_release.sh

This file was deleted.

0 comments on commit b6440a2

Please sign in to comment.