Skip to content

Commit

Permalink
feat(kubectl): add to depoly process
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasduteil committed Sep 17, 2019
1 parent 23455ad commit db4131c
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ include:
- /git-deploy/.gitlab-ci.yml
- /helm/.gitlab-ci.yml
- /k8s-ns-killer/.gitlab-ci.yml
- /kubectl/.gitlab-ci.yml
#

variables:
Expand Down
20 changes: 20 additions & 0 deletions kubectl/.gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@


Build socialgouv/docker/kubectl:
stage: "Build"
extends: .base_register_to_gitlab_stage
variables:
CONTEXT: kubectl
IMAGE_NAME: ${CI_REGISTRY_IMAGE}/kubectl

Test socialgouv/docker/kubectl:
stage: "Test"
image: "${CI_REGISTRY_IMAGE}/kubectl:${CI_COMMIT_SHA}"
environment: feature-dev
script:
- kubectl version

Publish socialgouv/docker/kubectl to Github Registry:
extends: .base_publish_to_github_stage
variables:
IMAGE_NAME: socialgouv/docker/kubectl

0 comments on commit db4131c

Please sign in to comment.