Skip to content

Commit

Permalink
Merge pull request #5 from datreeio/gitlab
Browse files Browse the repository at this point in the history
Create .gitlab-ci.yml
  • Loading branch information
shimont authored Apr 7, 2021
2 parents e0a0922 + 0bb8f50 commit 55814e9
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
image: node:14

stages:
- build
- test

build:
stage: build
script:
- npm run test

test:
stage: test
script:
- npm run test
- wget https://clipublic.s3.amazonaws.com/datree-cli_0.0.261-main_Linux_x86_64/datree && chmod +x datree
- ./datree test kube/deployment.yaml
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@
## GitHub Actions

`.github/workflows/node.js.yml`

## GitLab

`.gitlab-ci.yml`

0 comments on commit 55814e9

Please sign in to comment.