Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
C
clock-8001
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
9
Issues
9
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Security & Compliance
Security & Compliance
Dependency List
Packages
Packages
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vesa-Pekka Palmu
clock-8001
Commits
2d45dd1d
Commit
2d45dd1d
authored
Feb 24, 2019
by
Vesa-Pekka Palmu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Formatting
parent
0ed6611e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
.gitlab-ci.yml
.gitlab-ci.yml
+9
-5
No files found.
.gitlab-ci.yml
View file @
2d45dd1d
...
...
@@ -78,12 +78,14 @@ deploy_latest:
-
sshpass -V
-
export SSHPASS=$USER_PASS
-
export TS=$(date +%Y-%m-%d-%H%M%S)
-
sshpass -e scp -o stricthostkeychecking=no sdl-clock clock8001@kissa.depili.fi:/var/www/html/clock-8001/testing/sdl-clock-$TS
-
sshpass -e scp -o stricthostkeychecking=no matrix-clock clock8001@kissa.depili.fi:/var/www/html/clock-8001/testing/matrix-clock-$TS
-
sshpass -e scp -o stricthostkeychecking=no sdl-clock \
clock8001@kissa.depili.fi:/var/www/html/clock-8001/testing/sdl-clock-$TS
-
sshpass -e scp -o stricthostkeychecking=no matrix-clock \
clock8001@kissa.depili.fi:/var/www/html/clock-8001/testing/matrix-clock-$TS
only
:
-
master
deploy_
latest
:
deploy_
release
:
stage
:
deploy
environment
:
Stable
script
:
...
...
@@ -92,8 +94,10 @@ deploy_latest:
-
sshpass -V
-
export SSHPASS=$USER_PASS
-
export TS=$(date +%Y-%m-%d-%H%M%S)
-
sshpass -e scp -o stricthostkeychecking=no sdl-clock clock8001@kissa.depili.fi:/var/www/html/clock-8001/sdl-clock-$CI_COMMIT_TAG
-
sshpass -e scp -o stricthostkeychecking=no matrix-clock clock8001@kissa.depili.fi:/var/www/html/clock-8001/matrix-clock-$CI_COMMIT_TAG
-
sshpass -e scp -o stricthostkeychecking=no sdl-clock \
clock8001@kissa.depili.fi:/var/www/html/clock-8001/releases/sdl-clock-$CI_COMMIT_TAG
-
sshpass -e scp -o stricthostkeychecking=no matrix-clock \
clock8001@kissa.depili.fi:/var/www/html/clock-8001/releases/matrix-clock-$CI_COMMIT_TAG
-
curl -X POST \
-F token=$BR_TOKEN \
-F "ref=master" \
...
...
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