Update gitlab-ci.yml serverless template to make use of gitlabktl
Problem to solve
Currently, GitLab serverless uses knative build to create build template using the knative builder
. This presents a couple of issues:
- We cannot use our security features outside of GitLab CI
- We cannot surface build errors without additional work which is subject to change based on knative's alpha status
Target audience
developers, operators
Further details
Proposal
In order to bring knative builds to GitLab CI, we will be making use of gitlabktl
. The existing template for .gitlab-ci.yml
for serverless must be updated in order to use gitlabktl
.
- Replace CI template to use GitLab serverless CLI (
gitlabktl
.
What does success look like, and how can we measure that?
Links / references
Edited by Daniel Gruesso