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

update gitlab ci

parent c2ed9a8e
Pipeline #38314 failed with stage
in 54 seconds
Showing with 2 additions and 21 deletions
+2 -21
stages: stages:
- validate - validate
- build
- deploy
validate: validate:
stage: validate stage: validate
script:
- ./script/validate.sh
tags:
- fresh-eton
except:
- tags
build:
stage: build
before_script: before_script:
- echo "Pipline CICD for dev branch" - export KUBECONFIG=/home/gitlab-runner/k8s-training.yaml
- export GITLAB_ORIGINAL_DIR=$CI_PROJECT_DIR
script: script:
- sudo -E /root/userpnhat/lab1/script/build-devbranch.sh - ./script/validate.sh
tags:
- fresh-eton
except:
- tags
deploy:
stage: deploy
script:
- sudo /root/userpnhat/lab1/script/deploy-devbranch.sh
tags: tags:
- fresh-eton - fresh-eton
except: 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