Compare commits
2 Commits
4ab0fa526c
...
5731732747
Author | SHA1 | Date | |
---|---|---|---|
|
5731732747 | ||
408fdd4472 |
1
.cuddle/base
Submodule
1
.cuddle/base
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit ab61a5b89ff25ddc84651fc2165d79a2e2ef6abf
|
134
.cuddle/tmp/cuddle-node-service-plan.yaml
Normal file
134
.cuddle/tmp/cuddle-node-service-plan.yaml
Normal 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: {}
|
||||
|
20
.cuddle/tmp/deployment.yaml
Normal file
20
.cuddle/tmp/deployment.yaml
Normal 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
|
22
.cuddle/tmp/kustomize/base/deployment.yaml
Normal file
22
.cuddle/tmp/kustomize/base/deployment.yaml
Normal 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
|
24
.cuddle/tmp/kustomize/base/kustomization.yaml
Normal file
24
.cuddle/tmp/kustomize/base/kustomization.yaml
Normal 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 }}"
|
17
.cuddle/tmp/kustomize/base/service.yaml
Normal file
17
.cuddle/tmp/kustomize/base/service.yaml
Normal 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
|
||||
|
121
CHANGELOG.md
Normal file
121
CHANGELOG.md
Normal file
@ -0,0 +1,121 @@
|
||||
# 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-05
|
||||
|
||||
### 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 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
|
||||
|
46
yarn.lock
46
yarn.lock
@ -5686,6 +5686,14 @@
|
||||
resolved "https://registry.yarnpkg.com/@graphql-typed-document-node/core/-/core-3.2.0.tgz#5f3d96ec6b2354ad6d8a28bf216a1d97b5426861"
|
||||
integrity sha512-mB9oAsNCm9aM3/SOv4YtBMqZbYj10R7dkq8byBqxGY/ncFwhf2oQzMV+LCRlWoDSEBJ3COiR1yeDvMtsoOsuFQ==
|
||||
|
||||
"@grpc/grpc-js@^1.11.1":
|
||||
version "1.12.5"
|
||||
resolved "https://registry.yarnpkg.com/@grpc/grpc-js/-/grpc-js-1.12.5.tgz#0064a28fe9b1ec54ac27e1c9bf70720aa01285e8"
|
||||
integrity sha512-d3iiHxdpg5+ZcJ6jnDSOT8Z0O0VMVGy34jAnYLUX8yd36b1qn8f1TwOA/Lc7TsOh03IkPJ38eGI5qD2EjNkoEA==
|
||||
dependencies:
|
||||
"@grpc/proto-loader" "^0.7.13"
|
||||
"@js-sdsl/ordered-map" "^4.4.2"
|
||||
|
||||
"@grpc/grpc-js@~1.10.0":
|
||||
version "1.10.6"
|
||||
resolved "https://registry.yarnpkg.com/@grpc/grpc-js/-/grpc-js-1.10.6.tgz#1e3eb1af911dc888fbef7452f56a7573b8284d54"
|
||||
@ -5715,6 +5723,16 @@
|
||||
protobufjs "^7.2.4"
|
||||
yargs "^17.7.2"
|
||||
|
||||
"@grpc/proto-loader@^0.7.13":
|
||||
version "0.7.13"
|
||||
resolved "https://registry.yarnpkg.com/@grpc/proto-loader/-/proto-loader-0.7.13.tgz#f6a44b2b7c9f7b609f5748c6eac2d420e37670cf"
|
||||
integrity sha512-AiXO/bfe9bmxBjxxtYxFAXGZvMaN5s8kO+jBHAJCON8rJoB5YS/D6X7ZNc6XQkuHNmyl4CYaMI1fJ/Gn27RGGw==
|
||||
dependencies:
|
||||
lodash.camelcase "^4.3.0"
|
||||
long "^5.0.0"
|
||||
protobufjs "^7.2.5"
|
||||
yargs "^17.7.2"
|
||||
|
||||
"@hapi/hoek@^9.0.0", "@hapi/hoek@^9.3.0":
|
||||
version "9.3.0"
|
||||
resolved "https://registry.yarnpkg.com/@hapi/hoek/-/hoek-9.3.0.tgz#8368869dcb735be2e7f5cb7647de78e167a251fb"
|
||||
@ -12182,9 +12200,9 @@ before-after-hook@^2.2.0:
|
||||
integrity sha512-NzUnlZexiaH/46WDhANlyR2bXRopNg4F/zuSA3OpZnllCUgRaOF2znDioDWrmbNVsuZk6l9pMquQB38cfBZwkQ==
|
||||
|
||||
better-sqlite3@^11.0.0:
|
||||
version "11.7.0"
|
||||
resolved "https://registry.yarnpkg.com/better-sqlite3/-/better-sqlite3-11.7.0.tgz#3eaa0f54f9e57d0a100d980e42320f8b9a4cd676"
|
||||
integrity sha512-mXpa5jnIKKHeoGzBrUJrc65cXFKcILGZpU3FXR0pradUEm9MA7UZz02qfEejaMcm9iXrSOCenwwYMJ/tZ1y5Ig==
|
||||
version "11.7.2"
|
||||
resolved "https://registry.yarnpkg.com/better-sqlite3/-/better-sqlite3-11.7.2.tgz#66b738894a6f51b87e26d76d8fbca60b75568660"
|
||||
integrity sha512-10a57cHVDmfNQS4jrZ9AH2t+2ekzYh5Rhbcnb4ytpmYweoLdogDmyTt5D+hLiY9b44Mx9foowb/4iXBTO2yP3Q==
|
||||
dependencies:
|
||||
bindings "^1.5.0"
|
||||
prebuild-install "^7.1.1"
|
||||
@ -14450,10 +14468,10 @@ dns-packet@^5.2.2:
|
||||
dependencies:
|
||||
"@leichtgewicht/ip-codec" "^2.0.1"
|
||||
|
||||
docker-modem@^5.0.3:
|
||||
version "5.0.3"
|
||||
resolved "https://registry.yarnpkg.com/docker-modem/-/docker-modem-5.0.3.tgz#50c06f11285289f58112b5c4c4d89824541c41d0"
|
||||
integrity sha512-89zhop5YVhcPEt5FpUFGr3cDyceGhq/F9J+ZndQ4KfqNvfbJpPMfgeixFgUj5OjCYAboElqODxY5Z1EBsSa6sg==
|
||||
docker-modem@^5.0.5:
|
||||
version "5.0.5"
|
||||
resolved "https://registry.yarnpkg.com/docker-modem/-/docker-modem-5.0.5.tgz#5c0d3fa3b4c778098d965be20c887c14fa995a2f"
|
||||
integrity sha512-Cxw8uEcvNTRmsQuGqzzfiCnfGgf96tVJItLh8taOX0miTcIBALKH5TckCSuZbpbjP7uhAl81dOL9sxfa6HgCIg==
|
||||
dependencies:
|
||||
debug "^4.1.1"
|
||||
readable-stream "^3.5.0"
|
||||
@ -14461,13 +14479,17 @@ docker-modem@^5.0.3:
|
||||
ssh2 "^1.15.0"
|
||||
|
||||
dockerode@^4.0.0:
|
||||
version "4.0.2"
|
||||
resolved "https://registry.yarnpkg.com/dockerode/-/dockerode-4.0.2.tgz#dedc8529a1db3ac46d186f5912389899bc309f7d"
|
||||
integrity sha512-9wM1BVpVMFr2Pw3eJNXrYYt6DT9k0xMcsSCjtPvyQ+xa1iPg/Mo3T/gUcwI0B2cczqCeCYRPF8yFYDwtFXT0+w==
|
||||
version "4.0.3"
|
||||
resolved "https://registry.yarnpkg.com/dockerode/-/dockerode-4.0.3.tgz#509227f46782302650447fd495d44b9e3b439e4f"
|
||||
integrity sha512-QSXJFcBQNaGZO6U3qWW4B7p8yRIJn/dWmvL2AQWfO/bjptBBO6QYdVkYSYFz9qoivP2jsOHZfmXMAfrK0BMKyg==
|
||||
dependencies:
|
||||
"@balena/dockerignore" "^1.0.2"
|
||||
docker-modem "^5.0.3"
|
||||
"@grpc/grpc-js" "^1.11.1"
|
||||
"@grpc/proto-loader" "^0.7.13"
|
||||
docker-modem "^5.0.5"
|
||||
protobufjs "^7.3.2"
|
||||
tar-fs "~2.0.1"
|
||||
uuid "^10.0.0"
|
||||
|
||||
doctrine@^2.1.0:
|
||||
version "2.1.0"
|
||||
@ -23017,7 +23039,7 @@ protobufjs@^7.0.0:
|
||||
"@types/node" ">=13.7.0"
|
||||
long "^5.0.0"
|
||||
|
||||
protobufjs@^7.4.0:
|
||||
protobufjs@^7.3.2, protobufjs@^7.4.0:
|
||||
version "7.4.0"
|
||||
resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-7.4.0.tgz#7efe324ce9b3b61c82aae5de810d287bc08a248a"
|
||||
integrity sha512-mRUWCc3KUU4w1jU8sGxICXH/gNS94DvI1gxqDvBzhj1JpcsimQkYiOJfwsPUykUI5ZaspFbSgmBLER8IrQ3tqw==
|
||||
|
Loading…
x
Reference in New Issue
Block a user