Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MetaRL
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
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Wang, Mia
MetaRL
Commits
f4fe2646
Commit
f4fe2646
authored
2 years ago
by
Sun Jin Kim
Browse files
Options
Downloads
Patches
Plain Diff
add gitlab-ci.yml
parent
06384f33
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+11
-17
11 additions, 17 deletions
.gitlab-ci.yml
with
11 additions
and
17 deletions
.gitlab-ci.yml
+
11
−
17
View file @
f4fe2646
build-job
:
build-job
:
stage
:
build
stage
:
build
script
:
script
:
-
echo "Hello, I'm Building"
-
python3 -m venv venv
-
pip install pytest
-
. venv/bin/activate
-
pip install flask
-
pip install -r requirements.txt
-
pip install pandoc
# for pdf making
-
pip install weasyprint
# for pdf making
test-job
:
test-job
:
stage
:
test
stage
:
test
script
:
script
:
-
echo "Now I'm Testing!"
-
pytest
-
python3 -m tests.test_query_processor
deploy-job
:
# deploy-job:
stage
:
deploy
# stage: deploy
script
:
# script:
-
echo "Now I'm Deploying to VM!"
# - echo "Now I'm Deploying to VM!"
-
python3 -m venv venv
# - flask run &
-
. venv/bin/activate
# - echo "Now I'm Deploying to Heroku!"
-
pip install -r requirements.txt
# - dpl --provider=heroku --app=metarl --api-key=5ccc3ae7-725e-4f9f-b441-0c9a28ebdc1b
-
flask run &
-
echo "Now I'm Deploying to Heroku!"
-
dpl --provider=heroku --app=metarl --api-key=5ccc3ae7-725e-4f9f-b441-0c9a28ebdc1b
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