debian-mirror-gitlab/lib/gitlab/ci/templates/Serverless.gitlab-ci.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
1,013 B
YAML
Raw Normal View History

2021-09-30 23:02:18 +05:30
# To contribute improvements to CI/CD templates, please follow the Development guide at:
# https://docs.gitlab.com/ee/development/cicd/templates.html
# This specific template is located at:
# https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Serverless.gitlab-ci.yml
2019-07-07 11:18:12 +05:30
# GitLab Serverless template
image: alpine:latest
stages:
- build
2019-07-31 22:56:46 +05:30
- test
2019-07-07 11:18:12 +05:30
- deploy
.serverless:build:image:
2019-09-04 21:01:54 +05:30
image: registry.gitlab.com/gitlab-org/gitlabktl:latest
2019-10-12 21:52:04 +05:30
stage: build
2019-09-04 21:01:54 +05:30
script: /usr/bin/gitlabktl app build
2019-07-07 11:18:12 +05:30
.serverless:deploy:image:
2019-10-12 21:52:04 +05:30
image: registry.gitlab.com/gitlab-org/gitlabktl:latest
2019-07-07 11:18:12 +05:30
stage: deploy
environment: development
2019-10-12 21:52:04 +05:30
script: /usr/bin/gitlabktl app deploy
2019-07-07 11:18:12 +05:30
.serverless:build:functions:
image: registry.gitlab.com/gitlab-org/gitlabktl:latest
2019-10-12 21:52:04 +05:30
stage: build
2019-07-07 11:18:12 +05:30
script: /usr/bin/gitlabktl serverless build
.serverless:deploy:functions:
2019-10-12 21:52:04 +05:30
image: registry.gitlab.com/gitlab-org/gitlabktl:latest
2019-07-07 11:18:12 +05:30
stage: deploy
environment: development
script: /usr/bin/gitlabktl serverless deploy