aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Set globals struct values as intendedJoseph Hunkeler2024-03-111-7/+2
| | | | * Bare variables predated the globals struct. This better aligns with how options are consumed throughout the program
* Consolidate argument parsing loop controlJoseph Hunkeler2024-03-111-7/+3
| | | | * Fix missing increment of positional argument loop
* Fix missing break statement in OPT_NO_TESTING caseJoseph Hunkeler2024-03-111-0/+1
|
* Make opt_short long enough to fix ARG outputJoseph Hunkeler2024-03-111-1/+1
|
* Change "config" and "python" so their arguments are requiredJoseph Hunkeler2024-03-111-3/+3
| | | | * Fixes update-base argument type. It was never supposed to take an argument.
* Print ARG next to short option output in usage statementJoseph Hunkeler2024-03-111-0/+3
|
* Prevent printing non-existent short options in usage statementJoseph Hunkeler2024-03-111-1/+1
|
* Use do/while in guard_* macros to make them behave more like functionsJoseph Hunkeler2024-03-1013-139/+139
|
* Replace getter_* and conv_* macros with static functions.Joseph Hunkeler2024-03-101-186/+160
|
* Override python version _before_ parsing the configs and rendering template ↵Joseph Hunkeler2024-03-081-8/+8
| | | | strings
* Fix python_compact not getting updated when target python version changedJoseph Hunkeler2024-03-082-11/+14
|
* Makes docker builds, artifactory uploads, and testing optional via CLI ↵Joseph Hunkeler2024-03-082-11/+46
| | | | | | | arguments. * Remove [DEBUG] from debug summary * Add enable_* states to debug summary
* Add CLI option to disable line bufferingJoseph Hunkeler2024-03-071-1/+10
|
* 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
|
* Enable building docker imageJoseph Hunkeler2024-03-061-0/+3
|
* 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-062-45/+47
| | | | | * 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
|
* Reset console color before writingJoseph Hunkeler2024-03-061-0/+1
|
* docker_save function will pipe output of "docker save" to a compression ↵Joseph Hunkeler2024-03-061-2/+22
| | | | program if requested
* docker_script function now returns exit code from processJoseph Hunkeler2024-03-061-7/+14
| | | | * Pipe buffer is zeroed each iteration
* emit "Executing: [cmd]" when OMC_DOCKER_QUIET flag is not presentJoseph Hunkeler2024-03-061-1/+3
|
* Fix path_basenameJoseph Hunkeler2024-03-061-1/+1
| | | | * Return original pointer when path separator is not present
* Fix memory corruption in runtime_set and tpl_renderJoseph Hunkeler2024-03-043-16/+11
|
* Remove semicolon from call to guard_freeJoseph Hunkeler2024-03-041-1/+1
|
* Prototypes documentationJoseph Hunkeler2024-03-043-92/+74
| | | | | | | 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
* Actually exit when a path is /, instead of removing the entire filesystemJoseph Hunkeler2024-03-041-0/+1
|
* xmkstemp allow setting file modeJoseph Hunkeler2024-03-044-5/+5
| | | | * 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-266-17/+77
|
* Expose the docker registry address to template engineJoseph Hunkeler2024-02-231-0/+1
|
* Implement initial driver code for docker buildsJoseph Hunkeler2024-02-231-0/+52
|
* Add docker.c to projectJoseph Hunkeler2024-02-231-0/+1
|
* Initial commit of docker integration codeJoseph Hunkeler2024-02-231-0/+139
|
* Fix sizeof against incorrect arrayJoseph Hunkeler2024-02-231-2/+2
|
* Fix typo in position pointer calculationJoseph Hunkeler2024-02-231-1/+2
| | | | * Not sure how it ended up as (bclose + 2 - pos) to begin with
* Extract git repository informationJoseph Hunkeler2024-02-182-2/+27
| | | | * 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-182-2/+16
| | | | * Artifactory centric
* Quote inputs to string argumentJoseph Hunkeler2024-02-181-8/+8
| | | | * Change type of build-number from int to string. RTFM'd.
* 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
* Set compiler flags specific compilersJoseph Hunkeler2024-02-131-2/+2
|
* Compatibility changesJoseph Hunkeler2024-02-131-2/+12
|
* Fix maximum length passed to strncpyJoseph Hunkeler2024-02-131-1/+1
|
* 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