aboutsummaryrefslogtreecommitdiff
path: root/src/deliverable.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Add conv_bool and conv_str_stackvar macrosJoseph Hunkeler2023-12-101-0/+3
|
* getter_required will not consume empty stringsJoseph Hunkeler2023-12-101-1/+2
|
* Read base packages from global config fileJoseph Hunkeler2023-11-211-10/+26
| | | | | | * Add conv_strlist_stackvar macro (globals is not a pointer) * Add "conda_packages" and "pip_package" to global config file * Fix unintended use of "conda build". Use "mambabuild".
* Use TMPDIR, and fail when script cannot be executed within that filesystemJoseph Hunkeler2023-11-201-2/+4
|
* ImprovementsJoseph Hunkeler2023-11-201-36/+94
| | | | | | | | | | | | | * Added getter_required to ensure variables are set by the user * conv_strlist macro strips input and sets its result to NULL if no data was seen * use snprintf to generate environment names. fix incorrect final string output. * Use better working: "Python Packages" instead of "PyPi Packages" * wheel builder will free list(s) on error (unused) * set CONDARC environment variable to ALWAYS point conda to our custom RC file * delivery_defer_packages() should filter correctly now (variable scoping issue) * moved release file text header to global data * delivery_get_spec_header() renamed to delivery_get_release_header() * delivery_rewrite_spec() removes prefix path from delivery artifact
* Replace mkdir() calls with mkdirs() (from copy.h)Joseph Hunkeler2023-11-201-10/+7
|
* Use globalsJoseph Hunkeler2023-11-201-0/+8
| | | | | | * continue_on_error set by omc config * always_update_base_environment set by omc config * Passing OMC_MSG_RESTRICT flag to msg() will print only in verbose mode
* Implements slightly improved error handlingJoseph Hunkeler2023-11-201-17/+58
| | | | | | | * Return status from conda_ and delivery_ functions * Caller prints meaningful error, and handles it * Enable warnings during compilation * Squelch format-truncation warning -- those strings are extremely unlikely to overflow (famous last words)
* Replaces BUFSIZ with OMC_BUFSIZJoseph Hunkeler2023-11-201-2/+2
|
* Remove debug shell callJoseph Hunkeler2023-10-311-8/+2
|
* Consolidate functions and defines from main.cJoseph Hunkeler2023-10-311-5/+126
|
* Add delivery get_spec_header()Joseph Hunkeler2023-10-311-0/+15
|
* Add delivery_free functionJoseph Hunkeler2023-10-311-0/+48
| | | | * Add guard_free_ macros
* Fixes memory leak in conv_ macrosJoseph Hunkeler2023-10-311-3/+4
|
* Initial commitJoseph Hunkeler2023-10-261-0/+626