aboutsummaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
...
* Add docker_sanitize_tag()Joseph Hunkeler2024-04-101-0/+1
| | | | * Replace invalid docker tag characters with dash ('-')
* Write conda installer to a temporary location instead of the current working ↵Joseph Hunkeler2024-04-101-3/+4
| | | | | | directory * Replaces function argument "delivery" with "ctx" for better consistency
* Reenable installation via local wheelsJoseph Hunkeler2024-04-021-0/+1
|
* Include wheel.hJoseph Hunkeler2024-04-021-0/+1
|
* Reset HOME to point to a temporary directory to prevent contaminating the ↵Joseph Hunkeler2024-04-021-0/+1
| | | | user account's home directory with build artifacts, caches, and other artifacts
* Use do-while in COE_CHECK_ABORT.Joseph Hunkeler2024-04-021-6/+7
| | | | | * continue_on_error is always checked * An additional conditional can be passed. Use `1` to fail normally. Use `0` to never fail.
* Add REPLACE_TRUNCATE_AFTER_MATCH mode to replace_textJoseph Hunkeler2024-04-021-2/+4
|
* Adjust guard_strlist_free to match new function signatureJoseph Hunkeler2024-04-021-1/+1
|
* Changes to strlist_*() functions:Joseph Hunkeler2024-04-021-3/+3
| | | | | Functions that modify the input StrList have been refactored to use `struct StrList **` instead of `struct StrList *`. * Fixes realloc error handling
* Changes to ini_write() behavior:Joseph Hunkeler2024-04-021-1/+5
| | | | | | * Caller can choose to dump raw unmodified key/value pairs, or render all values through the template engine * Fixes spurious line feeds injected into the output stream * Uses LINE_SEP instead of "\n"
* Fix replace_text*() functionsJoseph Hunkeler2024-04-021-2/+2
| | | | | * Now return an error code * Completely rewrote replace_text()
* Rebrand to OMCJoseph Hunkeler2024-03-261-3/+3
|
* Dynamically allocate Delivery.system.platform array.Joseph Hunkeler2024-03-221-1/+1
| | | | * This avoids compiler warnings about passing the address to a stack-allocated chunk of member in tpl_register.
* Remove split_free() functionJoseph Hunkeler2024-03-221-1/+0
|
* Add GENERIC_ARRAY_FREE macro to avoid code duplications when freeing ↵Joseph Hunkeler2024-03-221-0/+6
| | | | character arrays
* Make SYSERROR macro act more like perror, and allow extra argumentsJoseph Hunkeler2024-03-221-1/+4
|
* Move collapse_whitespace to utils.c / utils.hJoseph Hunkeler2024-03-221-0/+2
|
* Add fix_tox_conf functionJoseph Hunkeler2024-03-142-0/+12
| | | | * 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
* Pretty-print pytest xml results (if xmllint is present)Joseph Hunkeler2024-03-142-0/+14
| | | | | | | * 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.
* Add template functions to store/load function pointers.Joseph Hunkeler2024-03-141-0/+24
| | | | * Incomplete and unused for now
* Replace ini_show with ini_writeJoseph Hunkeler2024-03-141-2/+4
| | | | * One can still display the ini configuration by using ini_show(iniptr, stdout);
* Use do/while in guard_* macros to make them behave more like functionsJoseph Hunkeler2024-03-101-3/+3
|
* Makes docker builds, artifactory uploads, and testing optional via CLI ↵Joseph Hunkeler2024-03-081-0/+3
| | | | | | | arguments. * Remove [DEBUG] from debug summary * Add enable_* states to debug summary
* Refactor deployment structureJoseph Hunkeler2024-03-061-14/+18
| | | | | * Consolidate jfrog and docker into deploy member * Fix template registers
* Add paths for build_docker_dir and docker_artifact_dirJoseph Hunkeler2024-03-061-0/+2
|
* docker_save function will pipe output of "docker save" to a compression ↵Joseph Hunkeler2024-03-061-1/+4
| | | | program if requested
* Prototypes documentationJoseph Hunkeler2024-03-048-37/+397
| | | | | | | 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 modeJoseph Hunkeler2024-03-041-1/+16
| | | | * add usage comment function
* Document functions and usageJoseph Hunkeler2024-02-283-49/+376
|
* Implement initial driver code for docker buildsJoseph Hunkeler2024-02-231-0/+10
|
* Add docker.h to main headerJoseph Hunkeler2024-02-231-0/+1
|
* Initial commit of docker integration codeJoseph Hunkeler2024-02-231-0/+22
|
* Extract git repository informationJoseph Hunkeler2024-02-182-0/+3
| | | | * First pass; this will eventually be used to rewite exact commit refs in YAML delivery files
* Implement build_name_fmt and build_number_fmt mission rulesJoseph Hunkeler2024-02-181-1/+5
| | | | * Artifactory centric
* Quote inputs to string argumentJoseph Hunkeler2024-02-181-4/+4
| | | | * Change type of build-number from int to string. RTFM'd.
* Compatibility changesJoseph Hunkeler2024-02-135-2/+49
|
* Implement delivery_mission_render_filesJoseph Hunkeler2024-02-132-0/+10
|
* Enable multiple named artifact upload sections in delivery contextJoseph Hunkeler2024-02-122-1/+3
|
* Add Delivery.info.time_str_epoch member to store Unix epoch as a string.Joseph Hunkeler2024-02-122-3/+5
|
* Implement path_storeJoseph Hunkeler2024-02-121-0/+2
| | | | * Replaces string literal usage in favor of delivery context variables
* Add path_store functionJoseph Hunkeler2024-02-121-0/+1
|
* Fix missing underscore in __APPLE__ defineJoseph Hunkeler2024-02-061-1/+1
|
* First pass at OS detectionJoseph Hunkeler2024-02-062-1/+19
|
* Fix addressing issue...Joseph Hunkeler2024-02-061-2/+24
| | | | | | | * Store the address of the pointer to template variable, instead of the pointer. Whoops! * Pre-declare all template pointers as early as possible to make them available to the entire program * Comment tpl_*() prototypes
* Begin consolidating artifactory upload proceduresJoseph Hunkeler2024-02-061-0/+8
| | | | * User-defined file patterns are still not implemented
* Refactor std{out,err} to f_std{out,err}Joseph Hunkeler2024-02-061-2/+6
| | | | * Bare stdout and stderr, even as struct members, tend to conflict with numerous libc implementations.
* Fix jf cli option 'regexp' to be boolean, not stringJoseph Hunkeler2024-02-061-1/+1
|
* Improve download()Joseph Hunkeler2024-02-061-1/+1
| | | | | * Returns HTTP status code * Emits curl error message to stderr (or to a buffer if the third argument is not NULL)
* Consolidate header includes to omc.hJoseph Hunkeler2024-02-063-7/+5
|
* Restructure rules directoryJoseph Hunkeler2024-01-301-0/+11
|