Compare commits

..

2 Commits

Author SHA1 Message Date
morbalint ae8d8d13de add docker build 2026-06-21 19:50:04 +02:00
morbalint beb2b672a9 add simple ci pipeline 2026-06-21 18:07:45 +02:00
4 changed files with 48 additions and 12 deletions
+27
View File
@@ -0,0 +1,27 @@
when:
- event: [push, manual]
branch: [main]
steps:
prepare-fe-image-tags:
image: alpine:3.21
commands:
- SHORT_SHA="$(echo "$CI_COMMIT_SHA" | cut -c1-8)"
- printf '%s\n' "$SHORT_SHA" > .fe-tags
- printf '%s\n' "latest" >> .fe-tags
build-and-push-fe-image:
image: woodpeckerci/plugin-docker-buildx
privileged: true
depends_on:
- prepare-fe-image-tags
settings:
registry: git.cluster.lab.kemkas.hu
repo: git.cluster.lab.kemkas.hu/${CI_REPO}
context: frontend
dockerfile: frontend/Dockerfile
tags_file: .fe-tags
username:
from_secret: gitea_packages_username
password:
from_secret: gitea_packages_token
+14
View File
@@ -0,0 +1,14 @@
when:
- event: [push, pull_request, manual]
branch: [main]
steps:
unit-test-and-lint:
image: node:24
commands:
- corepack enable
- corepack prepare yarn@1.22.22 --activate
- cd frontend
- yarn install --frozen-lockfile
- yarn run test
- yarn run lint
+1 -1
View File
@@ -27,7 +27,7 @@
"react-router-dom": "^6.17.0",
"typescript": "^5.2.2",
"workbox-background-sync": "^7.1.0",
"workbox-broadcast-update": "^7.4.0",
"workbox-broadcast-update": "^7.1.0",
"workbox-cacheable-response": "^7.1.0",
"workbox-core": "^7.1.0",
"workbox-expiration": "^7.1.0",
+6 -11
View File
@@ -2901,12 +2901,12 @@ workbox-background-sync@7.1.0, workbox-background-sync@^7.1.0:
idb "^7.0.1"
workbox-core "7.1.0"
workbox-broadcast-update@^7.4.0:
version "7.4.0"
resolved "https://registry.yarnpkg.com/workbox-broadcast-update/-/workbox-broadcast-update-7.4.0.tgz#f0ee7d2af51d199e32213a429dff03f14ba76dea"
integrity sha512-+eZQwoktlvo62cI0b+QBr40v5XjighxPq3Fzo9AWMiAosmpG5gxRHgTbGGhaJv/q/MFVxwFNGh/UwHZ/8K88lA==
workbox-broadcast-update@^7.1.0:
version "7.1.0"
resolved "https://registry.yarnpkg.com/workbox-broadcast-update/-/workbox-broadcast-update-7.1.0.tgz#fe21c491cc70f1e037898bba63de0752ef59bd82"
integrity sha512-O36hIfhjej/c5ar95pO67k1GQw0/bw5tKP7CERNgK+JdxBANQhDmIuOXZTNvwb2IHBx9hj2kxvcDyRIh5nzOgQ==
dependencies:
workbox-core "7.4.0"
workbox-core "7.1.0"
workbox-cacheable-response@^7.1.0:
version "7.1.0"
@@ -2915,16 +2915,11 @@ workbox-cacheable-response@^7.1.0:
dependencies:
workbox-core "7.1.0"
workbox-core@7.1.0:
workbox-core@7.1.0, workbox-core@^7.1.0:
version "7.1.0"
resolved "https://registry.yarnpkg.com/workbox-core/-/workbox-core-7.1.0.tgz#1867576f994f20d9991b71a7d0b2581af22db170"
integrity sha512-5KB4KOY8rtL31nEF7BfvU7FMzKT4B5TkbYa2tzkS+Peqj0gayMT9SytSFtNzlrvMaWgv6y/yvP9C0IbpFjV30Q==
workbox-core@7.4.0, workbox-core@^7.1.0:
version "7.4.0"
resolved "https://registry.yarnpkg.com/workbox-core/-/workbox-core-7.4.0.tgz#5cb59ae7655f2727423268fb1ba698f37809189d"
integrity sha512-6BMfd8tYEnN4baG4emG9U0hdXM4gGuDU3ectXuVHnj71vwxTFI7WOpQJC4siTOlVtGqCUtj0ZQNsrvi6kZZTAQ==
workbox-expiration@^7.1.0:
version "7.1.0"
resolved "https://registry.yarnpkg.com/workbox-expiration/-/workbox-expiration-7.1.0.tgz#c9d348ffc8c3d1ffdddaf6c37bf5be830a69073e"