Agregada stage de testeo a gitlab-ci
This commit is contained in:
@@ -1,9 +1,19 @@
|
|||||||
image: python:latest
|
image: python:latest
|
||||||
|
|
||||||
|
stages:
|
||||||
|
- test
|
||||||
|
- deploy
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- apt-get update -y && apt-get upgrade -y
|
- apt-get update -y && apt-get upgrade -y
|
||||||
|
|
||||||
|
test:
|
||||||
|
stage: test
|
||||||
|
script:
|
||||||
|
- ./lint.sht
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
|
stage: deploy
|
||||||
script:
|
script:
|
||||||
## Install ssh-agent if not already installed
|
## Install ssh-agent if not already installed
|
||||||
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client git -y )'
|
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client git -y )'
|
||||||
|
|||||||
Reference in New Issue
Block a user