Skip to content

Commit

Permalink
Fix release workflow and remove SLC splitting, because it isn't neede…
Browse files Browse the repository at this point in the history
…d at the moment.
  • Loading branch information
tkilias committed Sep 11, 2023
1 parent c82c6f1 commit eab0918
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 18 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/release_droid_upload_github_release_assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,17 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Build language container
run: nox -s export_slc

- name: Upload assets to the GitHub release draft
uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ github.event.inputs.upload_url }}
asset_path: dist/*

- name: Split script-language container into parts
run: |
pushd .build_output/cache/exports/
split *.tar.gz -d -n 2 language_container_part_
popd
# Since the container was built in the pytest run above, no need to rebuild before the upload.
- name: Upload script-language container
uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ github.event.inputs.upload_url }}
asset_path: .build_output/cache/exports/language_container_part_*
asset_path: export/exasol_transformers_extension_container*
3 changes: 2 additions & 1 deletion doc/changes/changes_0.5.0.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Transformers Extension 0.5.0, released 2023-09-08
# Transformers Extension 0.5.0, released 2023-09-11

Code name: Support for transformer 4.31

Expand All @@ -20,6 +20,7 @@ and allows the user to configure the TLS verification.
- #89: Fixed the content of error code config file
- #100: Enabled encryption for all pyexasol connection to be compatible with Exasol 8
- #84: Reactivated test after move to AWS
- #128: Fix release workflow and remove splitting the SLC

### Refactorings

Expand Down
8 changes: 1 addition & 7 deletions doc/user_guide/user_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,14 +122,8 @@ language container file released in GitHub Releases section.


##### Download Language Container
- The language container is split into parts and then uploaded to GitHub Release section.
- These parts are named with the `language_container_part_` prefix.
- Please download all parts of the language container from the Releases section.
- Please download the language container archive (*.tar.gz) from the Releases section.
(see [the latest release](https://github.com/exasol/transformers-extension/releases/latest)).
- Before installing the language container, these parts must be combined using the following command::
```shell
ls -v language_container_part_* | xargs cat > language_container.tar.gz
```

##### Install Language Container
There are two ways to install the language container: (1) using a python script and (2) manual installation. See the next paragraphs for details.
Expand Down
5 changes: 3 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

import sys
from pathlib import Path

Expand All @@ -14,6 +13,7 @@
)

ROOT_PATH = Path(__file__).parent
EXPORT_PATH = ROOT_PATH / "export"


@nox.session(python=False)
Expand All @@ -27,7 +27,8 @@ def build_slc(session: nox.Session):
def export_slc(session: nox.Session):
flavor_path = find_flavor_path()
prepare_flavor(flavor_path)
export(Path("export"))
export(flavor_path, EXPORT_PATH)


@nox.session(python=False)
def unit_tests(session):
Expand Down

0 comments on commit eab0918

Please sign in to comment.