aboutsummaryrefslogtreecommitdiff
path: root/src/deliverable.c
Commit message (Collapse)AuthorAgeFilesLines
* Only set continue_on_error and always_update_base if not already set by CLI ↵Joseph Hunkeler2024-03-121-4/+9
| | | | | | argument * Those bare variables were useful after all
* Use do/while in guard_* macros to make them behave more like functionsJoseph Hunkeler2024-03-101-74/+74
|
* Replace getter_* and conv_* macros with static functions.Joseph Hunkeler2024-03-101-186/+160
|
* Fix python_compact not getting updated when target python version changedJoseph Hunkeler2024-03-081-3/+6
|
* Makes docker builds, artifactory uploads, and testing optional via CLI ↵Joseph Hunkeler2024-03-081-2/+5
| | | | | | | arguments. * Remove [DEBUG] from debug summary * Add enable_* states to debug summary
* Zero argument bufferJoseph Hunkeler2024-03-071-0/+2
|
* Add OMC_ROOT environment to control where OMC writes its files toJoseph Hunkeler2024-03-071-1/+11
|
* Set global.jfrog.repo through config, or environment variableJoseph Hunkeler2024-03-061-0/+9
| | | | * This used to be the case but the code was removed at some point; most likely by accident.
* Implement docker delivery configurationJoseph Hunkeler2024-03-061-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 structureJoseph Hunkeler2024-03-061-42/+44
| | | | | * 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
|
* Replace raw LF with LINE_SEP defineJoseph Hunkeler2024-03-061-6/+6
|
* Fix memory corruption in runtime_set and tpl_renderJoseph Hunkeler2024-03-041-6/+2
|
* Prototypes documentationJoseph Hunkeler2024-03-041-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 modeJoseph Hunkeler2024-03-041-1/+1
| | | | * add usage comment function
* Free docker membersJoseph Hunkeler2024-02-281-0/+3
|
* Use path_basename instead of basenameJoseph Hunkeler2024-02-261-1/+1
|
* Fixes several memory leaksJoseph Hunkeler2024-02-261-16/+60
|
* Implement initial driver code for docker buildsJoseph Hunkeler2024-02-231-0/+52
|
* Extract git repository informationJoseph Hunkeler2024-02-181-1/+6
| | | | * First pass; this will eventually be used to rewite exact commit refs in YAML delivery files
* Fix recently introduced pathing issueJoseph Hunkeler2024-02-181-2/+2
| | | | * "conda" and "wheels" directories are supposed to in the "packages" directory, not the $output_dir root
* Implement build_name_fmt and build_number_fmt mission rulesJoseph Hunkeler2024-02-181-2/+14
| | | | * Artifactory centric
* Fix garbage file creationJoseph Hunkeler2024-02-161-3/+10
| | | | | | * zero out proc structure * remove erroneous if statement that prevented OMC_JF_REPO from working correctly * fail if the artifactory repo is an empty string
* Compatibility changesJoseph Hunkeler2024-02-131-2/+12
|
* Use guard_free macroJoseph Hunkeler2024-02-131-4/+4
|
* Use Globals.jfrog.repo when OMC_JF_REPO is unsetJoseph Hunkeler2024-02-131-4/+8
| | | | | * Reworded warnings about OMC_JF_REPO and [deploy:artifaction] config section * Do not push build information on bad config state
* Render template strings in test shell scriptJoseph Hunkeler2024-02-131-1/+3
|
* Remove whitespaceJoseph Hunkeler2024-02-131-1/+1
|
* Fix empty statement warningJoseph Hunkeler2024-02-131-1/+1
|
* Implement delivery_mission_render_filesJoseph Hunkeler2024-02-131-19/+60
|
* Generate release string after parsing release format stringJoseph Hunkeler2024-02-131-6/+5
|
* Generate compact python version immediately after reading it from the configJoseph Hunkeler2024-02-131-0/+1
|
* Allow settings the default artifactory repository in main configuration fileJoseph Hunkeler2024-02-131-0/+5
|
* Enable multiple named artifact upload sections in delivery contextJoseph Hunkeler2024-02-121-38/+82
|
* Add Delivery.info.time_str_epoch member to store Unix epoch as a string.Joseph Hunkeler2024-02-121-0/+6
|
* Implement path_storeJoseph Hunkeler2024-02-121-34/+22
| | | | * Replaces string literal usage in favor of delivery context variables
* Fix empty statement warning for tools_dirJoseph Hunkeler2024-02-121-1/+1
|
* Moved to jfrt_auth_initJoseph Hunkeler2024-02-061-8/+0
|
* Remove source directories to avoid polluting multiple runsJoseph Hunkeler2024-02-061-1/+7
|
* Handle failed conda installer downloadJoseph Hunkeler2024-02-061-1/+1
|
* ?Joseph Hunkeler2024-02-061-0/+1
|
* Begin consolidating artifactory upload proceduresJoseph Hunkeler2024-02-061-42/+104
| | | | * User-defined file patterns are still not implemented
* Read conda installer's baseurl last in case template strings are used to ↵Joseph Hunkeler2024-02-061-3/+3
| | | | construct the URL
* Add mission rule configuration to delivery contextJoseph Hunkeler2024-02-061-4/+26
|
* Fix segfaultJoseph Hunkeler2024-02-061-1/+1
| | | | | * I've changed this behavior numerous times now, and each time it causes issues somewhere else. * This decouples the global tmpdir and delivery context tmpdir pointers. Oh well.
* Use template renderer to replace text in values from INI dataJoseph Hunkeler2024-02-061-4/+11
|
* Consolidate header includes to omc.hJoseph Hunkeler2024-02-061-6/+0
|
* Fix up mission directory handlerJoseph Hunkeler2024-01-311-0/+26
|
* General improvementsJoseph Hunkeler2024-01-301-15/+108
| | | | | | | | | | | * Fix segfault related to Delivery.storage.tmpdir not being initialized properly * Add delivery_format_str() to make delivery rules easier to maintain * Test configurations can accept their own runtime variables * When no conda package or python packages are to be installed, indicate that state by printing "N/A" in output summary * Change shell_safe() accept a string instead of an array * Add support for artifactory client certs key/path * Initial pass at defining an artifactory repo destination (not fully implemented yet) * Add missing line feeds to error messages during ini config initialization
* Too many changes to countJoseph Hunkeler2023-12-101-75/+393
| | | | | | | | | | | | | | * Artifactory test integration * guard_free() all pointers * Remove semicolons from macro calls * Add conda_fresh_start to delete conda at start up (or not) * Use generated archives from github instead of the raw repository url. For now anyway. * Add delivery_runtime_show() to dump the runtime environment * Fix release output names to include the target architecture. This format will change agan soon. * Prevent bogus delivery definitions from going too far into the build process before encountering a failure. * Detect OS and architecture * Ensure the user's TMPDIR is usable before going too far into the process * Refactor omc output directory names