command
module
Version:
v0.0.0-...-81acc68
Opens a new window with list of versions in this module.
Published: Jul 20, 2019
License: MIT
Opens a new window with license information.
Imports: 16
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
directcd
Continious delivery directly to containers pulling sources from source-repos
Pulling Single Repo
./directcd pull --repo https://github.com/untillpro/directcd-test \
-o directcd-test.exe \
-t 10 \
-w .tmp
- Repo directcd-test is pulled every 10 seconds
- If changes occur
- Prevous instance (if any) of
directcd-test.exe is terminated
go build -o directcd-test.exe is invoked
directcd-test.exe is launched
- Working files are located in
.tmp folder
Pulling Few Repos
./directcd pull \
--repo https://github.com/untillpro/directcd-test \
--replace https://github.com/untillpro/directcd-test-print=https://github.com/maxim-ge/directcd-test-print \
-v \
-o out.exe \
-t 10 \
-w .tmp \
-- --option1 arg1 arg2
- Repos specified by
--repo (main repo) and --replace flags are pulled every 10 seconds
- If changes occur
- Prevous instance (if any) of
out.exe is terminated
replace directive is added to main repo go.mod
replace github.com/untillpro/directcd-test-print => ../directcd-test-print
- main repo is built and launched
go.mod is reverted to original state
-v means verbose mode
--option1 arg1 arg2 are passed to out.exe
Links
Hooks
Stop process
Misc
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.