Skip to content

Commit 424e30b

Browse files
committed
Merge remote-tracking branch 'origin/next' into 1757-mobx-tm-new-routing-ci
2 parents 160673a + 10f60aa commit 424e30b

29 files changed

+4639
-18630
lines changed

.github/workflows/ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3+
4+
name: CI
5+
6+
on: [push, pull_request]
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
strategy:
13+
matrix:
14+
node-version: [10.x, 14.x]
15+
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Use Node.js ${{ matrix.node-version }}
19+
uses: actions/setup-node@v1
20+
with:
21+
node-version: ${{ matrix.node-version }}
22+
- run: npm ci
23+
- run: npm run gulp lint release

.gitignore

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,8 @@ datasources/00_National_Data_Sets.json
1919
/error.log
2020
/output.log
2121
privateserverconfig.json
22-
wwwroot/sitemap.xml
2322
wwwroot/privateconfig.json
2423
deploy/packages/
2524
deploy/work/
2625
packages/
2726
pancake/
28-
29-
# https://marketplace.visualstudio.com/items?itemName=xyz.local-history
30-
.history/

.travis.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

CHANGES.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ Change Log
1111
* Re-enabled measure tool
1212
* Development builds sped up by 3~20x - ts-loader is now optional & TypeScript being transpiled by babel-loader, keeping type check safety on a separate thread
1313
* Added default help content & `languageOverrides.json` for i18n
14-
* Added basic prerendering steps
14+
* Add back updateApplicationOnMessageFromParentWindow
15+
* Update youtube urls to nocookie version
1516

1617
### Next Release
1718

buildprocess/generate-init-routes.js

Lines changed: 0 additions & 53 deletions
This file was deleted.

buildprocess/generate-terria-sitemap.js

Lines changed: 0 additions & 35 deletions
This file was deleted.

buildprocess/webpack.config.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
11
'use strict';
22

33
/*global require*/
4-
var fs = require('fs');
54
var configureWebpackForTerriaJS = require('terriajs/buildprocess/configureWebpack');
65
var MiniCssExtractPlugin = require('mini-css-extract-plugin');
7-
var generateRoutes = require("./generate-init-routes");
8-
var generateTerriaSitemap = require("./generate-terria-sitemap");
9-
var PrerenderSPAPlugin = require("prerender-spa-plugin");
10-
var Renderer = PrerenderSPAPlugin.PuppeteerRenderer;
116
var path = require('path');
12-
var json5 = require("json5");
137

14-
module.exports = function(webpack, devMode, hot) {
8+
module.exports = function(devMode, hot) {
159
var config = {
1610
mode: devMode ? 'development' : 'production',
1711
entry: './entry.js',

deploy/docker/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
FROM node:8
33

44
RUN apt-get update && apt-get install -y gdal-bin
5-
RUN apt-get -qq -y install gconf-service libasound2 libatk1.0-0 libatk-bridge2.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 ca-certificates fonts-liberation libappindicator1 libnss3 lsb-release xdg-utils wget
6-
75

86
RUN mkdir -p /usr/src/app && mkdir -p /etc/config/client
97
WORKDIR /usr/src/app/component

deploy/helm/terria/charts/terriamap/templates/deployment.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
apiVersion: extensions/v1beta1
1+
apiVersion: apps/v1
22
kind: Deployment
33
metadata:
44
name: {{ printf "%s-%s" .Release.Name "terriamap" | trunc 63 | trimSuffix "-" | quote }}
@@ -7,6 +7,9 @@ spec:
77
strategy:
88
rollingUpdate:
99
maxUnavailable: {{ .Values.global.rollingUpdate.maxUnavailable | default 0 }}
10+
selector:
11+
matchLabels:
12+
service: {{ printf "%s-%s" .Release.Name "terriamap" | trunc 63 | trimSuffix "-" | quote }}
1013
template:
1114
metadata:
1215
labels:

devserverconfig.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
{
22
"port": 3001,
33

4-
"baseHref": "/",
5-
6-
// progresive spa options
7-
"singlePageRouting": {
8-
"resolvePathRelativeToWwwroot": "/index.html",
9-
"resolveUnmatchedPathsWithIndexHtml": true
10-
},
11-
124
"allowProxyFor" : [
135
"nicta.com.au",
146
"gov.au",

0 commit comments

Comments
 (0)