-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into hackathon_squash_…
…attempt_7
- Loading branch information
Showing
282 changed files
with
7,815 additions
and
4,226 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Fixes line endings for Windows (Docker) environment, which are by default converted to crlf | ||
* text=auto | ||
*.sh text eol=lf | ||
proc-start text eol=lf | ||
Rakefile text eol=lf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
MYSQL_DATABASE: test | ||
MYSQL_ROOT_PASSWORD: password | ||
options: >- | ||
--health-cmd "mysqladmin ping" | ||
--health-cmd "mariadb-admin ping" | ||
--health-interval 10s | ||
--health-timeout 5s | ||
--health-retries 5 | ||
|
@@ -35,7 +35,9 @@ jobs: | |
- name: Checkout source code | ||
uses: actions/checkout@v2 | ||
- name: Setup chromedriver | ||
uses: nanasess/[email protected] | ||
uses: nanasess/setup-chromedriver@v2 | ||
with: | ||
chromedriver-version: '115.0.5790.170' # https://github.com/nanasess/setup-chromedriver/issues/200 | ||
- name: Setup ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,6 +27,7 @@ config/environments/development.rb | |
nbproject/ | ||
.*.sw? | ||
*~ | ||
*.iml | ||
|
||
coverage | ||
tags | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# This configuration file was mainly inspired by ./doc/SETUP_DEVELOPMENT_DOCKER.md | ||
tasks: | ||
- name: Docker | ||
init: | | ||
# init docker containers | ||
docker-compose -f docker-compose-dev.yml pull | ||
docker-compose -f docker-compose-dev.yml up -d mariadb | ||
docker-compose -f docker-compose-dev.yml run --rm foodsoft bundle install | ||
docker-compose -f docker-compose-dev.yml run --rm foodsoft bundle exec rake foodsoft:setup_development_docker | ||
# setup test database | ||
docker-compose -f docker-compose-dev.yml run --rm mariadb mariadb --host=mariadb --password=secret --execute="CREATE DATABASE test" | ||
docker-compose -f docker-compose-dev.yml run --rm foodsoft bundle exec rake db:schema:load RAILS_ENV=test DATABASE_URL=mysql2://root:secret@mariadb/test?encoding=utf8mb4 | ||
command: | | ||
# start docker containers | ||
docker-compose -f docker-compose-dev.yml up | ||
- name: Rails | ||
command: | | ||
echo "The rails application is started in docker containers (see docker-compose-dev.yml)." | ||
echo "For executing rails commands, open up a bash terminal inside the foodsoft container via 'docker-compose -f docker-compose-dev.yml exec foodsoft bash'" | ||
ports: | ||
- port: 3000 | ||
onOpen: open-preview | ||
- port: 2080 | ||
onOpen: notify | ||
- port: 1080 | ||
onOpen: notify | ||
|
||
vscode: | ||
extensions: | ||
- ms-azuretools.vscode-docker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.6.9 | ||
2.7.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.