-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feature/19_move_slc_notebook_to_repo_ai_lab
- Loading branch information
Showing
16 changed files
with
148 additions
and
130 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains 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 |
---|---|---|
@@ -1,24 +1,29 @@ | ||
name: CI Build | ||
name: CI | ||
|
||
on: | ||
push: | ||
branches-ignore: | ||
- "main" | ||
pull_request: | ||
|
||
jobs: | ||
run_unit_tests: | ||
run-unit-tests: | ||
name: Unit Tests | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Run shellcheck | ||
run: ./scripts/build/shellcheck.sh | ||
|
||
- name: Setup Python & Poetry Environment | ||
uses: exasol/python-toolbox/.github/actions/[email protected] | ||
with: | ||
python-version: "3.10" | ||
poetry-version: '1.8.2' | ||
poetry-version: "1.8.2" | ||
|
||
- name: Check Version Number | ||
run: poetry run python3 -u "./scripts/build/check_release.py" | ||
|
||
- name: Run Unit Tests | ||
run: > | ||
|
@@ -28,14 +33,14 @@ jobs: | |
--override-ini=log_cli_level=INFO | ||
test/unit | ||
run_integration_tests: | ||
run-integration-tests: | ||
name: Integration Tests | ||
environment: AWS_CI_TESTS | ||
runs-on: ubuntu-latest | ||
needs: run_unit_tests | ||
needs: run-unit-tests | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
|
@@ -61,8 +66,7 @@ jobs: | |
uses: exasol/python-toolbox/.github/actions/[email protected] | ||
with: | ||
python-version: "3.10" | ||
poetry-version: '1.8.2' | ||
|
||
poetry-version: "1.8.2" | ||
|
||
- name: Run Integration Tests | ||
run: > | ||
|
@@ -76,15 +80,23 @@ jobs: | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY_SECRET }} | ||
AWS_DEFAULT_REGION: ${{ secrets.AWS_REGION }} | ||
|
||
run_notebook_tests: | ||
approval-for-notebook-tests: | ||
name: Run Jupyter Notebook Tests? | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Detect Running Notebook Tests | ||
run: true | ||
environment: | ||
approve-test-execution | ||
|
||
run-notebook-tests: | ||
name: Jupyter Notebook Tests | ||
if: "contains(github.event.head_commit.message, '[run-notebook-tests]')" | ||
environment: AWS_SAGEMAKER | ||
runs-on: ubuntu-latest | ||
needs: run_unit_tests | ||
needs: approval-for-notebook-tests | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
|
@@ -110,8 +122,7 @@ jobs: | |
uses: exasol/python-toolbox/.github/actions/[email protected] | ||
with: | ||
python-version: "3.10" | ||
poetry-version: '1.8.2' | ||
|
||
poetry-version: "1.8.2" | ||
|
||
- name: Run notebook tests | ||
run: > | ||
|
@@ -127,3 +138,11 @@ jobs: | |
SAAS_HOST: ${{ secrets.INTEGRATION_TEAM_SAAS_STAGING_HOST }} | ||
SAAS_ACCOUNT_ID: ${{ secrets.INTEGRATION_TEAM_SAAS_STAGING_ACCOUNT_ID }} | ||
SAAS_PAT: ${{ secrets.INTEGRATION_TEAM_SAAS_STAGING_PAT }} | ||
|
||
gate-2: | ||
name: Gate 2 - Allow Merge | ||
runs-on: ubuntu-latest | ||
needs: [ run-unit-tests, run-integration-tests, run-notebook-tests ] | ||
steps: | ||
- name: Branch Protection | ||
run: true |
22 changes: 14 additions & 8 deletions
22
.github/workflows/check_notebook_links.yaml → .github/workflows/hyperlinks.yaml
This file contains 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 |
---|---|---|
@@ -1,25 +1,31 @@ | ||
name: Check Notebook Links | ||
name: Check Hyperlinks | ||
|
||
on: | ||
push: | ||
branches-ignore: | ||
- "main" | ||
pull_request: | ||
|
||
jobs: | ||
check_notebook_links: | ||
check-links: | ||
name: Find Broken Links in Documentation and Jupyter Notebooks | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Setup Python & Poetry Environment | ||
uses: exasol/python-toolbox/.github/actions/[email protected] | ||
with: | ||
python-version: "3.10" | ||
poetry-version: '1.8.2' | ||
|
||
- name: Run build ai-lab tests | ||
- name: Check Hyperlinks in Documentation | ||
id: lychee | ||
uses: lycheeverse/[email protected] | ||
with: | ||
fail: true | ||
args: --verbose --no-progress 'doc/**/*.md' 'README.md' | ||
|
||
- name: Check Hyperlinks in Jupyter Notebooks | ||
run: > | ||
poetry run pytest --check-links exasol/ds/sandbox/runtime/ansible/roles/jupyter/files/notebook/ | ||
This file was deleted.
Oops, something went wrong.
This file contains 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 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 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 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 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 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 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
Oops, something went wrong.