Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
ViaResto-website
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Aymeric Chaumont
ViaResto-website
Commits
d07857fb
Commit
d07857fb
authored
3 years ago
by
Antoine Gaudron-Desjardins
Browse files
Options
Downloads
Patches
Plain Diff
ci
parent
43a5c166
No related branches found
No related tags found
1 merge request
!6
Ci
Pipeline
#43663
failed
3 years ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+3
-3
3 additions, 3 deletions
.gitlab-ci.yml
with
3 additions
and
3 deletions
.gitlab-ci.yml
+
3
−
3
View file @
d07857fb
...
@@ -77,7 +77,6 @@ install:
...
@@ -77,7 +77,6 @@ install:
lint
:
lint
:
stage
:
test
stage
:
test
allow_failure
:
false
before_script
:
before_script
:
-
source ./venv/bin/activate
-
source ./venv/bin/activate
-
pip install pycodestyle
-
pip install pycodestyle
...
@@ -98,9 +97,10 @@ test:
...
@@ -98,9 +97,10 @@ test:
WEB_ROOT
:
http://localhost:3000
WEB_ROOT
:
http://localhost:3000
before_script
:
before_script
:
-
source ./venv/bin/activate
-
source ./venv/bin/activate
-
cd ./backend
-
python -m uvicorn main:app --port=80 --host 0.0.0.0
script
:
script
:
-
cd ./backend
-
docker build -t app ./backend
-
docker run -p 8000:80 app --env-file ./backend/.env
-
curl "http://localhost/api/health"
-
curl "http://localhost/api/health"
#######################################################################################################################################
#######################################################################################################################################
...
...
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