Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
R
red-ci-cd
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
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
red-group-test
red-ci-cd
Commits
0ef559fd
Commit
0ef559fd
authored
Dec 12, 2019
by
John Red Medrano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added sh script to build a SIT environment
parent
b9b43e92
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
0 deletions
+24
-0
01-bitbucket-pull-repository.sh.template.SIT
01-bitbucket-pull-repository.sh.template.SIT
+6
-0
03-full-api-redeploy.sh.template.SIT
03-full-api-redeploy.sh.template.SIT
+16
-0
full-api-redeploy.sh.template.SIT
full-api-redeploy.sh.template.SIT
+2
-0
No files found.
01-bitbucket-pull-repository.sh.template.SIT
0 → 100644
View file @
0ef559fd
set password "t!r\$0lut10ns"
cd /var/www/devrms.oneberrysystem.com/api-main-service
spawn git pull "http://administrator@42.61.118.105:7990/scm/rms/api-main-service.git" SIT
expect "Password for"
send "$password\n"
03-full-api-redeploy.sh.template.SIT
0 → 100644
View file @
0ef559fd
echo "================================================================";
echo "======================REMOVING API SERVICES=====================";
docker-compose -f api-main-service/docker-compose.yml down
echo "================================================================";
cd /var/www/devrms.oneberrysystem.com/
echo "================================================================";
echo "======================BUILDING API SERVICES=====================";
docker-compose -f api-main-service/docker-compose.yml up -d --build --remove-orphans
echo "================================================================";
full-api-redeploy.sh.template.SIT
0 → 100644
View file @
0ef559fd
expect 01-bitbucket-pull-repository.sh
sh /var/www/devrms.oneberrysystem.com/03-full-api-redeploy.sh
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