Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Dspace7 Angular
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vtechworks
Dspace7 Angular
Commits
7b65270a
Commit
7b65270a
authored
5 years ago
by
Terry Brady
Browse files
Options
Downloads
Patches
Plain Diff
add docker startup
parent
7903a930
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.travis.yml
+39
-0
39 additions, 0 deletions
.travis.yml
with
39 additions
and
0 deletions
.travis.yml
+
39
−
0
View file @
7b65270a
sudo
:
required
dist
:
trusty
env
:
COMPOSE_VERSION
:
1.24.1
before_install
:
# Docker Compose Install
-
curl -L https://github.com/docker/compose/releases/download/${COMPOSE_VERSION}/docker-compose-`uname -s`-`uname -m` > docker-compose
-
chmod +x docker-compose
-
sudo mv docker-compose /usr/local/bin
# Download and install Docker libs
-
curl -L https://github.com/Ortus-Solutions/docker-buildfiles/archive/master.zip > docker.zip
-
unzip docker.zip -d workbench
-
mv workbench/docker-buildfiles-master workbench/docker
# CommandBox Keys
-
sudo apt-key adv --keyserver keys.gnupg.net --recv 6DA70622
-
sudo echo "deb http://downloads.ortussolutions.com/debs/noarch /" | sudo tee -a
/etc/apt/sources.list.d/commandbox.list
-
curl -L https://github.com/DSpace-Labs/DSpace-Docker-Images/archive/master.zip > master.zip
-
unzip master.zip
install
:
# Core testing install
-
sudo apt-get update && sudo apt-get --assume-yes install commandbox
-
box install
-
box server start
# Docker CFML Server Tests
-
export ANGULAR_SRC=$(pwd)
-
cd DSpace-Docker-Images/docker-compose-files/dspace-compose
-
docker-compose -f docker-compose.yml -f d7.override.yml -f agn-src-override.yml build
-
docker-compose -f docker-compose.yml -f d7.override.yml -f agn-src-override.yml -f load.entities.yml up -d
before_script
:
# Startup the app
-
curl http://localhost:8080/
-
curl http://localhost:3000/
after_script
:
-
docker-compose -f docker-compose.yml -f d7.override.yml -f agn-src-override.yml down
addons
:
apt
:
sources
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment