aboutsummaryrefslogtreecommitdiff
path: root/mission/hst
Commit message (Collapse)AuthorAgeFilesLines
* Add skeleton base mission environments:Joseph Hunkeler2024-10-081-1/+1
| | | | | | * generic * jwst * roman
* First pass at implementing dedicated default mission environment(s)Joseph Hunkeler2024-10-081-0/+32
|
* Add file schema to extra index urlfix-dockerfile-pypi-indexJoseph Hunkeler2024-10-041-1/+1
|
* Fix typo: (#41)Joseph Hunkeler2024-08-301-2/+2
| | | * Change python_compat to python_compact
* Update mission configs (#34)Joseph Hunkeler2024-08-202-33/+48
| | | | | | | | | | | * Clean package caches (saves about 1GB of layer-space) * Update installation instructions * Update layout * Use template variables where appropriate * Instructions now provide release notes in one place * Pandoc now uses --standalone
* Undo changes made to Dockerfile.in (#31)Joseph Hunkeler2024-08-171-2/+1
| | | | * The packages directory is copied to the build/docker directory. * There is no need to separate these ADD calls.
* Fix Dockerfile ADD (#22)Joseph Hunkeler2024-08-091-1/+2
| | | | * Destination directories were not created properly * This ensures $HOME/packages/{conda,wheels} are created in the docker developer home directory
* Return of the INI refactor (#20)Joseph Hunkeler2024-08-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Continuation of #19 * Fixes always_update_base_environment override bug added by PR #19 * Finish type hinting implementation * ini_getval_* functions now able to affect rendering mode using INI_READ_RAW and INI_READ_RENDER * Created pointers to deeply nested structures to increase readability * Output from ini_write() is more consistent, with fewer errant spaces and line feeds * Fixes accidental regression in #19. INIVAL_TYPE_STR_ARRAY never produced an array of pointers to char. This needs to be corrected in the future. i.e. It has always generated a new-line delimited string, not a StrList, or array. * Fix strlist_append_tokenize * original pointer is no longer modified * token strings are stripped of leading space before appending to the list * Use defines instead of magic numbers * delivery_init: add render_mode argument * test_conda: Add render mode * test_ini: Add render mode * Only add conda packages and wheels to the image * docker images are saved to the packages directory and will be consumed by the image if present. * Render template variables after bootstrapping the delivery
* Fixes deprecated call to ENV in Dockerfile templates (#17)Joseph Hunkeler2024-07-311-1/+1
| | | * LegacyKeyValueFormat: "ENV key=value" should be used instead of legacy "ENV key value" format (line XY)
* Add github.c and github.h (#9)Joseph Hunkeler2024-07-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add github.c and github.h * Implements get_github_release_notes() * Remove unused variables * Fix circular dependency on tplfunc_frame * Remove predeclaration of tplfunc_frame * tpl_register_func accepts pointer to void instead * tpl_register_func sets maximum number of arguments * Frame is generated within tpl_register_func * Improve template function error handling and return/output management * Remove redundant extern statement * Include github.h and template_func_proto.h in core.h * Expose get_github_release_notes_tplfunc_entrypoint function to template engine * Add template_func_proto.c and template_func_proto.h * Replace free() with guard variant * Fix test_template::test_tpl_register_func * Fix tests * Fix tests * cmd should be at least PATH_MAX in size. * Magic number caused failure to install conda with a long installation path * Implement get_github_release_notes_auto function that bases release note data off test contexts * Disable overwriting releases by default * Add automatic release note generation function call to release_notes.md.in * Fix test_tpl_register_func() * Add enough space for tar command plus a path * Fix circular include * Github functions do not require access to core.h anyway * Add comments to union * Update README to mention template function availability * Add EnvCtl structure * Add runtime checks to avoid running all the way to the end only to be met with a configuration error. * Rename GITHUB to GH * Development docs pre-rough-draft
* Remove rc/revision from build name in order to keep deliveries of the same ↵Joseph Hunkeler2024-04-151-1/+1
| | | | series together.
* Update Dockerfile templatesJoseph Hunkeler2024-04-101-6/+8
| | | | | | * Move ADD calls to improve docker build's caching behavior * Replace template strings with package paths * Give the "developer" user access to the generated spec file on-disk
* Remove "OMC ::" from build name.Joseph Hunkeler2024-03-141-1/+1
| | | | * TODO: Preface the build name with OMC at upload-time.
* Remove TODOs from readme templatesJoseph Hunkeler2024-03-081-1/+0
|
* Append the release name to README artifacts to prevent documentation clobbering.Joseph Hunkeler2024-03-081-1/+1
| | | | * It may be the case that we'll have to break artifacts down into separate arch/OS directories if this turns out to be too ugly.
* Store rendered Dockerfile template in the docker build directoryJoseph Hunkeler2024-03-061-1/+1
|
* Remove pointless ARGsJoseph Hunkeler2024-03-061-6/+1
| | | | * CONDA_VERSION and CONDA_BUILD_VERSION are never used in a meaningful way
* Add mission Dockerfile templatesJoseph Hunkeler2024-02-232-1/+84
| | | | * Generate Dockerfile
* Set default build info formattersJoseph Hunkeler2024-02-181-0/+2
|
* Update all mission templatesJoseph Hunkeler2024-02-132-0/+54
|
* Expose more storage variables to template engineJoseph Hunkeler2024-02-131-61/+4
|
* Set release naming convention by mission rule (yay)Joseph Hunkeler2024-02-061-0/+3
|
* For now these mission configurations do not do muchJoseph Hunkeler2024-01-301-0/+62
The jwst "method" defined here is probably the future though.