-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d6e8cac
commit 8c26b9b
Showing
1 changed file
with
0 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,11 +8,6 @@ services: | |
|
||
jobs: | ||
include: | ||
- stage: "Tests, Linting and Formating" | ||
script: | ||
- npm run format | ||
- npm run lint | ||
- npm run test | ||
- stage: "Build and Push Docker Image" | ||
script: | ||
- npm i | ||
|
@@ -29,11 +24,9 @@ jobs: | |
- gcloud auth activate-service-account [email protected] --key-file=client-secret.json | ||
- gcloud container clusters get-credentials jobspeed-production --zone europe-west2-a --project jobspeed | ||
- sed -i "s/replace_with_git_tag/$TRAVIS_TAG/" .kubernetes/deployment.yaml | ||
- sed -i "s/replace_with_client_secret/$CLIENT_SECRET/" .kubernetes/config-map.yaml | ||
- kubectl apply -f .kubernetes/deployment.yaml | ||
|
||
stages: | ||
- name: Tests, Linting and Formating | ||
- name: Build and Push Docker Image | ||
if: tag IS present | ||
- name: Deploy to Kubernetes | ||
|