Compare commits

...

2 Commits

Author SHA1 Message Date
cuddle-please
4ab0fa526c chore(release): 0.1.0
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2025-01-04 01:03:06 +00:00
aab0575c16 fix(deps): update material-ui monorepo to v6.3.1
All checks were successful
continuous-integration/drone/push Build is passing
2025-01-04 02:02:50 +01:00
8 changed files with 378 additions and 40 deletions

1
.cuddle/base Submodule

@ -0,0 +1 @@
Subproject commit ab61a5b89ff25ddc84651fc2165d79a2e2ef6abf

View File

@ -0,0 +1,134 @@
kind: pipeline
name: cuddle-node-service-plan
type: docker
steps:
- name: load_secret
image: debian:buster-slim
volumes:
- name: ssh
path: /root/.ssh/
environment:
SSH_KEY:
from_secret: gitea_id_ed25519
commands:
- mkdir -p $HOME/.ssh/
- echo "$SSH_KEY" | base64 -d > $HOME/.ssh/id_ed25519
- chmod -R 600 ~/.ssh
- |
cat >$HOME/.ssh/config <<EOL
Host git.front.kjuulh.io
IdentityFile $HOME/.ssh/id_ed25519
IdentitiesOnly yes
UserKnownHostsFile=/dev/null
StrictHostKeyChecking no
EOL
- chmod 700 ~/.ssh/config
- name: build pr
image: kasperhermansen/{{bin_name}}:{{image_tag}}
volumes:
- name: ssh
path: /root/.ssh/
commands:
- eval `ssh-agent`
- ssh-add
- echo "$DOCKER_PASSWORD" | docker login --password-stdin --username="$DOCKER_USERNAME" docker.io
- export CLUSTER=clank-dev
- cuddle --version
- {{ bin_name }} pr
environment:
DAGGER_CLOUD_TOKEN:
from_secret: dagger_cloud_token
DRONE_HOST: "https://ci.i.kjuulh.io"
DRONE_USER: "kjuulh"
DRONE_TOKEN:
from_secret: drone_token
REGISTRY_CACHE_USERNAME:
from_secret: registry_cache_username
REGISTRY_CACHE_PASSWORD:
from_secret: registry_cache_password
REGISTRY_CACHE_TOKEN:
from_secret: registry_cache_token
REGISTRY_CACHE_url:
from_secret: registry_cache_url
DOCKER_BUILDKIT: 1
DOCKER_PASSWORD:
from_secret: docker_password
DOCKER_USERNAME:
from_secret: docker_username
CUDDLE_SECRETS_PROVIDER: 1password
CUDDLE_ONE_PASSWORD_DOT_ENV: ".env.ci"
CUDDLE_SSH_AGENT: "true"
GIT_PASSWORD:
from_secret: git_password
CI_PREFIX: "/mnt/ci/ci"
DOCKER_HOST: "tcp://192.168.1.155:2376"
CUDDLE_PLEASE_TOKEN:
from_secret: cuddle_please_token
OP_SERVICE_ACCOUNT_TOKEN:
from_secret: op_service_account_token
when:
event:
- pull_request
depends_on:
- "load_secret"
- name: build main
image: kasperhermansen/{{bin_name}}:{{image_tag}}
volumes:
- name: ssh
path: /root/.ssh/
commands:
- eval `ssh-agent`
- ssh-add
- echo "$DOCKER_PASSWORD" | docker login --password-stdin --username="$DOCKER_USERNAME" docker.io
- export CLUSTER=clank-prod
- cuddle --version
- {{ bin_name }} main
environment:
DAGGER_CLOUD_TOKEN:
from_secret: dagger_cloud_token
DRONE_HOST: "https://ci.i.kjuulh.io"
DRONE_USER: "kjuulh"
DRONE_TOKEN:
from_secret: drone_token
REGISTRY_CACHE_USERNAME:
from_secret: registry_cache_username
REGISTRY_CACHE_PASSWORD:
from_secret: registry_cache_password
REGISTRY_CACHE_TOKEN:
from_secret: registry_cache_token
REGISTRY_CACHE_url:
from_secret: registry_cache_url
DOCKER_BUILDKIT: 1
DOCKER_PASSWORD:
from_secret: docker_password
DOCKER_USERNAME:
from_secret: docker_username
CUDDLE_SECRETS_PROVIDER: 1password
CUDDLE_ONE_PASSWORD_DOT_ENV: ".env.ci"
CUDDLE_SSH_AGENT: "true"
GIT_PASSWORD:
from_secret: git_password
CI_PREFIX: "/mnt/ci/ci"
DOCKER_HOST: "tcp://192.168.1.155:2376"
CUDDLE_PLEASE_TOKEN:
from_secret: cuddle_please_token
OP_SERVICE_ACCOUNT_TOKEN:
from_secret: op_service_account_token
when:
event:
- push
branch:
- main
- master
exclude:
- pull_request
depends_on:
- "load_secret"
volumes:
- name: ssh
temp: {}

View File

@ -0,0 +1,20 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: "{{ service }}"
spec:
selector:
matchLabels:
app: "{{ service }}"
template:
spec:
containers:
- name: "{{ service }}"
image: "deployment:latest"
ports:
- containerPort: 3000
name: external_http
- containerPort: 3001
name: internal_http
- containerPort: 3002
name: internal_grpc

View File

@ -0,0 +1,22 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: "{{ service }}"
spec:
selector:
matchLabels:
app: "{{ service }}"
template:
spec:
containers:
- name: "{{ service }}"
command: [{{ service }}]
args: ["serve"]
image: "deployment:latest"
ports:
- containerPort: 3000
name: external-http
- containerPort: 3001
name: internal-http
- containerPort: 3002
name: internal-grpc

View File

@ -0,0 +1,24 @@
{% set_global cluster_vars = filter_by_prefix(prefix=["clusters", cluster]) %}
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- deployment.yaml
- service.yaml
commonLabels:
app: "{{ service }}"
cluster: "{{ cluster }}"
namespace: "{{ cluster_vars.namespace }}"
replicas:
- name: "{{ service }}"
count: {{ cluster_vars.replicas }}
images:
- name: "deployment"
newName: "{{ registry }}/{{ service }}"
newTag: "{{ image_tag }}"

View File

@ -0,0 +1,17 @@
apiVersion: v1
kind: Service
metadata:
name: "{{ service }}"
spec:
type: LoadBalancer
ports:
- name: external-http
port: 3000
targetPort: 3000
- name: internal-http
port: 3001
targetPort: 3001
- name: internal-grpc
port: 3002
targetPort: 3002

120
CHANGELOG.md Normal file
View File

@ -0,0 +1,120 @@
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
## [0.1.0] - 2025-01-04
### Added
- without node
- add stuff
### Fixed
- *(deps)* update material-ui monorepo to v6.3.1
- *(deps)* update material-ui monorepo to v6.3.0
- *(deps)* update react-router monorepo to v7.1.1
- *(deps)* update react-router monorepo to v7.1.0
- *(deps)* update dependency @backstage/plugin-scaffolder to v1.27.3
- *(deps)* update backstage monorepo
- *(deps)* update material-ui monorepo to v6.2.1
- *(deps)* update material-ui monorepo to v6.2.0
- *(deps)* update material-ui monorepo to v6.1.10
- *(deps)* update react-router monorepo to v7.0.2
- *(deps)* update react monorepo to v18.3.1
- *(deps)* update react-router monorepo to v7
- *(deps)* update material-ui monorepo to v6.1.9
- *(deps)* update backstage monorepo
- *(deps)* update material-ui monorepo to v6.1.7
- *(deps)* update react-router monorepo to v6.28.0
- *(deps)* update material-ui monorepo to v6.1.6
- *(deps)* update material-ui monorepo to v6.1.5
- *(deps)* update backstage monorepo
- *(deps)* update dependency @backstage/plugin-scaffolder-backend to v1.26.1
- *(deps)* update react-router monorepo to v6.27.0
- *(deps)* update backstage monorepo
- *(deps)* update material-ui monorepo to v6.1.4
- *(deps)* update dependency @backstage/plugin-app-backend to v0.3.75
- *(deps)* update material-ui monorepo to v6.1.2
- *(deps)* update backstage monorepo
- *(deps)* update material-ui monorepo to v6.1.1
- *(deps)* update backstage monorepo
- *(deps)* update react-router monorepo to v6.26.2
- *(deps)* update material-ui monorepo to v6.1.0
- *(deps)* update material-ui monorepo to v6.0.1
- *(deps)* update backstage monorepo
- *(deps)* update backstage monorepo
- *(deps)* update material-ui monorepo to v6
- *(deps)* update backstage monorepo
- *(deps)* update react-router monorepo to v6.26.1
- *(deps)* replace all dependencies
- *(deps)* update react-router monorepo to v6.24.1
- *(deps)* update backstage monorepo
- *(deps)* update all dependencies
- *(deps)* update react-router monorepo to v6.23.1
- *(deps)* update react-router monorepo to v6.23.0
- *(deps)* update dependency @backstage/plugin-catalog-backend-module-github to ^0.6.0
- *(deps)* update react-router monorepo to v6.22.3
- *(deps)* update dependency @material-ui/lab to v4.0.0-alpha.61
### Other
- *(deps)* update all dependencies
- *(deps)* update dependency @types/node to v22.10.3
- *(deps)* update dependency @types/express-serve-static-core to v5.0.3
- *(deps)* update dependency concurrently to v9.1.2
- *(deps)* update dependency concurrently to v9.1.1
- *(deps)* update dependency cross-fetch to v4.1.0
- *(deps)* update dependency cypress to v13.17.0
- *(deps)* update dependency msw to v2.7.0
- *(deps)* update dependency msw to v2.6.9
- *(deps)* update dependency @backstage/cli to v0.29.3
- *(deps)* update all dependencies
- *(deps)* update all dependencies
- *(deps)* update all dependencies
- *(deps)* update all dependencies
- *(deps)* update all dependencies
- *(deps)* update dependency @testing-library/react to v16.1.0
- *(deps)* update react monorepo to v18.3.13
- *(deps)* update all dependencies
- *(deps)* update all dependencies
- *(deps)* update react monorepo to v18.3.12
- *(deps)* update testing-library monorepo
- *(deps)* update react monorepo
- *(deps)* update dependency @types/jest to v29.5.14
- *(deps)* update dependency lerna to v8.1.9
- *(deps)* update dependency @backstage/cli to v0.28.2
- *(deps)* update backstage monorepo
- *(deps)* update backstage monorepo
- *(deps)* update all dependencies
- *(deps)* update dependency lerna to v8.1.8
- *(deps)* update dependency @testing-library/jest-dom to v6.4.8
- *(deps)* update testing-library monorepo
- *(deps)* update dependency lerna to v8.1.6
- *(deps)* update dependency better-sqlite3 to v10
- *(deps)* update node.js to v22
- *(deps)* update dependency eslint-plugin-cypress to v3
- *(deps)* update dependency @testing-library/react to v15
- *(deps)* update react monorepo to v18
- *(deps)* update dependency lerna to v8
- *(deps)* update dependency @types/jest to v29
- Merge pull request 'Update all dependencies' (#5) from renovate/all into main
Reviewed-on: https://git.front.kjuulh.io/kjuulh/backstage/pulls/5
- *(test)* test commit
- Update all dependencies
- Merge pull request 'Configure Renovate' (#1) from renovate/configure into main
Reviewed-on: https://git.front.kjuulh.io/kjuulh/backstage/pulls/1
- Add renovate.json
- add base setup as well as catalog for gitea
- without example
- base

View File

@ -6692,15 +6692,15 @@
resolved "https://registry.yarnpkg.com/@mui/core-downloads-tracker/-/core-downloads-tracker-5.15.15.tgz#2bc2bda50db66c12f10aefec907c48c8f669ef59"
integrity sha512-aXnw29OWQ6I5A47iuWEI6qSSUfH6G/aCsW9KmW3LiFqr7uXZBK4Ks+z8G+qeIub8k0T5CMqlT2q0L+ZJTMrqpg==
"@mui/core-downloads-tracker@^6.3.0":
version "6.3.0"
resolved "https://registry.yarnpkg.com/@mui/core-downloads-tracker/-/core-downloads-tracker-6.3.0.tgz#90e9def06128c58887e4663d8fa6281f9e3a6f50"
integrity sha512-/d8NwSuC3rMwCjswmGB3oXC4sdDuhIUJ8inVQAxGrADJhf0eq/kmy+foFKvpYhHl2siOZR+MLdFttw6/Bzqtqg==
"@mui/core-downloads-tracker@^6.3.1":
version "6.3.1"
resolved "https://registry.yarnpkg.com/@mui/core-downloads-tracker/-/core-downloads-tracker-6.3.1.tgz#e954cd6be58d92f3acc255089413357b6c4e08c6"
integrity sha512-2OmnEyoHpj5//dJJpMuxOeLItCCHdf99pjMFfUFdBteCunAK9jW+PwEo4mtdGcLs7P+IgZ+85ypd52eY4AigoQ==
"@mui/icons-material@^6.0.0":
version "6.3.0"
resolved "https://registry.yarnpkg.com/@mui/icons-material/-/icons-material-6.3.0.tgz#f7506f50a8d967efa784e6de9c4a27cb21cf861a"
integrity sha512-3uWws6DveDn5KxCS34p+sUNMxehuclQY6OmoJeJJ+Sfg9L7LGBpksY/nX5ywKAqickTZnn+sQyVcp963ep9jvw==
version "6.3.1"
resolved "https://registry.yarnpkg.com/@mui/icons-material/-/icons-material-6.3.1.tgz#f28b5ecc3a4d8e8be389f9e9e5738759c7a98240"
integrity sha512-nJmWj1PBlwS3t1PnoqcixIsftE+7xrW3Su7f0yrjPw4tVjYrgkhU0hrRp+OlURfZ3ptdSkoBkalee9Bhf1Erfw==
dependencies:
"@babel/runtime" "^7.26.0"
@ -6723,15 +6723,15 @@
react-transition-group "^4.4.5"
"@mui/material@^6.0.0":
version "6.3.0"
resolved "https://registry.yarnpkg.com/@mui/material/-/material-6.3.0.tgz#9c5a35617ad5ba8f0a738ec664a0c72dc59db093"
integrity sha512-qhlTFyRMxfoVPxUtA5e8IvqxP0dWo2Ij7cvot7Orag+etUlZH+3UwD8gZGt+3irOoy7Ms3UNBflYjwEikUXtAQ==
version "6.3.1"
resolved "https://registry.yarnpkg.com/@mui/material/-/material-6.3.1.tgz#75c51a4f4fefa9879fb197e8fae11dc6891a9d0b"
integrity sha512-ynG9ayhxgCsHJ/dtDcT1v78/r2GwQyP3E0hPz3GdPRl0uFJz/uUTtI5KFYwadXmbC+Uv3bfB8laZ6+Cpzh03gA==
dependencies:
"@babel/runtime" "^7.26.0"
"@mui/core-downloads-tracker" "^6.3.0"
"@mui/system" "^6.3.0"
"@mui/types" "^7.2.20"
"@mui/utils" "^6.3.0"
"@mui/core-downloads-tracker" "^6.3.1"
"@mui/system" "^6.3.1"
"@mui/types" "^7.2.21"
"@mui/utils" "^6.3.1"
"@popperjs/core" "^2.11.8"
"@types/react-transition-group" "^4.4.12"
clsx "^2.1.1"
@ -6749,13 +6749,13 @@
"@mui/utils" "^5.15.14"
prop-types "^15.8.1"
"@mui/private-theming@^6.3.0":
version "6.3.0"
resolved "https://registry.yarnpkg.com/@mui/private-theming/-/private-theming-6.3.0.tgz#1528aa75bb0f832a3d2b192e72cb105ed8c562a3"
integrity sha512-tdS8jvqMokltNTXg6ioRCCbVdDmZUJZa/T9VtTnX2Lwww3FTgCakst9tWLZSxm1fEE9Xp0m7onZJmgeUmWQYVw==
"@mui/private-theming@^6.3.1":
version "6.3.1"
resolved "https://registry.yarnpkg.com/@mui/private-theming/-/private-theming-6.3.1.tgz#7069e2471a9e456c2784a7df1f8103bf264e72eb"
integrity sha512-g0u7hIUkmXmmrmmf5gdDYv9zdAig0KoxhIQn1JN8IVqApzf/AyRhH3uDGx5mSvs8+a1zb4+0W6LC260SyTTtdQ==
dependencies:
"@babel/runtime" "^7.26.0"
"@mui/utils" "^6.3.0"
"@mui/utils" "^6.3.1"
prop-types "^15.8.1"
"@mui/styled-engine@^5.15.14":
@ -6768,10 +6768,10 @@
csstype "^3.1.3"
prop-types "^15.8.1"
"@mui/styled-engine@^6.3.0":
version "6.3.0"
resolved "https://registry.yarnpkg.com/@mui/styled-engine/-/styled-engine-6.3.0.tgz#76e351be9965bccfbdae50303948d98b6b4bbb8c"
integrity sha512-iWA6eyiPkO07AlHxRUvI7dwVRSc+84zV54kLmjUms67GJeOWVuXlu8ZO+UhCnwJxHacghxnabsMEqet5PYQmHg==
"@mui/styled-engine@^6.3.1":
version "6.3.1"
resolved "https://registry.yarnpkg.com/@mui/styled-engine/-/styled-engine-6.3.1.tgz#eed2b1cc6e99c2079eed981facab687b0fe6667a"
integrity sha512-/7CC0d2fIeiUxN5kCCwYu4AWUDd9cCTxWCyo0v/Rnv6s8uk6hWgJC3VLZBoDENBHf/KjqDZuYJ2CR+7hD6QYww==
dependencies:
"@babel/runtime" "^7.26.0"
"@emotion/cache" "^11.13.5"
@ -6794,16 +6794,16 @@
csstype "^3.1.3"
prop-types "^15.8.1"
"@mui/system@^6.3.0":
version "6.3.0"
resolved "https://registry.yarnpkg.com/@mui/system/-/system-6.3.0.tgz#b9bd045b9198ae727adb1a01a773876794a63272"
integrity sha512-L+8hUHMNlfReKSqcnVslFrVhoNfz/jw7Fe9NfDE85R3KarvZ4O3MU9daF/lZeqEAvnYxEilkkTfDwQ7qCgJdFg==
"@mui/system@^6.3.1":
version "6.3.1"
resolved "https://registry.yarnpkg.com/@mui/system/-/system-6.3.1.tgz#7e51745c9d56423173a0dba7ea2b9bcb6232a90f"
integrity sha512-AwqQ3EAIT2np85ki+N15fF0lFXX1iFPqenCzVOSl3QXKy2eifZeGd9dGtt7pGMoFw5dzW4dRGGzRpLAq9rkl7A==
dependencies:
"@babel/runtime" "^7.26.0"
"@mui/private-theming" "^6.3.0"
"@mui/styled-engine" "^6.3.0"
"@mui/types" "^7.2.20"
"@mui/utils" "^6.3.0"
"@mui/private-theming" "^6.3.1"
"@mui/styled-engine" "^6.3.1"
"@mui/types" "^7.2.21"
"@mui/utils" "^6.3.1"
clsx "^2.1.1"
csstype "^3.1.3"
prop-types "^15.8.1"
@ -6813,10 +6813,10 @@
resolved "https://registry.yarnpkg.com/@mui/types/-/types-7.2.14.tgz#8a02ac129b70f3d82f2f9b76ded2c8d48e3fc8c9"
integrity sha512-MZsBZ4q4HfzBsywtXgM1Ksj6HDThtiwmOKUXH1pKYISI9gAVXCNHNpo7TlGoGrBaYWZTdNoirIN7JsQcQUjmQQ==
"@mui/types@^7.2.20":
version "7.2.20"
resolved "https://registry.yarnpkg.com/@mui/types/-/types-7.2.20.tgz#16d8c9178b42b62ba95bbedbda8f343feb373d1e"
integrity sha512-straFHD7L8v05l/N5vcWk+y7eL9JF0C2mtph/y4BPm3gn2Eh61dDwDB65pa8DLss3WJfDXYC7Kx5yjP0EmXpgw==
"@mui/types@^7.2.21":
version "7.2.21"
resolved "https://registry.yarnpkg.com/@mui/types/-/types-7.2.21.tgz#63f50874eda8e4a021a69aaa8ba9597369befda2"
integrity sha512-6HstngiUxNqLU+/DPqlUJDIPbzUBxIVHb1MmXP0eTWDIROiCR2viugXpEif0PPe2mLqqakPzzRClWAnK+8UJww==
"@mui/utils@^5.14.15", "@mui/utils@^5.15.14":
version "5.15.14"
@ -6828,13 +6828,13 @@
prop-types "^15.8.1"
react-is "^18.2.0"
"@mui/utils@^6.3.0":
version "6.3.0"
resolved "https://registry.yarnpkg.com/@mui/utils/-/utils-6.3.0.tgz#76c80cb663c7c1bdf782de50a5c3f6ff8bf38e21"
integrity sha512-MkDBF08OPVwXhAjedyMykRojgvmf0y/jxkBWjystpfI/pasyTYrfdv4jic6s7j3y2+a+SJzS9qrD6X8ZYj/8AQ==
"@mui/utils@^6.3.1":
version "6.3.1"
resolved "https://registry.yarnpkg.com/@mui/utils/-/utils-6.3.1.tgz#0ec705d4a0bbcb69fca8da5225f9c52f8ac49905"
integrity sha512-sjGjXAngoio6lniQZKJ5zGfjm+LD2wvLwco7FbKe1fu8A7VIFmz2SwkLb+MDPLNX1lE7IscvNNyh1pobtZg2tw==
dependencies:
"@babel/runtime" "^7.26.0"
"@mui/types" "^7.2.20"
"@mui/types" "^7.2.21"
"@types/prop-types" "^15.7.14"
clsx "^2.1.1"
prop-types "^15.8.1"