Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
schedules
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Khalid Ali
schedules
Commits
31708b7f
Commit
31708b7f
authored
Jul 31, 2018
by
Zac Wood
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
starting CI -- no idea if this will work
parent
10776902
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
2 deletions
+17
-2
.gitlab-ci.yml
.gitlab-ci.yml
+14
-0
docker-compose.yml
docker-compose.yml
+2
-0
schedules_api/Dockerfile
schedules_api/Dockerfile
+1
-2
No files found.
.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