-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #709 from ibi-group/dev
Feature Release: September 2 2022
- Loading branch information
Showing
183 changed files
with
15,503 additions
and
5,540 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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
_**NOTE:** This issue system is intended for reporting bugs and tracking progress in software development. Although this software is licensed with an open-source license, any issue opened here may not be responded to in a timely manner. [Conveyal](https://www.conveyal.com) is unable to provide technical support for custom deployments of this software unless your company has a support contract with us. Please remove this note when creating the issue._ | ||
_**NOTE:** This issue system is intended for reporting bugs and tracking progress in software development. Although this software is licensed with an open-source license, any issue opened here may not be dealt with in a timely manner. [IBI Group](https://www.ibigroup.com/) is able to provide technical support for custom deployments of this software. Please contact [Ritesh Warade](mailto:[email protected]?subject=Data%20Tools%20inquiry%20via%20GitHub&body=Name:%20%0D%0AAgency/Company:%20%0D%0ABest%20date/time%20for%20a%20demo/discussion:%20%0D%0ADescription%20of%20needs:%20) if your company or organization is interested in opening a support contract with us. Please remove this note when creating the issue._ | ||
|
||
## Observed behavior (please include a screenshot if possible) | ||
|
||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
name: Node.js CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
test-build-release: | ||
|
||
runs-on: ubuntu-latest | ||
# Add postgres for end-to-end | ||
services: | ||
postgres: | ||
image: postgres:10.8 | ||
# Set postgres env variables according to test env.yml config | ||
env: | ||
POSTGRES_USER: postgres | ||
POSTGRES_PASSWORD: postgres | ||
POSTGRES_DB: postgres | ||
ports: | ||
- 5432:5432 | ||
# Set health checks to wait until postgres has started | ||
options: >- | ||
--health-cmd pg_isready | ||
--health-interval 10s | ||
--health-timeout 5s | ||
--health-retries 5 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
# install python 3.x in order to have mkdocs properly installed | ||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.x' | ||
- name: Install mkdocs | ||
run: | | ||
pip install mkdocs | ||
mkdocs --version | ||
- name: Use Node.js 12.x | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 12.x | ||
- name: Install npm/yarn packages using cache | ||
uses: bahmutov/npm-install@v1 | ||
# Inject slug vars, so that we can reference $GITHUB_HEAD_REF_SLUG for branch name | ||
- name: Inject slug/short variables | ||
uses: rlespinasse/[email protected] | ||
- name: Check if End-to-end should run | ||
run: ./scripts/check-if-e2e-should-run-on-ci.sh | ||
- name: Lint code | ||
run: yarn lint | ||
- name: Lint messages | ||
run: yarn lint-messages | ||
- name: Run flow check | ||
run: yarn flow | ||
- name: Run tests | ||
run: yarn test-client | ||
- name: Build with minification | ||
run: yarn run build -- --minify | ||
- name: Build docs | ||
run: mkdocs build | ||
- name: Start MongoDB | ||
if: env.SHOULD_RUN_E2E == 'true' | ||
uses: supercharge/[email protected] | ||
with: | ||
mongodb-version: 4.2 | ||
- name: Add aws credentials for datatools-server | ||
if: env.SHOULD_RUN_E2E == 'true' | ||
run: mkdir ~/.aws && printf '%s\n' '[default]' 'aws_access_key_id=${AWS_ACCESS_KEY_ID}' 'aws_secret_access_key=${AWS_SECRET_ACCESS_KEY}' 'region=${AWS_REGION}' > ~/.aws/config | ||
env: | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_REGION: ${{ secrets.AWS_REGION }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
- name: Install otp-runner | ||
if: env.SHOULD_RUN_E2E == 'true' | ||
run: yarn global add https://github.com/ibi-group/otp-runner.git | ||
- name: Run e2e tests | ||
if: env.SHOULD_RUN_E2E == 'true' | ||
run: yarn test-end-to-end | ||
env: | ||
AUTH0_API_CLIENT: ${{ secrets.AUTH0_API_CLIENT }} | ||
AUTH0_API_SECRET: ${{ secrets.AUTH0_API_SECRET }} | ||
AUTH0_CLIENT_ID: ${{ secrets.AUTH0_CLIENT_ID }} | ||
AUTH0_DOMAIN: ${{ secrets.AUTH0_DOMAIN }} | ||
AUTH0_SECRET: ${{ secrets.AUTH0_SECRET }} | ||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
AWS_REGION: ${{ secrets.AWS_REGION }} | ||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
E2E_AUTH0_PASSWORD: ${{ secrets.E2E_AUTH0_PASSWORD }} | ||
E2E_AUTH0_USERNAME: ${{ secrets.E2E_AUTH0_USERNAME }} | ||
GRAPH_HOPPER_KEY: ${{ secrets.GRAPH_HOPPER_KEY }} | ||
GTFS_DATABASE_PASSWORD: ${{ secrets.GTFS_DATABASE_PASSWORD }} | ||
GTFS_DATABASE_URL: ${{ secrets.GTFS_DATABASE_URL }} | ||
GTFS_DATABASE_USER: ${{ secrets.GTFS_DATABASE_USER }} | ||
LOGS_S3_BUCKET: ${{ secrets.LOGS_S3_BUCKET }} | ||
MAPBOX_ACCESS_TOKEN: ${{ secrets.MAPBOX_ACCESS_TOKEN }} | ||
MONGO_DB_NAME: ${{ secrets.MONGO_DB_NAME }} | ||
MS_TEAMS_WEBHOOK_URL: ${{ secrets.MS_TEAMS_WEBHOOK_URL }} | ||
OSM_VEX: ${{ secrets.OSM_VEX }} | ||
RUN_E2E: "true" | ||
S3_BUCKET: ${{ secrets.S3_BUCKET }} | ||
SPARKPOST_EMAIL: ${{ secrets.SPARKPOST_EMAIL }} | ||
SPARKPOST_KEY: ${{ secrets.SPARKPOST_KEY }} | ||
TRANSITFEEDS_KEY: ${{ secrets.TRANSITFEEDS_KEY }} | ||
# At this point, the build is successful. | ||
- name: Semantic Release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
run: yarn semantic-release |
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 |
---|---|---|
|
@@ -28,3 +28,6 @@ env.yml-original | |
.env | ||
!configurations/test/env.yml | ||
scripts/*client.json | ||
|
||
# Vs code settings | ||
.vscode/ |
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 @@ | ||
_ |
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,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npx lint-staged |
This file was deleted.
Oops, something went wrong.
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,8 @@ | ||
# CHANGELOG | ||
---------------------- | ||
* Fix timetable previous stop time checks from checking text columns. | ||
* Add feature allowing routing to avoid highways. | ||
* Support Polish language and add initial translations. | ||
* Fix bug displaying null continuous_pickup as '0'. | ||
* Add route type selector with new extended GTFS route types. | ||
* Fix bug to update continuous_pickup/dropoff values correctly. |
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.