Wrapper scripts to launch python applications installed via anaconda
The purpose is to allow for users on the nsd analysis cluster to easily switch between different versions of software that is installed via conda in a system wide manner.
Each individual bash script selects/activates a conda environment, then launches the main entrypoint for the underlying application.
For example, `refred` will load the appropriate conda environment then start the refred application, and `refred --qa` will load the qa conda environmnent and start the `refred` application.
Quality of generated scripts
----------------------------
@@ -9,7 +10,7 @@ All bash scripts are checked using [shellcheck](https://github.com/koalaman/shel
The desktop files are validated using `desktop-file-validate`
The spec file passes [rpmlint](https://linux.die.net/man/1/rpmlint) with one warning about the definition of the source.
The spec file passes [rpmlint](https://linux.die.net/man/1/rpmlint) with one warning about the definition of the source (`invalid-url Source0`).
Versioning
----------
@@ -17,3 +18,10 @@ Versioning
* major changes is when an application/tool gets added or removed
* minor changes is when changes to the existing applications/tools happens
* patches are encompassed in minor changes and are not included
Deployment
----------
`nsd-app-wrap` is deployed via an rpm that is created using gitlab-ci and configured mostly in the `Dockerfile`.
The `Dockerfile` is based on a centos7 image with rpm-build installed.
It creates the rpm then uses `scp` to copy noarch to packages.sns.gov.
The analysis cluster is configured to automatically update `nsd-app-wrap` rpm whenever a new one is available.