-
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.
* MM-219 (#88) * MM-155 Change Travis configuration to build and push images from environment branches (#56) * removed package-lock * mapillary implemented * style fix * fixed clearing markers and viewer Co-authored-by: Petteri Pesonen <[email protected]> * fixes and improvements to mapillaryView * ortho tilelayer added and tilelayer control button * implementation for restrooms * MM-275: Move to Github Actions, clean old scripts * Remove unused files * MM-286: Tulostusmahdollisuus kuljettajaohjeisiin (#99) * MM-286 - Tulostusmahdollisuus kuljettajaohjeisiin * Add timing stop symbol to printable stoplist * Tweak timingStopIcon draw logic * MM-326 Change build trigger to push Add also build for stage * Change from serve to nginx to make things cleaner * Revert "Change from serve to nginx to make things cleaner" This reverts commit 0686cc5. * MM-295/MM-313 - mobileview and mapillary fix (#97) * travis configs removed * mobileview added * removed comments, fixed parameter * mapillary version update * mapillary toggle logic changed, added organization_id * tokens removed * better bbox with turf * fix restrooms * Use v2-map source and blurry maps on retina displays * better mapillary search and restroom svg updated (#103) * Add fix to printing mode toggle styling (#100) * restrooms filtered by mode * Fix print button position (#107) * commented printing Co-authored-by: Petteri Pesonen <[email protected]> Co-authored-by: Juho Hänninen <[email protected]> Co-authored-by: Erkki Halinen <[email protected]> Co-authored-by: e-halinen <[email protected]>
- Loading branch information
1 parent
f63571a
commit 2e3d0f9
Showing
50 changed files
with
1,351 additions
and
410 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,3 +1,6 @@ | ||
REACT_APP_GRAPHQL_URL=https://dev.kartat.hsl.fi/jore/graphql | ||
REACT_APP_ROOT_PATH=/ | ||
PORT=3000 | ||
|
||
REACT_APP_MAPILLARY_CLIENT_TOKEN=MLY|4594581980627542|90daa882085f792338099ff89cf390b5 | ||
|
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,3 +1,6 @@ | ||
REACT_APP_GRAPHQL_URL=https://dev.kartat.hsl.fi/jore/graphql | ||
REACT_APP_ROOT_PATH=/kuljettaja | ||
PORT=3000 | ||
|
||
REACT_APP_MAPILLARY_CLIENT_TOKEN=MLY|4652630561442946|5b644eb16efdd0e808abf5fd87f82d77 | ||
|
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,3 +1,5 @@ | ||
REACT_APP_GRAPHQL_URL=https://kartat.hsl.fi/jore/graphql | ||
REACT_APP_ROOT_PATH=/kuljettaja | ||
PORT=3000 | ||
|
||
REACT_APP_MAPILLARY_CLIENT_TOKEN=MLY|4843379739113529|30a747d7fcf21f81f293958597d2ae7c |
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,3 +1,5 @@ | ||
REACT_APP_GRAPHQL_URL=https://stage.kartat.hsl.fi/jore/graphql | ||
REACT_APP_ROOT_PATH=/kuljettaja | ||
PORT=3000 | ||
|
||
REACT_APP_MAPILLARY_CLIENT_TOKEN= |
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,51 @@ | ||
name: Build and publish Docker Hub dev image | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'development' | ||
|
||
jobs: | ||
build-container: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Login to DockerHub | ||
uses: docker/login-action@v1 | ||
with: | ||
username: ${{ secrets.KARTAT_DOCKERHUB_USER }} | ||
password: ${{ secrets.KARTAT_DOCKERHUB_TOKEN }} | ||
|
||
- name: Extract metadata (tags, labels) for Docker | ||
id: meta | ||
uses: docker/metadata-action@v3 | ||
with: | ||
images: hsldevcom/hsl-map-web-ui | ||
|
||
- name: Get commit hash | ||
id: commit_hash | ||
run: echo "::set-output name=hash::$(git rev-parse --short "$GITHUB_SHA")" | ||
|
||
- name: Get image timestamp | ||
id: timestamp | ||
run: echo "::set-output name=timestamp::$(date +'%Y-%m-%d')" | ||
|
||
- name: Build and push timestamped tag | ||
uses: docker/build-push-action@v2 | ||
with: | ||
context: . | ||
push: true | ||
tags: ${{ format('hsldevcom/hsl-map-web-ui:dev-{0}-{1}', steps.timestamp.outputs.timestamp, steps.commit_hash.outputs.hash) }} | ||
build-args: | | ||
BUILD_ENV=dev | ||
- name: Build and push | ||
uses: docker/build-push-action@v2 | ||
with: | ||
context: . | ||
push: true | ||
tags: hsldevcom/hsl-map-web-ui:dev | ||
build-args: | | ||
BUILD_ENV=dev |
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,51 @@ | ||
name: Build and publish Docker Hub prod image | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'master' | ||
|
||
jobs: | ||
build-container: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Login to DockerHub | ||
uses: docker/login-action@v1 | ||
with: | ||
username: ${{ secrets.KARTAT_DOCKERHUB_USER }} | ||
password: ${{ secrets.KARTAT_DOCKERHUB_TOKEN }} | ||
|
||
- name: Extract metadata (tags, labels) for Docker | ||
id: meta | ||
uses: docker/metadata-action@v3 | ||
with: | ||
images: hsldevcom/hsl-map-web-ui | ||
|
||
- name: Get commit hash | ||
id: commit_hash | ||
run: echo "::set-output name=hash::$(git rev-parse --short "$GITHUB_SHA")" | ||
|
||
- name: Get image timestamp | ||
id: timestamp | ||
run: echo "::set-output name=timestamp::$(date +'%Y-%m-%d')" | ||
|
||
- name: Build and push timestamped tag | ||
uses: docker/build-push-action@v2 | ||
with: | ||
context: . | ||
push: ${{ github.event_name == 'push' }} | ||
tags: ${{ format('hsldevcom/hsl-map-web-ui:prod-{0}-{1}', steps.timestamp.outputs.timestamp, steps.commit_hash.outputs.hash) }} | ||
build-args: | | ||
BUILD_ENV=prod | ||
- name: Build and push | ||
uses: docker/build-push-action@v2 | ||
with: | ||
context: . | ||
push: ${{ github.event_name == 'push' }} | ||
tags: hsldevcom/hsl-map-web-ui:prod | ||
build-args: | | ||
BUILD_ENV=prod |
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,51 @@ | ||
name: Build and publish Docker Hub stage image | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'stage' | ||
|
||
jobs: | ||
build-container: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Login to DockerHub | ||
uses: docker/login-action@v1 | ||
with: | ||
username: ${{ secrets.KARTAT_DOCKERHUB_USER }} | ||
password: ${{ secrets.KARTAT_DOCKERHUB_TOKEN }} | ||
|
||
- name: Extract metadata (tags, labels) for Docker | ||
id: meta | ||
uses: docker/metadata-action@v3 | ||
with: | ||
images: hsldevcom/hsl-map-web-ui | ||
|
||
- name: Get commit hash | ||
id: commit_hash | ||
run: echo "::set-output name=hash::$(git rev-parse --short "$GITHUB_SHA")" | ||
|
||
- name: Get image timestamp | ||
id: timestamp | ||
run: echo "::set-output name=timestamp::$(date +'%Y-%m-%d')" | ||
|
||
- name: Build and push timestamped tag | ||
uses: docker/build-push-action@v2 | ||
with: | ||
context: . | ||
push: true | ||
tags: ${{ format('hsldevcom/hsl-map-web-ui:stage-{0}-{1}', steps.timestamp.outputs.timestamp, steps.commit_hash.outputs.hash) }} | ||
build-args: | | ||
BUILD_ENV=stage | ||
- name: Build and push | ||
uses: docker/build-push-action@v2 | ||
with: | ||
context: . | ||
push: true | ||
tags: hsldevcom/hsl-map-web-ui:stage | ||
build-args: | | ||
BUILD_ENV=stage |
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,21 @@ | ||
name: Build image | ||
|
||
on: | ||
pull_request: | ||
branches-ignore: | ||
- 'master' | ||
|
||
jobs: | ||
build-container: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Build and push | ||
uses: docker/build-push-action@v2 | ||
with: | ||
context: . | ||
tags: hsldevcom/hsl-map-web-ui:dev | ||
build-args: | | ||
BUILD_ENV=dev |
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 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 was deleted.
Oops, something went wrong.
Oops, something went wrong.