Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
schedules
Commits
31708b7f
Commit
31708b7f
authored
Jul 31, 2018
by
Zac Wood
Browse files
starting CI -- no idea if this will work
parent
10776902
Pipeline
#2642
failed with stage
in 16 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
0 → 100644
View file @
31708b7f
image
:
docker:stable
stages
:
-
test
before_script
:
-
cd schedules_api/
-
docker build . -t schedules_api
schedules_api
:
stage
:
test
script
:
-
docker run schedules_api rails test
docker-compose.yml
View file @
31708b7f
...
...
@@ -6,3 +6,5 @@ services:
ports
:
-
"
3000:3000"
command
:
./start.sh
volumes
:
-
.:/api
schedules_api/Dockerfile
View file @
31708b7f
...
...
@@ -4,5 +4,4 @@ RUN mkdir /api
WORKDIR
/api
ADD
. /api
RUN
bundle
install
--without
development
ENV
RAILS_ENV=production
RUN
bundle
install
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