-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add travis configuration for development & stage branches * Remove latest env-file & production and stage cypress configurations * MM-155 Change Travis configuration to build and push images from environment branches (#38) * namespace info * better positioning of tooltip * icons moved * Add travis configuration for development & stage branches * Remove latest env-file & production and stage cypress configurations Co-authored-by: Anton <anton.jyrkiainen@helsinki.fi> * dev.yml and some small changes * testing trigger * changed login params * testing env changes * specified cypress json * more env updates * testing env * debug logs * testing old env * Removed console logs * removed push trigger * env updates * cypress envs only needed locally and in dev * removed redundant e2e stuff * credentials added to requests * removed redundant cypress things from travis-build.sh * 147 and 160 Session improvements and github actions (#42) * namespace info * better positioning of tooltip * icons moved * Add travis configuration for development & stage branches * Remove latest env-file & production and stage cypress configurations * MM-155 Change Travis configuration to build and push images from environment branches (#39) * Add travis configuration for development & stage branches * Remove latest env-file & production and stage cypress configurations * dev.yml and some small changes * testing trigger * changed login params * testing env changes * specified cypress json * more env updates * testing env * debug logs * testing old env * Removed console logs * removed push trigger * env updates * cypress envs only needed locally and in dev * removed redundant e2e stuff * credentials added to requests * removed redundant cypress things from travis-build.sh Co-authored-by: Petteri Pesonen <teemu.p.pesonen@gmail.com> Co-authored-by: Petteri Pesonen <teemu.p.pesonen@gmail.com>
- Loading branch information
Showing
14 changed files
with
121 additions
and
133 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,11 +1,12 @@ | ||
# Shared environment variables. Add env variables specific to your environment in .env.development.local | ||
# Shared environment variables. Add env variables specific to your environment in .env | ||
|
||
REACT_APP_API_URL=http://localhost:4000 | ||
REACT_APP_JORE_API_URL=https://dev.kartat.hsl.fi/jore/graphql | ||
REACT_APP_CLIENT_ID=7833861618225795 | ||
REACT_APP_CLIENT_SECRET= | ||
REACT_APP_REDIRECT_URI=http://localhost:3000 | ||
HSL_TESTING_HSLID_USERNAME= | ||
HSL_TESTING_HSLID_PASSWORD= | ||
DOMAINS_ALLOWED_TO_GENERATE= | ||
REACT_APP_NAMESPACE=hsl-kartta | ||
REACT_APP_NAMESPACE=hsl-kartta | ||
|
||
CYPRESS_TESTING_HSLID_USERNAME= | ||
CYPRESS_TESTING_HSLID_PASSWORD= | ||
CYPRESS_HSLID_CLIENT_ID= | ||
CYPRESS_HSLID_CLIENT_SECRET= |
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,11 +1,12 @@ | ||
# Shared environment variables. Add env variables specific to your environment in .env.development.local | ||
# Shared environment variables. Add env variables specific to your environment in .env | ||
|
||
REACT_APP_API_URL=https://dev.kartat.hsl.fi/julkaisin-api | ||
REACT_APP_JORE_API_URL=https://dev.kartat.hsl.fi/jore/graphql | ||
REACT_APP_CLIENT_ID=7833861618225795 | ||
CLIENT_SECRET= | ||
REACT_APP_REDIRECT_URI=https://dev.kartat.hsl.fi/julkaisin | ||
HSL_TESTING_HSLID_USERNAME= | ||
HSL_TESTING_HSLID_PASSWORD= | ||
DOMAINS_ALLOWED_TO_GENERATE= | ||
REACT_APP_NAMESPACE=hsl-kartta | ||
REACT_APP_NAMESPACE=hsl-kartta | ||
|
||
CYPRESS_TESTING_HSLID_USERNAME= | ||
CYPRESS_TESTING_HSLID_PASSWORD= | ||
CYPRESS_HSLID_CLIENT_ID= | ||
CYPRESS_HSLID_CLIENT_SECRET= |
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,11 +1,7 @@ | ||
# Shared environment variables. Add env variables specific to your environment in .env.development.local | ||
# Shared environment variables. Add env variables specific to your environment in .env | ||
|
||
REACT_APP_API_URL=https://prod.kartat.hsl.fi/julkaisin-api | ||
REACT_APP_JORE_API_URL=https://prod.kartat.hsl.fi/jore/graphql | ||
REACT_APP_CLIENT_ID=7833861618225795 | ||
CLIENT_SECRET= | ||
REACT_APP_REDIRECT_URI=https://kartat.hsl.fi/julkaisin | ||
HSL_TESTING_HSLID_USERNAME= | ||
HSL_TESTING_HSLID_PASSWORD= | ||
DOMAINS_ALLOWED_TO_GENERATE= | ||
REACT_APP_NAMESPACE=hsl-kartta | ||
REACT_APP_NAMESPACE=hsl-kartta |
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,10 +1,7 @@ | ||
# Shared environment variables. Add env variables specific to your environment in .env.development.local | ||
# Shared environment variables. Add env variables specific to your environment in .env | ||
|
||
REACT_APP_API_URL=https://stage.kartat.hsl.fi/julkaisin-api | ||
REACT_APP_JORE_API_URL=https://stage.kartat.hsl.fi/jore/graphql | ||
REACT_APP_CLIENT_ID=7833861618225795 | ||
CLIENT_SECRET= | ||
REACT_APP_REDIRECT_URI=https://stage.kartat.hsl.fi/julkaisin | ||
HSL_TESTING_HSLID_USERNAME= | ||
HSL_TESTING_HSLID_PASSWORD= | ||
DOMAINS_ALLOWED_TO_GENERATE= | ||
REACT_APP_NAMESPACE=hsl-kartta |
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,35 @@ | ||
name: Test | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- development | ||
|
||
jobs: | ||
test-dev: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v1 | ||
- name: Cypress run | ||
uses: cypress-io/github-action@v1 | ||
with: | ||
config-file: /cypress.dev.json | ||
env: | ||
CYPRESS_BASE_URL: https://dev.kartat.hsl.fi/julkaisin | ||
CYPRESS_HSLID_CLIENT_ID: ${{ secrets.CYPRESS_HSLID_CLIENT_ID }} | ||
CYPRESS_HSLID_CLIENT_SECRET: ${{ secrets.CYPRESS_HSLID_CLIENT_SECRET }} | ||
CYPRESS_TESTING_HSLID_USERNAME: ${{ secrets.CYPRESS_TESTING_HSLID_USERNAME }} | ||
CYPRESS_TESTING_HSLID_PASSWORD: ${{ secrets.CYPRESS_TESTING_HSLID_PASSWORD }} | ||
- name: Upload screenshot artifacts | ||
uses: actions/upload-artifact@v1 | ||
if: failure() | ||
with: | ||
name: cypress-screenshots | ||
path: cypress/screenshots | ||
- name: Upload video artifacts | ||
uses: actions/upload-artifact@v1 | ||
if: always() | ||
with: | ||
name: cypress-videos | ||
path: cypress/videos |
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
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 was deleted.
Oops, something went wrong.
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
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