diff options
-rw-r--r-- | mission/hst/hst.ini | 65 | ||||
-rw-r--r-- | src/main.c | 5 |
2 files changed, 9 insertions, 61 deletions
diff --git a/mission/hst/hst.ini b/mission/hst/hst.ini index 59ec0c8..ef83360 100644 --- a/mission/hst/hst.ini +++ b/mission/hst/hst.ini @@ -1,65 +1,8 @@ [meta] release_fmt = %n-%v-%r+%c-py%p-%o-%a -[finalize] -release_notes_file = release_notes.md -release_notes_contents = -readme_file = README.md -readme_data = - Currently, conda is required to manage installation of the environment. - A fresh installation of Anaconda3 or Miniconda3 is not required for - each {meta:name} release, however. An existing conda installation may be - used. The method described here allows for multiple, entirely segregated, - pipeline installations. +[template:readme.md.in] +destination = {{ storage.delivery_dir }}/README.md - A `bash`-compatible shell is required for all steps below. Python - dependencies are taken directly from PyPI or development repositories as - needed, so conda's ability to install hybrid conda/pip environments from a - YAML specification is used. This requires first downloading the - specification file and then creating the environment with it. - - ## For existing conda installations: - - ### Install the pipeline environment - ``` - $ curl -O https://ssb.stsci.edu/releases/{meta:name}/{cycle}/latest-linux.yml - $ conda env create --file latest-linux.yml - ``` - ### Activate the pipeline environment - - ``` - $ conda activate {release_name} - ``` - - Each new delivery iteration of the calibration environment will need to be - installed using the above commands. - - ------ - - ## If conda is not yet installed - - If the conda tool is not available on the target system, it will need to be - installed before the calibration environment can be installed. - - ### Installing conda - - For detailed instructions of this step, please visit: - https://conda.io/projects/conda/en/latest/user-guide/install/index.html - - **Miniconda:** - - ``` - # TODO: UPDATE THIS - $ wget https://repo.anaconda.com/miniconda/Miniconda3-py37_4.8.2-Linux-x86_64.sh - $ bash Miniconda3-py37_4.8.2-Linux-x86_64.sh - $ export PATH=$HOME/miniconda3/bin:$PATH - ``` - - **Anaconda (if preferred):** - - ``` - # TODO: UPDATE THIS - $ wget https://repo.continuum.io/archive/Anaconda3-2019.10-Linux-x86_64.sh - $ bash Anaconda3-2019.10-Linux-x86_64.sh - $ export PATH=$HOME/anaconda3/bin:$PATH - ``` +[template:release_notes.md.in] +destination = {{ storage.delivery_dir }}/release_notes.md
\ No newline at end of file @@ -201,6 +201,11 @@ int main(int argc, char *argv[], char *arge[]) { tpl_register("meta.python_compact", &ctx.meta.python_compact); tpl_register("info.time_str_epoch", &ctx.info.time_str_epoch); tpl_register("info.release_name", &ctx.info.release_name); + tpl_register("storage.tmpdir", &ctx.storage.tmpdir); + tpl_register("storage.delivery_dir", &ctx.storage.delivery_dir); + tpl_register("storage.conda_artifact_dir", &ctx.storage.conda_artifact_dir); + tpl_register("storage.wheel_artifact_dir", &ctx.storage.wheel_artifact_dir); + tpl_register("storage.build_sources_dir", &ctx.storage.build_sources_dir); tpl_register("conda.installer_baseurl", &ctx.conda.installer_baseurl); tpl_register("conda.installer_name", &ctx.conda.installer_name); tpl_register("conda.installer_version", &ctx.conda.installer_version); |