Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
remote_server
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
priyaranjan.dr
remote_server
Commits
a590592a
Commit
a590592a
authored
Apr 08, 2021
by
priyaranjan.dr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update .gitlab-ci.yml
parent
e692afa0
Pipeline
#12344
failed with stage
in 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
13 deletions
+4
-13
.gitlab-ci.yml
.gitlab-ci.yml
+4
-13
No files found.
.gitlab-ci.yml
View file @
a590592a
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment