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
314c33b0
Commit
314c33b0
authored
5 years ago
by
Terry Brady
Browse files
Options
Downloads
Patches
Plain Diff
reference compose files in travis.yml
parent
05d85c2d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.travis.yml
+3
-4
3 additions, 4 deletions
.travis.yml
to_be_determined/cli.assetstore.yml
+20
-0
20 additions, 0 deletions
to_be_determined/cli.assetstore.yml
to_be_determined/cli.yml
+22
-0
22 additions, 0 deletions
to_be_determined/cli.yml
with
45 additions
and
4 deletions
.travis.yml
+
3
−
4
View file @
314c33b0
...
...
@@ -17,13 +17,12 @@ before_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
-
git clone https://github.com/DSpace-Labs/DSpace-Docker-Images.git
install
:
# Start up DSpace 7 using the entities database dump
-
docker-compose -f
DSpace-Docker-Images/docker-compose-files/dspace-compose-v2/d7.
travis.
ci.
yml up -d
-
docker-compose -f
docker-compose-
travis.yml up -d
# Use the dspace-cli image to populate the assetstore. Trigger a discovery and oai update
-
docker-compose -f
DSpace-Docker-Images/docker-compose-files/dspace-compose-v2/d7.cli.yml -f DSpace-Docker-Images/docker-compose-files/dspace-compose-v2/d7.
cli.assetstore.yml run --rm dspace-cli
-
docker-compose -f
to_be_determined/cli.yml -f to_be_determined/
cli.assetstore.yml run --rm dspace-cli
-
travis_retry yarn install
before_script
:
...
...
@@ -32,7 +31,7 @@ before_script:
#- curl http://localhost:8080/
after_script
:
-
docker-compose -f
DSpace-Docker-Images/docker-compose-files/dspace-compose-v2/d7.
travis.
ci.
yml down
-
docker-compose -f
docker-compose-
travis.yml down
addons
:
apt
:
...
...
This diff is collapsed.
Click to expand it.
to_be_determined/cli.assetstore.yml
0 → 100644
+
20
−
0
View file @
314c33b0
version
:
"
3.7"
services
:
dspace-cli
:
environment
:
-
LOADASSETS=https://www.dropbox.com/s/zv7lj8j2lp3egjs/assetstore.tar.gz?dl=1
entrypoint
:
-
/bin/bash
-
'
-c'
-
|
if [ ! -z $${LOADASSETS} ]
then
curl $${LOADASSETS} -L -s --output /tmp/assetstore.tar.gz
cd /dspace
tar xvfz /tmp/assetstore.tar.gz
fi
/dspace/bin/dspace index-discovery
/dspace/bin/dspace oai import
/dspace/bin/dspace oai clean-cache
This diff is collapsed.
Click to expand it.
to_be_determined/cli.yml
0 → 100644
+
22
−
0
View file @
314c33b0
version
:
"
3.7"
services
:
dspace-cli
:
image
:
"
${DOCKER_OWNER:-dspace}/dspace-cli:${DSPACE_VER:-dspace-7_x}"
container_name
:
dspace-cli
#environment:
volumes
:
-
"
assetstore:/dspace/assetstore"
-
"
./local.cfg:/dspace/config/local.cfg"
entrypoint
:
/dspace/bin/dspace
command
:
help
networks
:
-
dspacenet
tty
:
true
stdin_open
:
true
volumes
:
assetstore
:
networks
:
dspacenet
:
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