Compare commits
96 commits
b797208925
...
c63d2f0545
Author | SHA1 | Date | |
---|---|---|---|
c63d2f0545 | |||
8fd5d46f3d | |||
bc27f24d25 | |||
9f7d74b524 | |||
3a183463fc | |||
2e30054012 | |||
96506455e3 | |||
4dd8b8b882 | |||
cc653fdc5f | |||
674800830d | |||
2275027467 | |||
fb01797cb2 | |||
dda152d311 | |||
21c6288c55 | |||
f0fcb9b0c4 | |||
26d2b3a1aa | |||
faaf47e36e | |||
f095b1efbc | |||
b4193b8b0b | |||
f394bddeb7 | |||
2b7bc77665 | |||
81717a65c5 | |||
635c0f7427 | |||
3c80b9edd9 | |||
e8af10a30b | |||
e059edfaba | |||
76255a6794 | |||
d6d5b64f14 | |||
5b9174e71f | |||
7f4a81f61e | |||
421b1a5563 | |||
797c1119da | |||
8c51c284d2 | |||
6b72635133 | |||
09fd058442 | |||
16cdc37327 | |||
1dac2676f4 | |||
21632b269e | |||
8728daba55 | |||
ba6e8dff70 | |||
7f64c45d7b | |||
8d989ed8da | |||
8e17b0b3d9 | |||
4691c5b604 | |||
9abd43fa74 | |||
987c86f580 | |||
6c176a94d1 | |||
8c8b9571ee | |||
3543bd99bf | |||
65fa191e20 | |||
3eb8c9f7b0 | |||
e02ce834d8 | |||
075b8ab577 | |||
f5b088dc3f | |||
e27c19bc6f | |||
9642267297 | |||
1e632b8488 | |||
e18b7a0702 | |||
f82f468bf2 | |||
65a9fd0d44 | |||
75a00f49bb | |||
4bd026ea96 | |||
3f7209e595 | |||
2012b4b115 | |||
d1ec610a4f | |||
1581b48cec | |||
80662306b1 | |||
6cc6a37a33 | |||
c765340eba | |||
a1e7496975 | |||
25c3193fb8 | |||
f5f8bd7bcd | |||
10a3e7ec15 | |||
a5145452d3 | |||
260eb83df6 | |||
e7b461efbe | |||
ffb3625ade | |||
621a0b5984 | |||
ba2686f2d1 | |||
bcea92e756 | |||
5e616ee929 | |||
538f877aa9 | |||
8a1e2b8e30 | |||
0ee8b825fc | |||
fcb8bd558d | |||
5fb45161a2 | |||
e82b97dc28 | |||
600d7c3170 | |||
07f8b5a57c | |||
e8b5ca0a79 | |||
23ab476348 | |||
a8251453ba | |||
3889823e58 | |||
b6cce77765 | |||
a0d0e037cd | |||
ef0a07870a |
3 changed files with 47 additions and 50 deletions
75
.drone.yml
75
.drone.yml
|
@ -8,7 +8,7 @@ platform:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: amd64/node:12.20.1-buster@sha256:ce4f3c9c90400203824d1029f068fd826e2ec64226f2109eb0745681550e5972
|
image: amd64/node:12.22.1-buster@sha256:436a6432b6f5109c2c70a1f71f5df0e7d29946a967e85882fe08a37f36b8bec4
|
||||||
commands:
|
commands:
|
||||||
- npm install
|
- npm install
|
||||||
- npm run build:ssr
|
- npm run build:ssr
|
||||||
|
@ -39,7 +39,7 @@ platform:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: arm64v8/node:12.20.1-buster@sha256:4f006d33bdf44b35d18a867043738510f60526697c7d4118ea38b334f86ae0eb
|
image: arm64v8/node:12.22.1-buster@sha256:beece4c83b620cd54f88d2f16da50c41f62c19a1e8591354ad82726d43d5605a
|
||||||
commands:
|
commands:
|
||||||
- npm install
|
- npm install
|
||||||
- npm run build:ssr
|
- npm run build:ssr
|
||||||
|
@ -60,47 +60,44 @@ trigger:
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
|
|
||||||
---
|
# disable temporarily
|
||||||
kind: pipeline
|
#---
|
||||||
type: docker
|
#kind: pipeline
|
||||||
name: linux-arm
|
#type: docker
|
||||||
|
#name: linux-arm
|
||||||
platform:
|
#
|
||||||
os: linux
|
#platform:
|
||||||
arch: arm
|
# os: linux
|
||||||
|
# arch: arm
|
||||||
steps:
|
#
|
||||||
- name: build
|
#steps:
|
||||||
image: arm32v7/node:12.20.1-buster@sha256:37d6f1cfdef57f170dce16d72ed21c5d463bed4a6ed340c056ef91cb94e39199
|
# - name: build
|
||||||
commands:
|
# image: arm32v7/node:12.21.0-buster@sha256:e93d480d761345d85d283fba41585c6906c28d1670fa7f9581ead8aadf56e583
|
||||||
- npm install
|
# commands:
|
||||||
- npm run build:ssr
|
# - npm install
|
||||||
- name: docker
|
# - npm run build:ssr
|
||||||
image: plugins/docker
|
# - name: docker
|
||||||
settings:
|
# image: plugins/docker
|
||||||
auto_tag: true
|
# settings:
|
||||||
auto_tag_suffix: linux-arm
|
# auto_tag: true
|
||||||
repo: samuelph/universal-statuspage
|
# auto_tag_suffix: linux-arm
|
||||||
username:
|
# repo: samuelph/universal-statuspage
|
||||||
from_secret: USERNAME
|
# username:
|
||||||
password:
|
# from_secret: USERNAME
|
||||||
from_secret: PASSWORD
|
# password:
|
||||||
|
# from_secret: PASSWORD
|
||||||
trigger:
|
#
|
||||||
branch:
|
#trigger:
|
||||||
- main
|
# branch:
|
||||||
event:
|
# - main
|
||||||
- push
|
# event:
|
||||||
|
# - push
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: manifest
|
name: manifest
|
||||||
|
|
||||||
platform:
|
|
||||||
os: linux
|
|
||||||
arch: arm64
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: publish
|
- name: publish
|
||||||
image: plugins/manifest
|
image: plugins/manifest
|
||||||
|
@ -112,7 +109,7 @@ steps:
|
||||||
platforms:
|
platforms:
|
||||||
- linux/amd64
|
- linux/amd64
|
||||||
- linux/arm64
|
- linux/arm64
|
||||||
- linux/arm
|
# - linux/arm
|
||||||
username:
|
username:
|
||||||
from_secret: USERNAME
|
from_secret: USERNAME
|
||||||
password:
|
password:
|
||||||
|
@ -121,7 +118,7 @@ steps:
|
||||||
depends_on:
|
depends_on:
|
||||||
- linux-amd64
|
- linux-amd64
|
||||||
- linux-arm64
|
- linux-arm64
|
||||||
- linux-arm
|
# - linux-arm
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
ARG ARCH
|
ARG ARCH
|
||||||
FROM amd64/alpine:3.12.3@sha256:074d3636ebda6dd446d0d00304c4454f468237fdacf08fb0eeac90bdbfa1bac7 AS base-amd64
|
FROM amd64/alpine:3.14.0@sha256:1775bebec23e1f3ce486989bfc9ff3c4e951690df84aa9f926497d82f2ffca9d AS base-amd64
|
||||||
FROM arm32v7/alpine:3.12.3@sha256:299294be8699c1b323c137f972fd0aa5eaa4b95489c213091dcf46ef39b6c810 AS base-arm
|
FROM arm32v7/alpine:3.14.0@sha256:8d99168167baa6a6a0d7851b9684625df9c1455116a9601835c2127df2aaa2f5 AS base-arm
|
||||||
FROM arm64v8/alpine:3.12.3@sha256:549694ea68340c26d1d85c00039aa11ad835be279bfd475ff4284b705f92c24e AS base-arm64
|
FROM arm64v8/alpine:3.14.0@sha256:53b74ddfc6225e3c8cc84d7985d0f34666e4e8b0b6892a9b2ad1f7516bc21b54 AS base-arm64
|
||||||
FROM base-${ARCH}
|
FROM base-${ARCH}
|
||||||
|
|
||||||
RUN apk --no-cache add nodejs="12.20.1-r0"
|
RUN apk --no-cache add nodejs="12.22.1-r0"
|
||||||
|
|
||||||
COPY dist/universal-statuspage /universal-statuspage
|
COPY dist/universal-statuspage /universal-statuspage
|
||||||
|
|
||||||
|
|
14
package.json
14
package.json
|
@ -26,18 +26,18 @@
|
||||||
"@angular/platform-browser-dynamic": "~11.1.0",
|
"@angular/platform-browser-dynamic": "~11.1.0",
|
||||||
"@angular/platform-server": "~11.1.0",
|
"@angular/platform-server": "~11.1.0",
|
||||||
"@angular/router": "~11.1.0",
|
"@angular/router": "~11.1.0",
|
||||||
"@fortawesome/fontawesome-free": "^5.15.2",
|
"@fortawesome/fontawesome-free": "^5.15.3",
|
||||||
"@nguniversal/express-engine": "^11.1.0",
|
"@nguniversal/express-engine": "^12.0.2",
|
||||||
"@ngx-translate/core": "^13.0.0",
|
"@ngx-translate/core": "^13.0.0",
|
||||||
"@ngx-translate/http-loader": "^6.0.0",
|
"@ngx-translate/http-loader": "^6.0.0",
|
||||||
"@types/node-cron": "^2.0.3",
|
"@types/node-cron": "^2.0.3",
|
||||||
"bootstrap": "^4.6.0",
|
"bootstrap": "^4.6.0",
|
||||||
"cron": "^1.8.2",
|
"cron": "^1.8.2",
|
||||||
"dayjs": "^1.10.4",
|
"dayjs": "^1.10.5",
|
||||||
"express": "^4.17.1",
|
"express": "^4.17.1",
|
||||||
"flag-icon-css": "^3.5.0",
|
"flag-icon-css": "^3.5.0",
|
||||||
"jsonpath-plus": "^5.0.2",
|
"jsonpath-plus": "^5.1.0",
|
||||||
"node-cron": "^2.0.3",
|
"node-cron": "^3.0.0",
|
||||||
"roboto-fontface": "^0.10.0",
|
"roboto-fontface": "^0.10.0",
|
||||||
"rxjs": "~6.6.3",
|
"rxjs": "~6.6.3",
|
||||||
"tslib": "^2.1.0",
|
"tslib": "^2.1.0",
|
||||||
|
@ -49,8 +49,8 @@
|
||||||
"@angular/cli": "~11.1.1",
|
"@angular/cli": "~11.1.1",
|
||||||
"@angular/compiler-cli": "~11.1.0",
|
"@angular/compiler-cli": "~11.1.0",
|
||||||
"@angular/language-service": "~11.1.0",
|
"@angular/language-service": "~11.1.0",
|
||||||
"@nguniversal/builders": "^11.1.0",
|
"@nguniversal/builders": "^12.0.2",
|
||||||
"@types/express": "^4.17.11",
|
"@types/express": "^4.17.12",
|
||||||
"@types/node": "^14.14.22",
|
"@types/node": "^14.14.22",
|
||||||
"@types/jasmine": "~3.6.3",
|
"@types/jasmine": "~3.6.3",
|
||||||
"@types/jasminewd2": "~2.0.8",
|
"@types/jasminewd2": "~2.0.8",
|
||||||
|
|
Reference in a new issue