Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
K
karname-ui
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Reza Sahebgharan
karname-ui
Commits
c5b6e500
Commit
c5b6e500
authored
Oct 17, 2019
by
Reza Sahebgharan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build stage test
parent
cd528c3f
Pipeline
#389
passed with stages
in 11 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
.gitlab-ci.yml
.gitlab-ci.yml
+2
-2
command.ps1
scripts/command.ps1
+3
-2
No files found.
.gitlab-ci.yml
View file @
c5b6e500
...
...
@@ -25,8 +25,8 @@ build_in_branch:
-
New-Item -Path '.\.env' -ItemType File
-
Add-Content .\.env "$envtext"
-
echo y | pscp.exe -batch -l administrator -pw $env:WinRunPass ./.env WinRun:c:/Users/administrator/.env
# save .env in remote server
-
echo y | plink -batch -ssh administrator@WinRun -pw $env:WinRunPass
cd c:/Users/administrator/ ; docker-compose config ;docker-compose up -d --force-recreate
-
./scripts/command.ps1
-
echo y | plink -batch -ssh administrator@WinRun -pw $env:WinRunPass
-m ./scripts/command.ps1
#
- ./scripts/command.ps1
allow_failure
:
true
except
:
-
master
...
...
scripts/command.ps1
View file @
c5b6e500
echo
y | plink -batch -ssh administrator@WinRun -pw
$env
:WinRunPass -m scripts/command-server.bat
\ No newline at end of file
# echo y | plink -batch -ssh administrator@WinRun -pw $env:WinRunPass -m scripts/command-server.bat
Set-Location
c:/Users/administrator ; docker-compose -f c:/Users/administrator/docker-compose.yml up -d --force-recreate
\ 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