-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #964 from exasol/develop
Changelist: * #954: added release checklist (#955) * #956: updated dependencies (#957) * #950: Refactored Java Script Options parser (#960) * #962: Added a GH workflow which uploads trivy databases (#963)
- Loading branch information
Showing
101 changed files
with
1,232 additions
and
339 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Check Bazel Tests | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
pull_request: | ||
|
||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
env: | ||
USE_BAZEL_VERSION: 7.2.1 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
submodules: 'recursive' | ||
|
||
- name: Install bazel | ||
run: | | ||
curl -L -o bazel https://github.com/bazelbuild/bazelisk/releases/download/v1.19.0/bazelisk-linux-amd64 | ||
chmod +x bazel | ||
- name: Install JDK and ZMQ | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y openjdk-11-jdk libzmq3-dev | ||
- name: Java Tests | ||
run: | | ||
bazel test //base/javacontainer/test/... | ||
working-directory: ./exaudfclient/ | ||
- name: ExaudfLib Tests | ||
run: | | ||
bazel test //base/exaudflib/test/... | ||
working-directory: ./exaudfclient/ | ||
- name: Script Options Parser Tests | ||
run: | | ||
bazel test //base/script_options_parser/test/... | ||
working-directory: ./exaudfclient/ | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,9 +11,9 @@ jobs: | |
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Init submodules | ||
run: git submodule update --init --recursive | ||
with: | ||
fetch-depth: 0 | ||
submodules: 'recursive' | ||
|
||
- name: Setup Python & Poetry Environment | ||
uses: exasol/python-toolbox/.github/actions/[email protected] | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,21 +13,21 @@ jobs: | |
environment: AWS | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
submodules: 'recursive' | ||
|
||
- name: Init submodules | ||
run: git submodule update --init --recursive | ||
- name: Setup Python & Poetry Environment | ||
uses: exasol/python-toolbox/.github/actions/[email protected] | ||
with: | ||
python-version: "3.10" | ||
poetry-version: '1.8.2' | ||
|
||
- name: Setup Python & Poetry Environment | ||
uses: exasol/python-toolbox/.github/actions/[email protected] | ||
with: | ||
python-version: "3.10" | ||
poetry-version: '1.8.2' | ||
|
||
- name: Start release | ||
run: poetry run python -m exasol_script_languages_container_ci_setup.main start-release-build --log-level info --project "ScriptLanguagesRelease" --upload-url "${{ github.event.inputs.upload_url }}" --branch "$GITHUB_REF" | ||
env: # Set the secret as an env variable | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY_SECRET }} | ||
AWS_DEFAULT_REGION: ${{ secrets.AWS_REGION }} | ||
GITHUB_TOKEN: ${{ github.token }} | ||
- name: Start release | ||
run: poetry run python -m exasol_script_languages_container_ci_setup.main start-release-build --log-level info --project "ScriptLanguagesRelease" --upload-url "${{ github.event.inputs.upload_url }}" --branch "$GITHUB_REF" | ||
env: # Set the secret as an env variable | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY_SECRET }} | ||
AWS_DEFAULT_REGION: ${{ secrets.AWS_REGION }} | ||
GITHUB_TOKEN: ${{ github.token }} |
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 |
---|---|---|
|
@@ -13,21 +13,21 @@ jobs: | |
environment: AWS | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
submodules: 'recursive' | ||
|
||
- name: Init submodules | ||
run: git submodule update --init --recursive | ||
- name: Setup Python & Poetry Environment | ||
uses: exasol/python-toolbox/.github/actions/[email protected] | ||
with: | ||
python-version: "3.10" | ||
poetry-version: '1.8.2' | ||
|
||
- name: Setup Python & Poetry Environment | ||
uses: exasol/python-toolbox/.github/actions/[email protected] | ||
with: | ||
python-version: "3.10" | ||
poetry-version: '1.8.2' | ||
|
||
- name: Start test release | ||
run: poetry run python -m exasol_script_languages_container_ci_setup.main start-test-release-build --log-level info --project ScriptLanguagesRelease --repo-name "$GITHUB_REPOSITORY" --branch "$GITHUB_REF" --release-title "${{ github.event.inputs.release_title }}" | ||
env: # Set the secret as an env variable | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY_SECRET }} | ||
AWS_DEFAULT_REGION: ${{ secrets.AWS_REGION }} | ||
GITHUB_TOKEN: ${{ github.token }} | ||
- name: Start test release | ||
run: poetry run python -m exasol_script_languages_container_ci_setup.main start-test-release-build --log-level info --project ScriptLanguagesRelease --repo-name "$GITHUB_REPOSITORY" --branch "$GITHUB_REF" --release-title "${{ github.event.inputs.release_title }}" | ||
env: # Set the secret as an env variable | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY_SECRET }} | ||
AWS_DEFAULT_REGION: ${{ secrets.AWS_REGION }} | ||
GITHUB_TOKEN: ${{ github.token }} |
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 |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: Update trivy cache | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "30 0 * * *" | ||
|
||
jobs: | ||
update_trivy_cache: | ||
environment: AWS | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Run install dependencies | ||
run: | | ||
sudo apt update && sudo apt install -y awscli curl wget apt-transport-https gnupg lsb-release | ||
wget -qO - https://aquasecurity.github.io/trivy-repo/deb/public.key | sudo apt-key add - | ||
echo deb https://aquasecurity.github.io/trivy-repo/deb $(lsb_release -sc) main | sudo tee -a /etc/apt/sources.list.d/trivy.list | ||
sudo apt-get update | ||
sudo apt-get install trivy | ||
env: | ||
DEBIAN_FRONTEND: noninteractive | ||
|
||
- name: Fetch trivy databases | ||
run: | | ||
trivy image --download-java-db-only | ||
trivy image --download-db-only | ||
- name: Create tar gz databases | ||
run: | | ||
pushd $HOME/.cache | ||
tar -czf trivy_cache.tar.gz ./trivy | ||
popd | ||
- name: Copy trivy databases | ||
run: aws s3 cp "$HOME/.cache/trivy_cache.tar.gz" "$TRIVY_CACHE_LOCATION/trivy_cache.tar.gz" | ||
env: # Set the secret as an env variable | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY_SECRET }} | ||
AWS_DEFAULT_REGION: ${{ secrets.AWS_REGION }} | ||
TRIVY_CACHE_LOCATION: ${{ secrets.TRIVY_CACHE_LOCATION }} | ||
|
||
- name: Report failure Status to Slack channel | ||
id: report-failure-status-slack | ||
# Also run this step in case of failures | ||
if: ${{ always() }} | ||
uses: ravsamhq/notify-slack-action@v2 | ||
with: | ||
status: ${{ job.status }} | ||
token: ${{ github.token }} | ||
notification_title: "Update trivy build in {repo} has {status_message}" | ||
message_format: "{emoji} *{workflow}* {status_message} in <{repo_url}|{repo}>" | ||
notify_when: "failure,cancelled,warnings,skipped" | ||
env: | ||
SLACK_WEBHOOK_URL: ${{ secrets.INTEGRATION_TEAM_SLACK_NOTIFICATION_WEBHOOK }} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# script-languages-release 8.4.0, released t.b.d. | ||
|
||
Code name: t.b.d. | ||
|
||
## Summary | ||
|
||
t.b.d. | ||
|
||
|
||
## Script-Language-Container-Tool (Exaslct) | ||
|
||
This release uses version 1.0.0 of the container tool. | ||
|
||
## Features | ||
|
||
- #962: Add a GH workflow which uploads trivy databases and updated Ubuntu packages | ||
|
||
## Security Issues | ||
|
||
- #956: Updated dependencies | ||
|
||
## Refactorings | ||
|
||
- #950: Refactored existing script-options parser | ||
|
||
## Doc | ||
|
||
- #954: added release checklist |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
19 changes: 19 additions & 0 deletions
19
doc/changes/package_diffs/8.4.0/standard-EXASOL-all/README.md
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
...package_diffs/8.4.0/standard-EXASOL-all/base_test_deps/apt_get_packages_diff.md
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
13 changes: 13 additions & 0 deletions
13
...ges/package_diffs/8.4.0/standard-EXASOL-all/build_deps/apt_get_packages_diff.md
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.