mirror of
https://github.com/tuna2134/cecilia.git
synced 2026-04-03 17:31:47 +00:00
Compare commits
202 Commits
develop
...
tuna2134-p
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fb7903d1c2 | ||
|
|
678b0c419b | ||
|
|
9ee329d4eb | ||
|
|
2e4184381a | ||
|
|
851f9de7a7 | ||
|
|
b82ae985c9 | ||
|
|
312b2a8867 | ||
|
|
0adfa11bcb | ||
|
|
eb4ac23210 | ||
|
|
a41d752f19 | ||
|
|
917b23fd6d | ||
|
|
0089d52b81 | ||
|
|
a80d7c7818 | ||
|
|
e67dcd732f | ||
|
|
56acf68462 | ||
|
|
4d89cf45e0 | ||
|
|
2816a7d63c | ||
|
|
98955d4e25 | ||
|
|
be26f678e2 | ||
|
|
84426c43e9 | ||
|
|
6712702ea7 | ||
|
|
ffff7a3f9a | ||
|
|
6d385ccfbb | ||
|
|
a93d9edc18 | ||
|
|
085cad4c8f | ||
|
|
022522a355 | ||
|
|
a7873066f4 | ||
|
|
7ba5dbe41c | ||
|
|
1051d5352b | ||
|
|
a6bee8d1ec | ||
|
|
4a3ad3905c | ||
|
|
bd8e2b67f4 | ||
|
|
b1ccb594f5 | ||
|
|
0cd9ab4a28 | ||
|
|
0f428c4489 | ||
|
|
04ebe5dddc | ||
|
|
5ee6612c01 | ||
|
|
0affce9992 | ||
|
|
616be9b690 | ||
|
|
41e1efdced | ||
|
|
47ddde1ee5 | ||
|
|
b68a95ae0a | ||
|
|
eb48b6b0b5 | ||
|
|
ec9599871b | ||
|
|
80566bc6b5 | ||
|
|
ba43242f5c | ||
|
|
e1026993ce | ||
|
|
d4956a0f19 | ||
|
|
2f0e1a8dd4 | ||
|
|
2c7f5b4818 | ||
|
|
437c4030ab | ||
|
|
f5be128cf4 | ||
|
|
57a8a4a528 | ||
|
|
74f865076c | ||
|
|
a60f9e4845 | ||
|
|
ca24a145fe | ||
|
|
ab39e44160 | ||
|
|
c939f6f01e | ||
|
|
8b0de4610b | ||
|
|
d9c7cb856e | ||
|
|
83efebbe0c | ||
|
|
e3293cef3a | ||
|
|
08c90dcfa9 | ||
|
|
a177cd734c | ||
|
|
97d38fc5b2 | ||
|
|
0c26aec7da | ||
|
|
4d1ddceff0 | ||
|
|
1b628b033c | ||
|
|
7bbb9350ec | ||
|
|
7be1962303 | ||
|
|
6f0e95419f | ||
|
|
cb270ab524 | ||
|
|
eb336e7f72 | ||
|
|
955bcf706a | ||
|
|
e22d0c08c6 | ||
|
|
3805b7585b | ||
|
|
74aa205001 | ||
|
|
35c26f1007 | ||
|
|
533cc6753e | ||
|
|
9b0613f0b8 | ||
|
|
7255a71f0b | ||
|
|
27b0804f4d | ||
|
|
ede105fb8c | ||
|
|
c48aa1c165 | ||
|
|
71f674892c | ||
|
|
aa97e7d278 | ||
|
|
31ec84a51c | ||
|
|
45b9c0077b | ||
|
|
0b3c5b8a14 | ||
|
|
59a55152ce | ||
|
|
867d94da28 | ||
|
|
79703b79b7 | ||
|
|
6479c48fc3 | ||
|
|
6675556184 | ||
|
|
b00621c77b | ||
|
|
655b06079b | ||
|
|
9433a96fb5 | ||
|
|
0b0a8b703b | ||
|
|
6ca932bc2e | ||
|
|
c391bae0ff | ||
|
|
69f613d02b | ||
|
|
bc01176ce6 | ||
|
|
aa7be94277 | ||
|
|
e2e94d4c0b | ||
|
|
3f603ce2fa | ||
|
|
463c9dfe76 | ||
|
|
799989d750 | ||
|
|
8574e3f3bb | ||
|
|
41b0a84a75 | ||
|
|
b35c97d9a5 | ||
|
|
50fd88a6a4 | ||
|
|
1cc9bfc19f | ||
|
|
6b2614e152 | ||
|
|
d252ff65a2 | ||
|
|
53a515f727 | ||
|
|
12543dfe16 | ||
|
|
b0d5f75d6d | ||
|
|
0a1e995e66 | ||
|
|
298d2df46d | ||
|
|
ed8bf5e813 | ||
|
|
e0b19440d4 | ||
|
|
1fc0992bee | ||
|
|
d5a66b67ea | ||
|
|
d3e663c342 | ||
|
|
2a3c6f69c0 | ||
|
|
f07fd44ffe | ||
|
|
fde37a3e30 | ||
|
|
a2ac1ea12b | ||
|
|
538faf396d | ||
|
|
3175741245 | ||
|
|
583017aef8 | ||
|
|
cdd9efa2ff | ||
|
|
da125fc768 | ||
|
|
0530539f0d | ||
|
|
b4986fa11c | ||
|
|
b642c82d33 | ||
|
|
63207d795d | ||
|
|
67bbd4e11e | ||
|
|
911d762f9a | ||
|
|
72f0040f08 | ||
|
|
a024364503 | ||
|
|
008d279697 | ||
|
|
60386c0846 | ||
|
|
6f5cbb5c1d | ||
|
|
724e971f0a | ||
|
|
b0c4acf0bb | ||
|
|
b654a1b0cb | ||
|
|
3174e39142 | ||
|
|
609431278b | ||
|
|
faeb565f4a | ||
|
|
513a0e0583 | ||
|
|
d646bd5561 | ||
|
|
088fa6b958 | ||
|
|
df7392619e | ||
|
|
650a77f8de | ||
|
|
ee7201de82 | ||
|
|
99ebe20e86 | ||
|
|
f9e3a942e0 | ||
|
|
3f754c3d2c | ||
|
|
d49108223d | ||
|
|
c63ef08728 | ||
|
|
26598cdb19 | ||
|
|
52b6d5ea9a | ||
|
|
dcfc79ea36 | ||
|
|
caacedff07 | ||
|
|
4d8e2a8c7a | ||
|
|
a1988729d5 | ||
|
|
9324aa8bc1 | ||
|
|
e0ad404f2d | ||
|
|
b3b48c5841 | ||
|
|
eae8f73b85 | ||
|
|
2be5936b18 | ||
|
|
9a2d89acba | ||
|
|
195a432dec | ||
|
|
dc77191035 | ||
|
|
e8288cad61 | ||
|
|
0817afe2b0 | ||
|
|
ff78491a10 | ||
|
|
ce58470231 | ||
|
|
da4ea57cb5 | ||
|
|
c01ae9ea1c | ||
|
|
e03208cdcf | ||
|
|
7dc3a47f9e | ||
|
|
7ef2f86abe | ||
|
|
fa30b69e1b | ||
|
|
e2c93dffcc | ||
|
|
ec7130c4d5 | ||
|
|
b25830f90a | ||
|
|
f981e1aff3 | ||
|
|
aa08dc1006 | ||
|
|
8db99eb734 | ||
|
|
cfff7368a7 | ||
|
|
af327c44d2 | ||
|
|
1363523fb7 | ||
|
|
21b057f0fc | ||
|
|
0b0fef1556 | ||
|
|
b1ef43b4dd | ||
|
|
d7de569437 | ||
|
|
96c2f6c389 | ||
|
|
5daa6b3406 | ||
|
|
f09bdabff5 | ||
|
|
0e87cc4967 |
41
.dockerignore
Normal file
41
.dockerignore
Normal file
@@ -0,0 +1,41 @@
|
||||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
||||
|
||||
# dependencies
|
||||
/node_modules
|
||||
/.pnp
|
||||
.pnp.*
|
||||
.yarn/*
|
||||
!.yarn/patches
|
||||
!.yarn/plugins
|
||||
!.yarn/releases
|
||||
!.yarn/versions
|
||||
|
||||
# testing
|
||||
/coverage
|
||||
|
||||
# next.js
|
||||
/.next/
|
||||
/out/
|
||||
|
||||
# production
|
||||
/build
|
||||
|
||||
# misc
|
||||
.DS_Store
|
||||
*.pem
|
||||
|
||||
# debug
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
.pnpm-debug.log*
|
||||
|
||||
# env files (can opt-in for committing if needed)
|
||||
.env*
|
||||
|
||||
# vercel
|
||||
.vercel
|
||||
|
||||
# typescript
|
||||
*.tsbuildinfo
|
||||
next-env.d.ts
|
||||
32
.github/workflows/docker.yml
vendored
Normal file
32
.github/workflows/docker.yml
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
name: Push to github container register
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
push-docker:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.actor }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Build and push image
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: |
|
||||
ghcr.io/${{ github.repository }}
|
||||
32
.github/workflows/pr.yml
vendored
Normal file
32
.github/workflows/pr.yml
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
name: Renovatebot auto-merge
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
renovatebot:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.actor == 'renovate[bot]'
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: latest
|
||||
- uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: 24.x
|
||||
cache: pnpm
|
||||
- name: Build checking
|
||||
run: |
|
||||
pnpm install --frozen-lockfile
|
||||
pnpm build
|
||||
- name: Enable auto-merge for Renovate PRs
|
||||
run: gh pr merge --auto --merge "$PR_URL"
|
||||
env:
|
||||
PR_URL: ${{ github.event.pull_request.html_url }}
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
11
Dockerfile
11
Dockerfile
@@ -1,4 +1,4 @@
|
||||
FROM node:22-slim AS builder
|
||||
FROM node:24-slim AS builder
|
||||
|
||||
WORKDIR /src
|
||||
|
||||
@@ -9,17 +9,16 @@ COPY pnpm-lock.yaml package.json .
|
||||
RUN pnpm install --frozen-lockfile
|
||||
|
||||
COPY . .
|
||||
RUN --mount=type=cache,target=/src/.next pnpm build \
|
||||
&& cp -r /src/.next /complete
|
||||
RUN pnpm build
|
||||
|
||||
FROM gcr.io/distroless/nodejs22-debian12
|
||||
|
||||
ENV NODE_ENV=production
|
||||
# ENV NODE_ENV=production
|
||||
WORKDIR /usr/src
|
||||
|
||||
COPY --chown=nonroot:nonroot ./public ./public
|
||||
COPY --from=builder --chown=nonroot:nonroot /complete/standalone ./
|
||||
COPY --from=builder --chown=nonroot:nonroot /complete/static ./.next/static
|
||||
COPY --from=builder --chown=nonroot:nonroot /src/.next/standalone ./
|
||||
COPY --from=builder --chown=nonroot:nonroot /src/.next/static ./.next/static
|
||||
|
||||
USER nonroot
|
||||
EXPOSE 3000
|
||||
|
||||
@@ -19,7 +19,7 @@ export default async function Page({ params }: Props) {
|
||||
</h2>
|
||||
</div>
|
||||
<p className="text-gray-600/80">作成日時:{metadata.datetime}</p>
|
||||
<div className="prose mt-2">
|
||||
<div className="prose mt-2 max-w-none">
|
||||
<Post />
|
||||
</div>
|
||||
</>
|
||||
|
||||
@@ -8,7 +8,7 @@ export default function Home() {
|
||||
<PageHeader.default />
|
||||
<Header />
|
||||
<div className="mx-auto mt-6 max-w-3xl px-4">
|
||||
<p className="mb-3 border-b-4 border-indigo-600 bg-indigo-600/20 p-1 text-2xl font-bold">
|
||||
<p className="mb-3 p-1 text-2xl font-bold tracking-wider">
|
||||
歴史
|
||||
</p>
|
||||
<Timeline
|
||||
@@ -37,3 +37,5 @@ export default function Home() {
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
export const dynamic = 'force-dynamic'
|
||||
|
||||
31
blogs/k8s.mdx
Normal file
31
blogs/k8s.mdx
Normal file
@@ -0,0 +1,31 @@
|
||||
export const metadata = {
|
||||
title: "Kubernetes構築ansibleスクリプト",
|
||||
description: "高可用性クラスターを簡単に構築するためのansibleスクリプトです。",
|
||||
datetime: "2025/05/07",
|
||||
};
|
||||
|
||||
Kubernetes構築ansibleスクリプトの使い方
|
||||
|
||||
## 環境のセットアップ
|
||||
uvをインスコします
|
||||
```sh
|
||||
curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
```
|
||||
|
||||
## パッケージなどをインストール
|
||||
```sh
|
||||
uv sync
|
||||
```
|
||||
|
||||
## virtualenvに没入
|
||||
```
|
||||
source .venv/bin/activate
|
||||
```
|
||||
|
||||
## configの変更
|
||||
`inventory`の内容をよしなに変更してね
|
||||
|
||||
## 実行
|
||||
```
|
||||
ansible-playbook -i inventory full.yml
|
||||
```
|
||||
21
blogs/suimin.mdx
Normal file
21
blogs/suimin.mdx
Normal file
@@ -0,0 +1,21 @@
|
||||
export const metadata = {
|
||||
title: "WSLを吹っ飛ばした。",
|
||||
description: "WSLのディスクが最近肥大化してきたので、吹っ飛ばします。",
|
||||
datetime: "2025/06/16",
|
||||
};
|
||||
|
||||
## 問題
|
||||
Next.js触ったり、Rustを触ったりしているとキャッシュとかでディスクが圧迫する。
|
||||
それらを取り除かないといけないから、リセットすることに決めた。
|
||||
|
||||
## まずWSLを破壊
|
||||
```sh
|
||||
wsl --unregister=Ubuntu
|
||||
```
|
||||
|
||||
## 再構築
|
||||
```sh
|
||||
wsl --install=Ubuntu
|
||||
```
|
||||
|
||||
以上!
|
||||
@@ -1,5 +1,5 @@
|
||||
import Image from "next/image";
|
||||
import { ArrowDown, Github, PageDown, X } from "iconoir-react";
|
||||
import { ArrowDown, Github, X } from "iconoir-react";
|
||||
import Link from "next/link";
|
||||
|
||||
const SNSIcons = [
|
||||
@@ -23,6 +23,7 @@ const Header: React.FC = async () => {
|
||||
},
|
||||
);
|
||||
const data = await res.json();
|
||||
console.log(data);
|
||||
const avatarURL = `https://cdn.discordapp.com/avatars/739702692393517076/${data.avatar}.png?size=1024`;
|
||||
return (
|
||||
<header className="flex h-screen w-screen items-center justify-center">
|
||||
@@ -51,3 +52,5 @@ const Header: React.FC = async () => {
|
||||
};
|
||||
|
||||
export default Header;
|
||||
|
||||
export const dynamic = "force-dynamic";
|
||||
|
||||
@@ -12,21 +12,21 @@
|
||||
"dependencies": {
|
||||
"@mdx-js/loader": "^3.1.0",
|
||||
"@mdx-js/react": "^3.1.0",
|
||||
"@next/mdx": "^15.3.1",
|
||||
"@next/mdx": "^16.0.0",
|
||||
"@types/mdx": "^2.0.13",
|
||||
"iconoir-react": "^7.11.0",
|
||||
"next": "15.3.2",
|
||||
"next": "16.0.1",
|
||||
"react": "^19.0.0",
|
||||
"react-dom": "^19.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tailwindcss/postcss": "^4",
|
||||
"@tailwindcss/typography": "^0.5.16",
|
||||
"@types/node": "^22.0.0",
|
||||
"@types/node": "^24.0.0",
|
||||
"@types/react": "^19",
|
||||
"@types/react-dom": "^19",
|
||||
"prettier": "^3.5.3",
|
||||
"prettier-plugin-tailwindcss": "^0.6.11",
|
||||
"prettier-plugin-tailwindcss": "^0.7.0",
|
||||
"tailwindcss": "^4",
|
||||
"typescript": "^5"
|
||||
}
|
||||
|
||||
1160
pnpm-lock.yaml
generated
1160
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
1
public/ads.txt
Normal file
1
public/ads.txt
Normal file
@@ -0,0 +1 @@
|
||||
google.com, pub-8715826596324259, DIRECT, f08c47fec0942fa0
|
||||
Reference in New Issue
Block a user