Add serverless application deploy command
Description
This merge request implement a serverless application deployment command.
This is a replacement for deploying applications with tm
tool.
How does it work?
- During the build stage an image gets pushed to GitLab Container Registry.
- During the deploy stage the command below gets invoked.
- It deploys a new service to a Knative cluster, using the image built before.
- It is environment-aware, especially CI/CD-native, so you don't need to provide arguments like the image name unless you are deploying a custom image / want to override an application name.
- One can override arguments using
GITLAB_APP_
environment variables in a CI/CD job (variables: GITLAB_APP_NAME: something
).
Example:
$ /usr/bin/gitlabktl application deploy
Closes #9 (closed)
Edited by Grzegorz Bizon