Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
25cc54ca
Commit
25cc54ca
authored
Jul 15, 2019
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Deploy serverless apps with `gitlabktl`
parent
0e8af252
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
8 deletions
+5
-8
lib/gitlab/ci/templates/Serverless.gitlab-ci.yml
lib/gitlab/ci/templates/Serverless.gitlab-ci.yml
+5
-8
No files found.
lib/gitlab/ci/templates/Serverless.gitlab-ci.yml
View file @
25cc54ca
...
...
@@ -8,26 +8,23 @@ stages:
-
deploy
.serverless:build:image:
stage
:
build
image
:
registry.gitlab.com/gitlab-org/gitlabktl:latest
stage
:
build
script
:
/usr/bin/gitlabktl app build
.serverless:deploy:image:
image
:
registry.gitlab.com/gitlab-org/gitlabktl:latest
stage
:
deploy
image
:
gcr.io/triggermesh/tm@sha256:3cfdd470a66b741004fb02354319d79f1598c70117ce79978d2e07e192bfb336
# v0.0.11
environment
:
development
script
:
-
echo "$CI_REGISTRY_IMAGE"
-
tm -n "$KUBE_NAMESPACE" --config "$KUBECONFIG" deploy service "$CI_PROJECT_NAME" --from-image "$CI_REGISTRY_IMAGE" --wait
script
:
/usr/bin/gitlabktl app deploy
.serverless:build:functions:
stage
:
build
environment
:
development
image
:
registry.gitlab.com/gitlab-org/gitlabktl:latest
stage
:
build
script
:
/usr/bin/gitlabktl serverless build
.serverless:deploy:functions:
image
:
registry.gitlab.com/gitlab-org/gitlabktl:latest
stage
:
deploy
environment
:
development
image
:
registry.gitlab.com/gitlab-org/gitlabktl:latest
script
:
/usr/bin/gitlabktl serverless deploy
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment