Compare commits
17 Commits
8184ffecf4
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 19208e00fe | |||
| 527285a487 | |||
| 2aef815c81 | |||
| ed25b0e8ba | |||
| 9c71629910 | |||
| ab20b9a621 | |||
| ab3f5cfbbf | |||
| 81724cb20d | |||
| 4098ade419 | |||
| 232682671f | |||
| 867624df97 | |||
| 200da771cd | |||
| db2a168f4b | |||
| 62737151ee | |||
| 5565db4d8c | |||
| 190ecbe521 | |||
| 94c14f3e1d |
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
{"options":{},"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_","ns":"tibi_allkids_erfurt.lighthouse"},{"v":{"$numberInt":"2"},"key":{"insertTime":{"$numberInt":"1"}},"name":"insertTime_1","ns":"tibi_allkids_erfurt.lighthouse"},{"v":{"$numberInt":"2"},"key":{"updateTime":{"$numberInt":"1"}},"name":"updateTime_1","ns":"tibi_allkids_erfurt.lighthouse"}],"uuid":"fca0bbd4089a43689609593178154de9"}
|
||||||
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
{"options":{},"indexes":[{"v":{"$numberInt":"2"},"key":{"_id":{"$numberInt":"1"}},"name":"_id_","ns":"tibi_allkids_erfurt.lighthouseSubpath"},{"v":{"$numberInt":"2"},"key":{"insertTime":{"$numberInt":"1"}},"name":"insertTime_1","ns":"tibi_allkids_erfurt.lighthouseSubpath"},{"v":{"$numberInt":"2"},"key":{"updateTime":{"$numberInt":"1"}},"name":"updateTime_1","ns":"tibi_allkids_erfurt.lighthouseSubpath"}],"uuid":"b72120ec4cd34054a83833dce78c869f"}
|
||||||
@@ -203,46 +203,23 @@ jobs:
|
|||||||
volumes:
|
volumes:
|
||||||
- /data:/data
|
- /data:/data
|
||||||
|
|
||||||
services:
|
|
||||||
mongo:
|
|
||||||
image: mongo:4.2
|
|
||||||
ports:
|
|
||||||
- 27017:27017
|
|
||||||
|
|
||||||
maildev:
|
|
||||||
image: gitbase.de/robin/maildev:latest
|
|
||||||
ports:
|
|
||||||
- 80:80
|
|
||||||
- 25:25
|
|
||||||
|
|
||||||
tibi-server:
|
|
||||||
image: gitbase.de/cms/tibi-server
|
|
||||||
ports:
|
|
||||||
- 8080:8080
|
|
||||||
env:
|
|
||||||
DB_DIAL: mongodb://mongo
|
|
||||||
API_PORT: 8080
|
|
||||||
MAIL_HOST: maildev:25
|
|
||||||
SECURITY_ALLOWABSOLUTEPATHS: "true"
|
|
||||||
SECURITY_ALLOWUPPERPATHS: "true"
|
|
||||||
SECURITY_ALLOWRELATIVEPATHS: "true"
|
|
||||||
|
|
||||||
live-server:
|
|
||||||
image: gitbase.de/robin/live-server:latest
|
|
||||||
ports:
|
|
||||||
- 8081:8081
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
lfs: true
|
||||||
|
submodules: true
|
||||||
|
|
||||||
- name: setup node 18
|
- run: |
|
||||||
|
git fetch --force --tags
|
||||||
|
|
||||||
|
# setup node 20
|
||||||
|
- name: setup node 20
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
|
with:
|
||||||
|
node-version: 20
|
||||||
|
|
||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
env:
|
|
||||||
FORCE_COLOR: "true"
|
|
||||||
run: |
|
run: |
|
||||||
npm install -g yarn
|
npm install -g yarn
|
||||||
yarn install
|
yarn install
|
||||||
@@ -251,13 +228,16 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sed -i 's#\(sentryEnvironment.*\)".*"#\1"${GITHUB_REF_NAME}"#g' frontend/src/config.ts
|
sed -i 's#\(sentryEnvironment.*\)".*"#\1"${GITHUB_REF_NAME}"#g' frontend/src/config.ts
|
||||||
sed -i 's#//\( sentry\\.init.*\)#\1#g' frontend/src/config.ts
|
sed -i 's#//\( sentry\\.init.*\)#\1#g' frontend/src/config.ts
|
||||||
export $(cat .env | xargs)
|
set -o allexport
|
||||||
echo "PROJECT_RELEASE=${RELEASE_PROJECT_SLUG}.r`git rev-list HEAD --count`-`git describe --all --long | sed 's+/+-+'`" >> .env
|
. ./.env
|
||||||
export $(cat .env | xargs)
|
echo "PROJECT_RELEASE=${SENTRY_PROJECT}.r`git rev-list HEAD --count`-`git describe --all --long | sed 's+/+-+'`" >> .env
|
||||||
|
. ./.env
|
||||||
|
set +o allexport
|
||||||
echo ______ .env ______
|
echo ______ .env ______
|
||||||
cat .env
|
cat .env
|
||||||
echo
|
echo
|
||||||
sed -i 's#\(const release = \).*#\1"'${PROJECT_RELEASE}'"#g' api/hooks/config-client.js
|
sed -i 's#\(const release = \).*#\1"'${PROJECT_RELEASE}'"#g' api/hooks/config-client.js
|
||||||
|
sed -i 's#\(const originURL = \).*#\1"'${LIVE_URL}'"#g' api/hooks/config-client.js
|
||||||
|
|
||||||
# bash scripts/preload-meta.sh frontend/spa.html
|
# bash scripts/preload-meta.sh frontend/spa.html
|
||||||
# bash scripts/preload-meta.sh frontend/spa.html > frontend/_spa.html
|
# bash scripts/preload-meta.sh frontend/spa.html > frontend/_spa.html
|
||||||
@@ -267,11 +247,15 @@ jobs:
|
|||||||
sed -i s/__TIMESTAMP__/$stamp/g frontend/spa.html
|
sed -i s/__TIMESTAMP__/$stamp/g frontend/spa.html
|
||||||
# sed -i s/__TIMESTAMP__/$stamp/g frontend/serviceworker.js
|
# sed -i s/__TIMESTAMP__/$stamp/g frontend/serviceworker.js
|
||||||
# cat frontend/serviceworker.js
|
# cat frontend/serviceworker.js
|
||||||
# rm api/templates/spa.html
|
rm api/templates/spa.html
|
||||||
# cp frontend/spa.html api/templates/spa.html
|
cp frontend/spa.html api/templates/spa.html
|
||||||
echo ______ frontend/spa.html ______
|
echo ______ frontend/spa.html ______
|
||||||
cat frontend/spa.html
|
cat frontend/spa.html
|
||||||
|
|
||||||
|
# sed -i 's#\(PREVIEW_URL=\).*#\1'${LIVE_URL}/preview'#g' api/config.yml.env
|
||||||
|
echo ______ api/config.yml.env ______
|
||||||
|
cat api/config.yml.env
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
env:
|
env:
|
||||||
FORCE_COLOR: "true"
|
FORCE_COLOR: "true"
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/b4a-npm-1.6.4-080bcba845-81b086f9af.zip
vendored
BIN
.yarn/cache/b4a-npm-1.6.4-080bcba845-81b086f9af.zip
vendored
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/ip-npm-1.1.8-abea558b72-a2ade53eb3.zip
vendored
BIN
.yarn/cache/ip-npm-1.1.8-abea558b72-a2ade53eb3.zip
vendored
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/mitt-npm-3.0.1-ce290ffa77-b55a489ac9.zip
vendored
BIN
.yarn/cache/mitt-npm-3.0.1-ce290ffa77-b55a489ac9.zip
vendored
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/open-npm-8.4.2-1f763e8b75-6388bfff21.zip
vendored
BIN
.yarn/cache/open-npm-8.4.2-1f763e8b75-6388bfff21.zip
vendored
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/pend-npm-1.2.0-7a13d93266-6c72f52433.zip
vendored
BIN
.yarn/cache/pend-npm-1.2.0-7a13d93266-6c72f52433.zip
vendored
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.yarn/cache/pump-npm-3.0.0-0080bf6a7a-e42e9229fb.zip
vendored
BIN
.yarn/cache/pump-npm-3.0.0-0080bf6a7a-e42e9229fb.zip
vendored
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user