Compare commits
2 Commits
6924559e0d
...
cb1f635d3a
Author | SHA1 | Date | |
---|---|---|---|
|
cb1f635d3a | ||
6497218b58 |
1
.cuddle/base
Submodule
1
.cuddle/base
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 05f98cea655ee5c26ad81a085386987c3d84af10
|
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.233: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.233: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
|
||||
|
103
CHANGELOG.md
Normal file
103
CHANGELOG.md
Normal file
@ -0,0 +1,103 @@
|
||||
# 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] - 2024-12-12
|
||||
|
||||
### Added
|
||||
- without node
|
||||
- add stuff
|
||||
|
||||
### Fixed
|
||||
- *(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 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
|
||||
|
23
yarn.lock
23
yarn.lock
@ -10871,9 +10871,9 @@
|
||||
undici-types "~6.19.2"
|
||||
|
||||
"@types/node@^22.0.0":
|
||||
version "22.10.1"
|
||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-22.10.1.tgz#41ffeee127b8975a05f8c4f83fb89bcb2987d766"
|
||||
integrity sha512-qKgsUwfHZV2WCWLAnVP1JqnpE6Im6h3Y0+fYgMTasNQ7V++CBX5OT1as0g0f+OyubbFqhf6XVNIsmN4IIhEgGQ==
|
||||
version "22.10.2"
|
||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-22.10.2.tgz#a485426e6d1fdafc7b0d4c7b24e2c78182ddabb9"
|
||||
integrity sha512-Xxr6BBRCAOQixvonOye19wnzyDiUtTeqldOOmj3CkeblonbccA12PFwlufvRdrpjXxqnmUaeiU5EOA+7s5diUQ==
|
||||
dependencies:
|
||||
undici-types "~6.20.0"
|
||||
|
||||
@ -14499,7 +14499,7 @@ debug@2.6.9, debug@^2.6.0:
|
||||
dependencies:
|
||||
ms "2.0.0"
|
||||
|
||||
debug@4, debug@4.3.7, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.3, debug@^4.3.4:
|
||||
debug@4, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.3, debug@^4.3.4:
|
||||
version "4.3.7"
|
||||
resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.7.tgz#87945b4151a011d76d95a198d7111c865c360a52"
|
||||
integrity sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==
|
||||
@ -14513,6 +14513,13 @@ debug@4.3.4, debug@^4.0.0:
|
||||
dependencies:
|
||||
ms "2.1.2"
|
||||
|
||||
debug@4.4.0:
|
||||
version "4.4.0"
|
||||
resolved "https://registry.yarnpkg.com/debug/-/debug-4.4.0.tgz#2b3f2aea2ffeb776477460267377dc8710faba8a"
|
||||
integrity sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==
|
||||
dependencies:
|
||||
ms "^2.1.3"
|
||||
|
||||
debug@^3.1.0, debug@^3.2.7:
|
||||
version "3.2.7"
|
||||
resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a"
|
||||
@ -25425,14 +25432,14 @@ standard-as-callback@^2.1.0:
|
||||
integrity sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A==
|
||||
|
||||
start-server-and-test@^2.0.0:
|
||||
version "2.0.8"
|
||||
resolved "https://registry.yarnpkg.com/start-server-and-test/-/start-server-and-test-2.0.8.tgz#0423ed00a7c052c4e74ff6bb0b90878bbd1d7cd9"
|
||||
integrity sha512-v2fV6NV2F7tL1ocwfI4Wpait+IKjRbT5l3ZZ+ZikXdMLmxYsS8ynGAsCQAUVXkVyGyS+UibsRnvgHkMvJIvCsw==
|
||||
version "2.0.9"
|
||||
resolved "https://registry.yarnpkg.com/start-server-and-test/-/start-server-and-test-2.0.9.tgz#a58160fa95e072aeb41e104472dea01b052b7443"
|
||||
integrity sha512-DDceIvc4wdpr+z3Aqkot2QMho8TcUBh5qH0wEHDpEexBTzlheOcmh53d3dExABY4J5C7qS2UbSXqRWLtxpbWIQ==
|
||||
dependencies:
|
||||
arg "^5.0.2"
|
||||
bluebird "3.7.2"
|
||||
check-more-types "2.24.0"
|
||||
debug "4.3.7"
|
||||
debug "4.4.0"
|
||||
execa "5.1.1"
|
||||
lazy-ass "1.6.0"
|
||||
ps-tree "1.2.0"
|
||||
|
Loading…
x
Reference in New Issue
Block a user