Commit a590592a authored by priyaranjan.dr's avatar priyaranjan.dr

Update .gitlab-ci.yml

parent e692afa0
Pipeline #12344 failed with stage
in 5 seconds
variables:
DEPLOYMENT_YML: deployment-service.yml
stages: stages:
- build
- deploy - deploy
build:
stage: build
script: echo "once the build job is successful,deplyment job will schedule."
deploy: deploy:
stage: deploy stage: deploy
script: script:
- sshpass -p "admin@123" ssh -T administrator@192.168.3.187 - export config=/home/gitlab-runner/builds/HzP_8ss7/0/priyaranjan.dr/kub_dep
- mkdir drkl - kubectl apply -f $DEPLOYMENT_YML
- cd drkl \ No newline at end of file
- touch hai.txt
- touch hello.txt
- echo "hello_world = 0" >> hello.txt
- sed -i 's/0/1/g' hello.txt
- cat hello.txt
- pwd
\ No newline at end of file
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