Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Remove unused code | Joseph Hunkeler | 2024-04-02 | 1 | -4/+1 | |
| | ||||||
* | Fix segfault in delivery docker | Joseph Hunkeler | 2024-04-02 | 1 | -2/+27 | |
| | | | | | * Generate docker tags if no tags are defined by the user * Only use a registry if one is defined by the user | |||||
* | Refactor delivery_rewrite_spec() | Joseph Hunkeler | 2024-04-02 | 1 | -37/+30 | |
| | ||||||
* | When a wheel doesn't exist at the destination directory, move it there. ↵ | Joseph Hunkeler | 2024-04-02 | 1 | -1/+6 | |
| | | | | Otherwise, overwrite it with latest build | |||||
* | Apply necessary changes to file_replace_text calls | Joseph Hunkeler | 2024-04-02 | 1 | -7/+8 | |
| | ||||||
* | Reenable installation via local wheels | Joseph Hunkeler | 2024-04-02 | 1 | -27/+33 | |
| | ||||||
* | Reset HOME to point to a temporary directory to prevent contaminating the ↵ | Joseph Hunkeler | 2024-04-02 | 1 | -0/+7 | |
| | | | | user account's home directory with build artifacts, caches, and other artifacts | |||||
* | Addresses undesired effect when based_on is in use. | Joseph Hunkeler | 2024-04-02 | 1 | -1/+6 | |
| | ||||||
* | Move system.{arch,platform} template registrations into delivery_init_platform() | Joseph Hunkeler | 2024-04-02 | 1 | -0/+6 | |
| | ||||||
* | Use new COE_CHECK_ABORT | Joseph Hunkeler | 2024-04-02 | 1 | -4/+4 | |
| | ||||||
* | More strlist operations | Joseph Hunkeler | 2024-04-02 | 1 | -5/+6 | |
| | ||||||
* | Changes to strlist_*() functions: | Joseph Hunkeler | 2024-04-02 | 1 | -10/+10 | |
| | | | | | Functions that modify the input StrList have been refactored to use `struct StrList **` instead of `struct StrList *`. * Fixes realloc error handling | |||||
* | Add error handler for system.platform | Joseph Hunkeler | 2024-03-24 | 1 | -1/+5 | |
| | ||||||
* | Move deliver_init_tmpdir() next to path_store() call to clarify what is ↵ | Joseph Hunkeler | 2024-03-24 | 1 | -8/+9 | |
| | | | | happening to tmpdir | |||||
* | Encapsulate the tox.ini generation. | Joseph Hunkeler | 2024-03-22 | 1 | -8/+8 | |
| | | | | * This avoids telling the user we're about to modify the tox.ini if there's no real work to be done. | |||||
* | Free resources on error | Joseph Hunkeler | 2024-03-22 | 1 | -4/+9 | |
| | | | | * TODO: Use a goto for this one. | |||||
* | Increase command string size. | Joseph Hunkeler | 2024-03-22 | 1 | -1/+1 | |
| | | | | * OMC_BUFSIZ should be long enough to accommodate larger than normal paths. | |||||
* | Return on error immediately to avoid an invalid read | Joseph Hunkeler | 2024-03-22 | 1 | -1/+0 | |
| | ||||||
* | Remove the user-facing "${VAR}" notation. | Joseph Hunkeler | 2024-03-22 | 1 | -10/+14 | |
| | | | | * runtime_* functions will continue to use this functionality in internally to support strings such "PATH=/example.bin:${PATH}" | |||||
* | Free more members from the delivery context | Joseph Hunkeler | 2024-03-22 | 1 | -0/+4 | |
| | | | | | | | * Delivery.storage.output_dir * Delivery.storage.build_docker_dir * Delivery.deploy.jfrog[n].repo * Delivery.deploy.jfrog[n].dest | |||||
* | Dynamically allocate Delivery.system.platform array. | Joseph Hunkeler | 2024-03-22 | 1 | -0/+5 | |
| | | | | * This avoids compiler warnings about passing the address to a stack-allocated chunk of member in tpl_register. | |||||
* | Use GENERIC_ARRAY_FREE instead of split_free() | Joseph Hunkeler | 2024-03-22 | 1 | -1/+2 | |
| | ||||||
* | Free more dangling resources | Joseph Hunkeler | 2024-03-22 | 1 | -0/+1 | |
| | | | | | * Delivery.meta.based_on * Delivery.storage.results_dir | |||||
* | Free more dangling resources | Joseph Hunkeler | 2024-03-22 | 1 | -0/+1 | |
| | | | | | * Delivery.meta.based_on * Delivery.storage.results_dir | |||||
* | Add missing cleanup | Joseph Hunkeler | 2024-03-18 | 1 | -1/+4 | |
| | | | | | * Closes dangling file streams scattered throughout * Frees pointers related to Delivery.docker missed during implementation | |||||
* | Add fix_tox_conf function | Joseph Hunkeler | 2024-03-14 | 1 | -0/+19 | |
| | | | | * If the user calls tox in a test script like so: tox {{ workaround.tox_posargs }}, then a temporary tox configuration will be generated and the appropriate arguments to use it will be injected into tox's command line arguments | |||||
* | We're executing the test, so tell the user | Joseph Hunkeler | 2024-03-14 | 1 | -1/+2 | |
| | ||||||
* | Fix bug that prevented package deferrals from proceeding when package names ↵ | Joseph Hunkeler | 2024-03-14 | 1 | -2/+2 | |
| | | | | contained URLs or version specs | |||||
* | Splits OMC directory creation into two stages | Joseph Hunkeler | 2024-03-14 | 1 | -7/+15 | |
| | | | | | | * Stage 1: Initialize base directories (omc/root, omc/build, etc) * Stage 2: Initialize output directories (omc/output, etc) * Output directory now provides a unique parent directory name to avoid clobbering previously delivered data | |||||
* | Pretty-print pytest xml results (if xmllint is present) | Joseph Hunkeler | 2024-03-14 | 1 | -0/+31 | |
| | | | | | | | * Adds Delivery.storage.results_dir member * Exposes storage.results_dir to templates * This is to make the test results human-readable * xmllint is optional. If it isn't installed it isn't a big deal. | |||||
* | Only set continue_on_error and always_update_base if not already set by CLI ↵ | Joseph Hunkeler | 2024-03-12 | 1 | -4/+9 | |
| | | | | | | argument * Those bare variables were useful after all | |||||
* | Use do/while in guard_* macros to make them behave more like functions | Joseph Hunkeler | 2024-03-10 | 1 | -74/+74 | |
| | ||||||
* | Replace getter_* and conv_* macros with static functions. | Joseph Hunkeler | 2024-03-10 | 1 | -186/+160 | |
| | ||||||
* | Fix python_compact not getting updated when target python version changed | Joseph Hunkeler | 2024-03-08 | 1 | -3/+6 | |
| | ||||||
* | Makes docker builds, artifactory uploads, and testing optional via CLI ↵ | Joseph Hunkeler | 2024-03-08 | 1 | -2/+5 | |
| | | | | | | | arguments. * Remove [DEBUG] from debug summary * Add enable_* states to debug summary | |||||
* | Zero argument buffer | Joseph Hunkeler | 2024-03-07 | 1 | -0/+2 | |
| | ||||||
* | Add OMC_ROOT environment to control where OMC writes its files to | Joseph Hunkeler | 2024-03-07 | 1 | -1/+11 | |
| | ||||||
* | Set global.jfrog.repo through config, or environment variable | Joseph Hunkeler | 2024-03-06 | 1 | -0/+9 | |
| | | | | * This used to be the case but the code was removed at some point; most likely by accident. | |||||
* | Implement docker delivery configuration | Joseph Hunkeler | 2024-03-06 | 1 | -6/+59 | |
| | | | | | * Copy dockerfile and delivery file to the build directory * Add docker.test_script key. Lets you run smoke tests against the freshly built image | |||||
* | Refactor deployment structure | Joseph Hunkeler | 2024-03-06 | 1 | -42/+44 | |
| | | | | | * Consolidate jfrog and docker into deploy member * Fix template registers | |||||
* | Add paths for build_docker_dir and docker_artifact_dir | Joseph Hunkeler | 2024-03-06 | 1 | -0/+2 | |
| | ||||||
* | Replace raw LF with LINE_SEP define | Joseph Hunkeler | 2024-03-06 | 1 | -6/+6 | |
| | ||||||
* | Fix memory corruption in runtime_set and tpl_render | Joseph Hunkeler | 2024-03-04 | 1 | -6/+2 | |
| | ||||||
* | Prototypes documentation | Joseph Hunkeler | 2024-03-04 | 1 | -54/+1 | |
| | | | | | | | Includes minor changes: * Rename jfrt_upload_set_defaults to jfrt_upload_init * Move jfrt_auth_init to artifactory.c * Adds missing error handling to git_describe and git_rev_parse | |||||
* | xmkstemp allow setting file mode | Joseph Hunkeler | 2024-03-04 | 1 | -1/+1 | |
| | | | | * add usage comment function | |||||
* | Free docker members | Joseph Hunkeler | 2024-02-28 | 1 | -0/+3 | |
| | ||||||
* | Use path_basename instead of basename | Joseph Hunkeler | 2024-02-26 | 1 | -1/+1 | |
| | ||||||
* | Fixes several memory leaks | Joseph Hunkeler | 2024-02-26 | 1 | -16/+60 | |
| | ||||||
* | Implement initial driver code for docker builds | Joseph Hunkeler | 2024-02-23 | 1 | -0/+52 | |
| | ||||||
* | Extract git repository information | Joseph Hunkeler | 2024-02-18 | 1 | -1/+6 | |
| | | | | * First pass; this will eventually be used to rewite exact commit refs in YAML delivery files |