Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tdt4242-base
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Åsmund Haugse
tdt4242-base
Commits
55b408ce
Commit
55b408ce
authored
4 years ago
by
Pernille Welle-Watne
Browse files
Options
Downloads
Patches
Plain Diff
this is goind to fail, but i wanted to try
parent
87175ab6
No related branches found
No related tags found
5 merge requests
!9
Error 1
,
!7
Boundary tests
,
!6
Task 2 coverage test
,
!5
Task 2 coverage test
,
!3
Google calendar
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+51
-0
51 additions, 0 deletions
.gitlab-ci.yml
with
51 additions
and
0 deletions
.gitlab-ci.yml
+
51
−
0
View file @
55b408ce
...
@@ -10,6 +10,57 @@ test:
...
@@ -10,6 +10,57 @@ test:
-
pip install -r requirements.txt
-
pip install -r requirements.txt
-
python manage.py test
-
python manage.py test
build
:
stage
:
build
image
:
docker:stable
services
:
backend
:
container_name
:
django_group_${GROUPID}
build
:
context
:
backend/secfit/
dockerfile
:
Dockerfile
args
:
DJANGO_SUPERUSER_USERNAME
:
"
${DJANGO_SUPERUSER_USERNAME}"
DJANGO_SUPERUSER_PASSWORD
:
"
${DJANGO_SUPERUSER_PASSWORD}"
DJANGO_SUPERUSER_EMAIL
:
"
${DJANGO_SUPERUSER_EMAIL}"
environment
:
-
GROUPID=${GROUPID}
networks
:
backend_bridge
:
ipv4_address
:
10.${GROUPID}.0.4
application
:
container_name
:
node_group_${GROUPID}
build
:
context
:
frontend/
dockerfile
:
Dockerfile
args
:
GROUPID
:
${GROUPID}
DOMAIN
:
${DOMAIN}
URL_PREFIX
:
${URL_PREFIX}
PORT_PREFIX
:
${PORT_PREFIX}
networks
:
backend_bridge
:
ipv4_address
:
10.${GROUPID}.0.5
web
:
container_name
:
nginx_group_${GROUPID}
build
:
context
:
.
dockerfile
:
Dockerfile
ports
:
-
${PORT_PREFIX}${GROUPID}:80
environment
:
-
GROUPID=${GROUPID}
-
PORT_PREFIX=${PORT_PREFIX}
networks
:
backend_bridge
:
ipv4_address
:
10.${GROUPID}.0.6
script
:
-
docker build
staging
:
staging
:
type
:
deploy
type
:
deploy
image
:
ruby
image
:
ruby
...
...
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