-
Notifications
You must be signed in to change notification settings - Fork 177
Introduce CNAB core commands #443
Introduce CNAB core commands #443
Commits on Jan 15, 2019
-
Introduce a new run binary, which is the new docker-app CNAB "backend".
In future commits, the docker-app binary will be mutated as a frontend, and all the installation logic will be moved to the run binary. run comes with the 4 CNAB core commands: install/uninstall/status/upgrade. Adds github.com/deislabs/duffle as vendoring Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
Configuration menu - View commit details
-
Copy full SHA for aba83a5 - Browse repository at this point
Copy the full SHA aba83a5View commit details
Commits on Jan 31, 2019
-
Add the CNAB base invocation-image build target in the Dockerfile.
* Fix tag generation by truncating the git sha. * Fix saving cnab base image to a global tmp directory and put it in a local git ignored directory (_build). * Remove the cnab base image from the CI local daemon * Load invocation image directly instead of using a make target. Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
Configuration menu - View commit details
-
Copy full SHA for f009c0e - Browse repository at this point
Copy the full SHA f009c0eView commit details -
Add bundle command to create a CNAB from a Docker Application Package
Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
Configuration menu - View commit details
-
Copy full SHA for 5bf177d - Browse repository at this point
Copy the full SHA 5bf177dView commit details -
Bump docker/cli, moby/moby, grpc, runc and duffle
Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
Configuration menu - View commit details
-
Copy full SHA for 8574b9a - Browse repository at this point
Copy the full SHA 8574b9aView commit details -
* Add Install command to install any CNAB bundle.
Install command also detects if the argument is a Docker Application Package. It will then bundle it and run the CNAB action Install. It is now a CNAB installer, and all the docker-app deployment logic is moved to the docker-app backend binary run in cmd/run/install.go. The installation is added in the duffle claim store. * Rename deploy command to install (with still alias to deploy) Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
Configuration menu - View commit details
-
Copy full SHA for daa2241 - Browse repository at this point
Copy the full SHA daa2241View commit details -
Add Uninstall command, to uninstall a claim from the duffle claim store.
It will run the Uninstall CNAB action in the cmd/run/uninstall.go to remove a Docker Application Package deployment. Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
Configuration menu - View commit details
-
Copy full SHA for 76b4d3c - Browse repository at this point
Copy the full SHA 76b4d3cView commit details -
Add upgrade command to modify a CNAB installation.
Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
Configuration menu - View commit details
-
Copy full SHA for bd3b894 - Browse repository at this point
Copy the full SHA bd3b894View commit details -
Add status command to query the status of a CNAB installation.
For a Docker Application Package, it will run a "docker stack services" on the deployed stack. Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
Configuration menu - View commit details
-
Copy full SHA for 5633f15 - Browse repository at this point
Copy the full SHA 5633f15View commit details -
Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
Configuration menu - View commit details
-
Copy full SHA for d17548a - Browse repository at this point
Copy the full SHA d17548aView commit details -
*Fix running docker-app validate only on application package examples and skip CNAB examples. Signed-off-by: Christopher Crone <christopher.crone@docker.com>
Configuration menu - View commit details
-
Copy full SHA for 520a7b1 - Browse repository at this point
Copy the full SHA 520a7b1View commit details -
getTargetContext now resolves the current context if the target conte…
…xt has not been specified. Factorize credentialset and target-context flags. Extract all helper functions to their own go file. Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
Configuration menu - View commit details
-
Copy full SHA for 172ce06 - Browse repository at this point
Copy the full SHA 172ce06View commit details -
Rename the cmd/run binary to cmd/cnab-run.
Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
Configuration menu - View commit details
-
Copy full SHA for 312da0c - Browse repository at this point
Copy the full SHA 312da0cView commit details -
Various cleanings, including missing EOL, typos, comments, ...
Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
Configuration menu - View commit details
-
Copy full SHA for d8fe337 - Browse repository at this point
Copy the full SHA d8fe337View commit details -
Wrap tar errors with some context
Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
Configuration menu - View commit details
-
Copy full SHA for 196387f - Browse repository at this point
Copy the full SHA 196387fView commit details