In order to simplify the CI configuration we are switching away from the generic jenkins shared pipeline which is completely written in Groovy. Instead we are switching to the Hopic project which only has a minimal CI driver component written in Groovy with the rest written in Python. With Hopic local debugging is made significantly easier.
As of now the commit stage can be adapted to use Hopic’s functionality. With this most of the required configuration will live in the hopic-ci-config.yaml file replacing the groovy snippets from the commit stage in jenkins file. This can be locally tested with the command - “hopic”
Using Hopic locally
Install the hopic command with below package
pip3 install --user 'git+https://github.com/tomtom-international/hopic.git@release/1#egg=hopic[interactive]'
Enable TAB completion - include the below line in your .bashrc ( BashComplete )
eval "$(_HOPIC_COMPLETE=source hopic)"
For the command line help on hopic usage
hopic --help
Metadata
Release files for hopic 1.62.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hopic-1.62.0.tar.gz | 194.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hopic-1.62.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 274.2 kB
Release files / hopic-1.62.0.tar.gz
| Download URL | hopic-1.62.0.tar.gz |
|---|---|
| Size | 194.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0d6f6686f21706d6c936aca8f9242d8000a73bb527a2fe205405a79f0b8aeca9
|
|
BLAKE2b-256 checksum How to use checksums |
e5098a7b437588881b8af5b8e8280c9d1459edd11461206878a0e8ba3543ed19
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.16 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.9
|
Release files / hopic-1.62.0-py3-none-any.whl
| Download URL | hopic-1.62.0-py3-none-any.whl |
|---|---|
| Size | 80.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1fd83f668627b0b0f2485af6db2ffca53060a91f431260cbdab55dbf97a89bdb
|
|
BLAKE2b-256 checksum How to use checksums |
3879607c8003924ee0b30c88107d22c0a0809c52a97245c67de9cf0c65a5d081
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/1.0.0 urllib3/1.26.16 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.9
|