-
Notifications
You must be signed in to change notification settings - Fork 3
#252: Updated Github workflows from Exasol toolbox #288
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
tomuben
merged 6 commits into
main
from
refactoring/252_update_github_workflows_from_ptb
Apr 24, 2025
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
3893cbc
#252: Updated Github workflows from Exasol toolbox
tomuben 3ecd3d4
Fixed checks.yml and update poetry.lock
tomuben 98fe4eb
Fixed slow tests
tomuben a16d811
Test
tomuben c5c6442
Pass secrets to slow-checks.yml
tomuben 85e17db
Fixes from review
tomuben File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| name: CD | ||
|
|
||
| on: | ||
| push: | ||
| tags: | ||
| - '**' | ||
|
|
||
| jobs: | ||
|
|
||
| check-tag-version-job: | ||
| name: Check Release Tag | ||
| uses: ./.github/workflows/check-release-tag.yml | ||
|
|
||
| cd-job: | ||
| name: Continuous Delivery | ||
| uses: ./.github/workflows/build-and-publish.yml | ||
| secrets: | ||
| PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| name: Check Release Tag | ||
|
|
||
| on: workflow_call | ||
|
|
||
| jobs: | ||
|
|
||
| check-tag-version-job: | ||
|
|
||
| name: Check Tag Version | ||
| runs-on: ubuntu-24.04 | ||
|
|
||
| steps: | ||
| - name: SCM Checkout | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Setup Python & Poetry Environment | ||
| uses: exasol/python-toolbox/.github/actions/python-environment@1.0.1 | ||
|
|
||
| - name: Check Tag Version | ||
| # make sure the pushed/created tag matched the project version | ||
| run: "[[ `poetry version --short` == ${{ github.ref_name }} ]]" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| name: CI | ||
|
|
||
| on: | ||
| push: | ||
| branches-ignore: | ||
| - "github-pages/*" | ||
| - "gh-pages/*" | ||
| - "main" | ||
| - "master" | ||
| schedule: | ||
| # “At 00:00 on every 7th day-of-month from 1 through 31.” (https://crontab.guru) | ||
| - cron: "0 0 1/7 * *" | ||
|
|
||
| jobs: | ||
|
|
||
| CI: | ||
| uses: ./.github/workflows/merge-gate.yml | ||
| secrets: inherit |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,32 @@ | ||
| name: Merge-Gate | ||
|
|
||
| on: | ||
| workflow_call: | ||
| secrets: | ||
| DOCKER_USERNAME: | ||
| required: true | ||
| DOCKER_PASSWORD: | ||
| required: true | ||
| jobs: | ||
|
|
||
| fast-checks: | ||
| name: Fast | ||
| uses: ./.github/workflows/checks.yml | ||
|
|
||
| slow-checks: | ||
| name: Slow | ||
| uses: ./.github/workflows/slow-checks.yml | ||
| secrets: inherit | ||
|
|
||
| # This job ensures inputs have been executed successfully. | ||
| approve-merge: | ||
| name: Allow Merge | ||
| runs-on: ubuntu-24.04 | ||
| # If you need additional jobs to be part of the merge gate, add them below | ||
| needs: [ fast-checks, slow-checks ] | ||
|
|
||
| # Each job requires a step, so we added this dummy step. | ||
| steps: | ||
| - name: Approve | ||
| run: | | ||
| echo "Merge Approved" |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.