aboutsummaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Initial commit of template engine code (not hooked up yet)Joseph Hunkeler2024-01-301-0/+16
|
* General improvementsJoseph Hunkeler2024-01-302-3/+38
| | | | | | | | | | | * 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
* Add config.h.in header templateJoseph Hunkeler2024-01-292-0/+9
|
* Include time (everywhere)Joseph Hunkeler2023-12-101-0/+2
|
* Add globals_free() prototypeJoseph Hunkeler2023-12-101-0/+5
|
* Add conda_fresh_start to globalsJoseph Hunkeler2023-12-101-3/+14
| | | | | * Move conda_install_prefix to globals * Add Jfrog structure to globals
* Add OMC_NAME_MAX and OMC_DIRSTACK_MAX definesJoseph Hunkeler2023-12-101-0/+2
|
* Move guard_ macros to primary headerJoseph Hunkeler2023-12-101-0/+4
|
* Add isempty_dir() prototypeJoseph Hunkeler2023-12-101-0/+1
|
* Too many changes to countJoseph Hunkeler2023-12-101-1/+16
| | | | | | | | | | | | | | * 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 JFrog CLI integrationJoseph Hunkeler2023-12-101-0/+106
|
* Read base packages from global config fileJoseph Hunkeler2023-11-211-7/+10
| | | | | | * 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-202-1/+2
|
* runtime_set takes pointer to char, instead of constant pointer to charJoseph Hunkeler2023-11-201-1/+1
|
* Add shell_output() and use xmkstemp()Joseph Hunkeler2023-11-201-0/+1
|
* Fix warnings and add xmkstempJoseph Hunkeler2023-11-201-0/+9
| | | | | | * Reduce stack usage for status variable in msg() * Bugfix: write OMC_COLOR_RESET to the requested stream instead of stdout * Add helper function xmkstemp to avoid clutter when using disposable files
* Use globalsJoseph Hunkeler2023-11-201-0/+2
| | | | | | * 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-202-8/+7
| | | | | | | * 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)
* Add copy.c, copy.hJoseph Hunkeler2023-11-201-0/+19
| | | | | | * copytree() * mkdirs() * copy2()
* RebrandingJoseph Hunkeler2023-11-205-21/+33
|
* Rebrand for the last timeJoseph Hunkeler2023-11-207-22/+25
| | | | | * Shorten OHMYCAL to OMC * Rename ohmycal.h to omc.h
* Rebrand SPM to OHMYCALJoseph Hunkeler2023-11-032-10/+10
|