Skip to content

Commit 2459204

Browse files
tomubenmorazow
andauthored
#54: Prepared release 5.3.0 (#69)
* #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 <m.orazow@gmail.com>
1 parent 0980001 commit 2459204

File tree

5 files changed

+102
-4
lines changed

5 files changed

+102
-4
lines changed
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
name: Release Droid - Prepare Original Checksum
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
prep-testbed:
8+
runs-on: ubuntu-18.04
9+
steps:
10+
- uses: actions/checkout@v2
11+
- id: set-matrix
12+
run: |
13+
sudo apt-get install jq
14+
sudo bash ./tests/scripts/cran/install_cran_repos.sh
15+
echo "Result:"
16+
echo $(sudo bash ./tests/scripts/cran/get_R_releases.sh)
17+
echo "::set-output name=matrix::$(sudo bash ./tests/scripts/cran/get_R_releases.sh)"
18+
outputs:
19+
matrix: ${{ steps.set-matrix.outputs.matrix }}
20+
21+
integration_tests:
22+
needs: prep-testbed
23+
environment: publish
24+
strategy:
25+
fail-fast: false
26+
matrix:
27+
r-version: ${{fromJson(needs.prep-testbed.outputs.matrix)}}
28+
runs-on: ubuntu-18.04
29+
30+
steps:
31+
- uses: actions/checkout@v2
32+
- name: Checkout test environment
33+
run: git clone https://github.com/exasol/integration-test-docker-environment.git
34+
working-directory: ..
35+
- name: Spawn EXASOL environemnt
36+
run: ./start-test-env spawn-test-environment --environment-name test --database-port-forward 8888 --bucketfs-port-forward 6666 --db-mem-size 4GB
37+
working-directory: ../integration-test-docker-environment
38+
- name: Docker login
39+
run: echo "$SECRET_DOCKER_TOKEN" | docker login --username "$SECRET_DOCKER_USER_NAME" --password-stdin
40+
env: # Set the secret as an input
41+
SECRET_DOCKER_USER_NAME: ${{ secrets.DOCKER_USER_NAME }}
42+
SECRET_DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
43+
- name: Run all tests
44+
run: |
45+
./tests/scripts/pull_docker_image.sh ${{ matrix.r-version }}
46+
./tests/scripts/execute_docker_test_env.sh ${{ matrix.r-version }}
47+
48+
publish-main:
49+
needs: [prep-testbed,integration_tests]
50+
if: github.ref == 'refs/heads/main'
51+
strategy:
52+
fail-fast: false
53+
matrix:
54+
r-version: ${{fromJson(needs.prep-testbed.outputs.matrix)}}
55+
runs-on: ubuntu-18.04
56+
57+
environment: publish
58+
steps:
59+
- uses: actions/checkout@v2
60+
- name: Build new Docker image
61+
run: "bash tests/scripts/build_docker_test_env.sh ${{ matrix.r-version }}"
62+
- name: Docker login
63+
run: echo "$SECRET_DOCKER_TOKEN" | docker login --username "$SECRET_DOCKER_USER_NAME" --password-stdin
64+
env: # Set the secret as an input
65+
SECRET_DOCKER_USER_NAME: ${{ secrets.DOCKER_USER_NAME }}
66+
SECRET_DOCKER_TOKEN: ${{ secrets.DOCKER_TOKEN }}
67+
- name: Push new Docker images
68+
run: "bash tests/scripts/push_docker_image.sh ${{ matrix.r-version }}"
69+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Release Droid - Print Quick Checksum
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Dummy step
11+
run: echo "Nothing to do"
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Release Droid - Upload GitHub Release Assets
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
upload_url:
7+
description: 'Upload URL'
8+
required: true
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Dummy step
15+
run: echo "Nothing to do"

doc/changes/changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Changes
22

3-
* [0.1.0](changes_0.1.0.md)
3+
* [5.3.0](changes_5.3.0.md)

doc/changes/changes_0.1.0.md renamed to doc/changes/changes_5.3.0.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
1-
# r-exasol 0.1.0, released t.b.d.
1+
# r-exasol 5.3.0, released 2021-08-09
22

3-
Code name: t.b.d.
3+
Code name: Initial official release
44

55
## Summary
66

7-
t.b.d.
7+
This is the first official release of r-exasol.
88

99
## Features / Enhancements
1010
* Initial implementation
1111
* #41: Added connection pane snippets (#57)
12+
* #61: Added standard documentation (#62)
13+
* #59: Migrated CI build system from Travis to Github actions (#60)
14+
* #65: Added logging errno when socket access fails (#66)
1215

1316
## Bug Fixes
1417
* #40: Fixed empty char column data type mapping (#55)

0 commit comments

Comments
 (0)