Commit 243fab70 authored by Doan Phuoc Nhat's avatar Doan Phuoc Nhat
Browse files

update gitlab ci

3 merge requests!3Stage,!2Dev,!1Dev
Pipeline #38314 failed with stage
in 54 seconds
Showing with 2 additions and 21 deletions
+2 -21
stages:
- validate
- build
- deploy
validate:
stage: validate
script:
- ./script/validate.sh
tags:
- fresh-eton
except:
- tags
build:
stage: build
before_script:
- echo "Pipline CICD for dev branch"
- export GITLAB_ORIGINAL_DIR=$CI_PROJECT_DIR
- export KUBECONFIG=/home/gitlab-runner/k8s-training.yaml
script:
- sudo -E /root/userpnhat/lab1/script/build-devbranch.sh
tags:
- fresh-eton
except:
- tags
deploy:
stage: deploy
script:
- sudo /root/userpnhat/lab1/script/deploy-devbranch.sh
- ./script/validate.sh
tags:
- fresh-eton
except:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment