Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jeff Sturek
UNL Resource Scheduler
Commits
da209707
Commit
da209707
authored
Nov 19, 2021
by
Jeff Sturek
Browse files
Update .gitlab-ci.yml file
parent
760baec3
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
da209707
...
...
@@ -14,10 +14,6 @@ image: ruby:latest
services
:
-
mysql:latest
-
redis:latest
-
postgres:latest
variables
:
POSTGRES_DB
:
database_name
# Cache gems in between builds
cache
:
...
...
@@ -41,20 +37,4 @@ rubocop:
rspec
:
script
:
-
rspec spec
rails
:
variables
:
DATABASE_URL
:
"
postgresql://postgres:postgres@postgres:5432/$POSTGRES_DB"
script
:
-
rails db:migrate
-
rails db:seed
-
rails test
# This deploy job uses a simple deploy flow to Heroku, other providers, e.g. AWS Elastic Beanstalk
# are supported too: https://github.com/travis-ci/dpl
deploy
:
type
:
deploy
environment
:
production
script
:
-
gem install dpl
-
dpl --provider=heroku --app=$HEROKU_APP_NAME --api-key=$HEROKU_PRODUCTION_KEY
\ No newline at end of file
Write
Preview
Supports
Markdown
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