-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* #54: Prepared release 5.3.0 Prepared first official release of r-exasol. Also added yml files needed by release-droid. Co-authored-by: Muhammet Orazov <[email protected]>
- Loading branch information
Showing
5 changed files
with
102 additions
and
4 deletions.
There are no files selected for viewing
69 changes: 69 additions & 0 deletions
69
.github/workflows/release_droid_prepare_original_checksum.yml
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,69 @@ | ||
name: Release Droid - Prepare Original Checksum | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
prep-testbed: | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- id: set-matrix | ||
run: | | ||
sudo apt-get install jq | ||
sudo bash ./tests/scripts/cran/install_cran_repos.sh | ||
echo "Result:" | ||
echo $(sudo bash ./tests/scripts/cran/get_R_releases.sh) | ||
echo "::set-output name=matrix::$(sudo bash ./tests/scripts/cran/get_R_releases.sh)" | ||
outputs: | ||
matrix: ${{ steps.set-matrix.outputs.matrix }} | ||
|
||
integration_tests: | ||
needs: prep-testbed | ||
environment: publish | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
r-version: ${{fromJson(needs.prep-testbed.outputs.matrix)}} | ||
runs-on: ubuntu-18.04 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Checkout test environment | ||
run: git clone https://github.com/exasol/integration-test-docker-environment.git | ||
working-directory: .. | ||
- name: Spawn EXASOL environemnt | ||
run: ./start-test-env spawn-test-environment --environment-name test --database-port-forward 8888 --bucketfs-port-forward 6666 --db-mem-size 4GB | ||
working-directory: ../integration-test-docker-environment | ||
- name: Docker login | ||
run: echo "$SECRET_DOCKER_TOKEN" | docker login --username "$SECRET_DOCKER_USER_NAME" --password-stdin | ||
env: # Set the secret as an input | ||
SECRET_DOCKER_USER_NAME: ${{ secrets.DOCKER_USER_NAME }} | ||
SECRET_DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }} | ||
- name: Run all tests | ||
run: | | ||
./tests/scripts/pull_docker_image.sh ${{ matrix.r-version }} | ||
./tests/scripts/execute_docker_test_env.sh ${{ matrix.r-version }} | ||
publish-main: | ||
needs: [prep-testbed,integration_tests] | ||
if: github.ref == 'refs/heads/main' | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
r-version: ${{fromJson(needs.prep-testbed.outputs.matrix)}} | ||
runs-on: ubuntu-18.04 | ||
|
||
environment: publish | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Build new Docker image | ||
run: "bash tests/scripts/build_docker_test_env.sh ${{ matrix.r-version }}" | ||
- name: Docker login | ||
run: echo "$SECRET_DOCKER_TOKEN" | docker login --username "$SECRET_DOCKER_USER_NAME" --password-stdin | ||
env: # Set the secret as an input | ||
SECRET_DOCKER_USER_NAME: ${{ secrets.DOCKER_USER_NAME }} | ||
SECRET_DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }} | ||
- name: Push new Docker images | ||
run: "bash tests/scripts/push_docker_image.sh ${{ matrix.r-version }}" | ||
|
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,11 @@ | ||
name: Release Droid - Print Quick Checksum | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Dummy step | ||
run: echo "Nothing to do" |
15 changes: 15 additions & 0 deletions
15
.github/workflows/release_droid_upload_github_release_assets.yml
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,15 @@ | ||
name: Release Droid - Upload GitHub Release Assets | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
upload_url: | ||
description: 'Upload URL' | ||
required: true | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Dummy step | ||
run: echo "Nothing to do" |
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,3 +1,3 @@ | ||
# Changes | ||
|
||
* [0.1.0](changes_0.1.0.md) | ||
* [5.3.0](changes_5.3.0.md) |
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