migrate remaining git.t-juice.club references to code.t-juice.club
Update flake inputs, MCP server URLs, and remove old GitHub Actions workflows (will be replaced with new CI on Forgejo). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
33
.github/workflows/actions-check.yaml
vendored
33
.github/workflows/actions-check.yaml
vendored
@@ -1,33 +0,0 @@
|
|||||||
name: Check actions
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
paths:
|
|
||||||
- .github/workflows/*.yaml
|
|
||||||
- .github/workflows/*.yml
|
|
||||||
pull_request:
|
|
||||||
paths:
|
|
||||||
- .github/workflows/*.yaml
|
|
||||||
- .github/workflows/*.yml
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
check-actions-actionlint:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container:
|
|
||||||
image: ghcr.io/catthehacker/ubuntu:runner-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- uses: actions/setup-go@v5
|
|
||||||
with:
|
|
||||||
go-version: '1.23'
|
|
||||||
- run: |
|
|
||||||
go install github.com/rhysd/actionlint/cmd/actionlint@latest
|
|
||||||
actionlint .github/workflows/*.yaml
|
|
||||||
check-actions-yamllint:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container:
|
|
||||||
image: ghcr.io/catthehacker/ubuntu:runner-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- uses: actions/setup-python@v5
|
|
||||||
- run: |
|
|
||||||
pipx run yamllint .github/workflows/*.yaml
|
|
||||||
14
.github/workflows/flake-check.yaml
vendored
14
.github/workflows/flake-check.yaml
vendored
@@ -1,14 +0,0 @@
|
|||||||
name: Run nix flake check
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
pull_request:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
flake-check:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container:
|
|
||||||
image: ghcr.io/catthehacker/ubuntu:runner-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- uses: cachix/install-nix-action@v27
|
|
||||||
- run: nix flake check
|
|
||||||
36
.github/workflows/flake-update.yaml
vendored
36
.github/workflows/flake-update.yaml
vendored
@@ -1,36 +0,0 @@
|
|||||||
---
|
|
||||||
name: Periodic flake update
|
|
||||||
on: # yamllint disable-line rule:truthy
|
|
||||||
schedule:
|
|
||||||
- cron: "0 */2 * * *"
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
flake-update:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
container:
|
|
||||||
image: ghcr.io/catthehacker/ubuntu:runner-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
with:
|
|
||||||
ref: master
|
|
||||||
- uses: cachix/install-nix-action@v27
|
|
||||||
- name: configure git
|
|
||||||
env:
|
|
||||||
SSH_PRIVKEY: ${{ secrets.BOT_SSH_PRIVKEY }}
|
|
||||||
SSH_PUBKEY: ${{ secrets.BOT_SSH_PUBKEY }}
|
|
||||||
run: |
|
|
||||||
echo "$SSH_PRIVKEY" > "$RUNNER_TEMP/id_ed25519"
|
|
||||||
echo "$SSH_PUBKEY" > "$RUNNER_TEMP/id_ed25519.pub"
|
|
||||||
chmod -R 0600 "$RUNNER_TEMP/id_ed25519.pub" "$RUNNER_TEMP/id_ed25519"
|
|
||||||
git config --global user.name 'torjus-bot'
|
|
||||||
git config --global user.email 'torjus-bot@git.t-juice.club'
|
|
||||||
git config --global user.signingKey "$RUNNER_TEMP/id_ed25519.pub"
|
|
||||||
git config --global gpg.format ssh
|
|
||||||
git config --global commit.gpgsign true
|
|
||||||
- name: flake update
|
|
||||||
run: nix flake update --commit-lock-file
|
|
||||||
- name: push
|
|
||||||
run: git push
|
|
||||||
@@ -2,28 +2,28 @@
|
|||||||
"mcpServers": {
|
"mcpServers": {
|
||||||
"nixpkgs-options": {
|
"nixpkgs-options": {
|
||||||
"command": "nix",
|
"command": "nix",
|
||||||
"args": ["run", "git+https://git.t-juice.club/torjus/labmcp#nixpkgs-search", "--", "options", "serve"],
|
"args": ["run", "git+https://code.t-juice.club/torjus/labmcp#nixpkgs-search", "--", "options", "serve"],
|
||||||
"env": {
|
"env": {
|
||||||
"NIXPKGS_SEARCH_DATABASE": "sqlite:///run/user/1000/labmcp/nixpkgs-search.db"
|
"NIXPKGS_SEARCH_DATABASE": "sqlite:///run/user/1000/labmcp/nixpkgs-search.db"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nixpkgs-packages": {
|
"nixpkgs-packages": {
|
||||||
"command": "nix",
|
"command": "nix",
|
||||||
"args": ["run", "git+https://git.t-juice.club/torjus/labmcp#nixpkgs-search", "--", "packages", "serve"],
|
"args": ["run", "git+https://code.t-juice.club/torjus/labmcp#nixpkgs-search", "--", "packages", "serve"],
|
||||||
"env": {
|
"env": {
|
||||||
"NIXPKGS_SEARCH_DATABASE": "sqlite:///run/user/1000/labmcp/nixpkgs-search.db"
|
"NIXPKGS_SEARCH_DATABASE": "sqlite:///run/user/1000/labmcp/nixpkgs-search.db"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"hm-options": {
|
"hm-options": {
|
||||||
"command": "nix",
|
"command": "nix",
|
||||||
"args": ["run", "git+https://git.t-juice.club/torjus/labmcp#hm-options", "--", "serve"],
|
"args": ["run", "git+https://code.t-juice.club/torjus/labmcp#hm-options", "--", "serve"],
|
||||||
"env": {
|
"env": {
|
||||||
"HM_OPTIONS_DATABASE": "sqlite:///run/user/1000/labmcp/hm-options.db"
|
"HM_OPTIONS_DATABASE": "sqlite:///run/user/1000/labmcp/hm-options.db"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"git-explorer": {
|
"git-explorer": {
|
||||||
"command": "nix",
|
"command": "nix",
|
||||||
"args": ["run", "git+https://git.t-juice.club/torjus/labmcp#git-explorer", "--", "serve"],
|
"args": ["run", "git+https://code.t-juice.club/torjus/labmcp#git-explorer", "--", "serve"],
|
||||||
"env": {
|
"env": {
|
||||||
"GIT_REPO_PATH": "/home/torjus/git/nixos-servers"
|
"GIT_REPO_PATH": "/home/torjus/git/nixos-servers"
|
||||||
}
|
}
|
||||||
|
|||||||
48
flake.lock
generated
48
flake.lock
generated
@@ -25,18 +25,18 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1728602333,
|
"lastModified": 1773164481,
|
||||||
"narHash": "sha256-sKbnng/g4ijuKcjShBi7oPxyUrCnMJDDy17U9W/TuMg=",
|
"narHash": "sha256-pAHExVIUqQdnaKniNTdlxheQ/IOU3nTeEV/DRrCc8wg=",
|
||||||
"ref": "master",
|
"ref": "master",
|
||||||
"rev": "84fcfdde62de9888d3af8bcb0d7134137b276b55",
|
"rev": "bb7f415c08d6189514dce8c43d69eea6372f0528",
|
||||||
"revCount": 23,
|
"revCount": 24,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.t-juice.club/torjus/ghettoptt"
|
"url": "https://code.t-juice.club/torjus/ghettoptt"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"ref": "master",
|
"ref": "master",
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.t-juice.club/torjus/ghettoptt"
|
"url": "https://code.t-juice.club/torjus/ghettoptt"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"home-manager": {
|
"home-manager": {
|
||||||
@@ -69,18 +69,18 @@
|
|||||||
"uv2nix": "uv2nix"
|
"uv2nix": "uv2nix"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1757974387,
|
"lastModified": 1773164725,
|
||||||
"narHash": "sha256-vVFZTB3NxJCH91aaAtop3MEZcilPQ273epV1gcnQE4s=",
|
"narHash": "sha256-FNW+hOB6NCEpZt73FPiafLBPfwnSdTJeaGNCN3r+zEQ=",
|
||||||
"ref": "master",
|
"ref": "master",
|
||||||
"rev": "b341e613337b87cef7a0f4ea05d677288cafa3fb",
|
"rev": "e5226d3e32180eb59edae6c29053854dda82750c",
|
||||||
"revCount": 33,
|
"revCount": 34,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.t-juice.club/torjus/huecli"
|
"url": "https://code.t-juice.club/torjus/huecli"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"ref": "master",
|
"ref": "master",
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.t-juice.club/torjus/huecli"
|
"url": "https://code.t-juice.club/torjus/huecli"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"natstonotify": {
|
"natstonotify": {
|
||||||
@@ -90,18 +90,18 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1739302828,
|
"lastModified": 1773164311,
|
||||||
"narHash": "sha256-D6l5tAh1FDpdz9/tQC7kYhFPQzqI1HICwNh7fRejfrw=",
|
"narHash": "sha256-HRR4TBCGp5okWW2eV6vUTYAhUR7I+MNADtlOaIe8fec=",
|
||||||
"ref": "master",
|
"ref": "master",
|
||||||
"rev": "bfcf518fe0b2fe19075667f7b22227376d102509",
|
"rev": "7e784076242f4bbcf63a35c14ea752bf7a285d8a",
|
||||||
"revCount": 7,
|
"revCount": 8,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.t-juice.club/torjus/natstonotify"
|
"url": "https://code.t-juice.club/torjus/natstonotify"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"ref": "master",
|
"ref": "master",
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.t-juice.club/torjus/natstonotify"
|
"url": "https://code.t-juice.club/torjus/natstonotify"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nix-packages": {
|
"nix-packages": {
|
||||||
@@ -183,18 +183,18 @@
|
|||||||
"uv2nix": "uv2nix_2"
|
"uv2nix": "uv2nix_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1767871861,
|
"lastModified": 1773164966,
|
||||||
"narHash": "sha256-Oh0Y9bTvvMm3JQH/C/8XLCeemgvMDbIgFh1NSYFyINY=",
|
"narHash": "sha256-uwkLjHH6BmNzcF791y9ceUcfZtRu/v0+61d4/TbGLxY=",
|
||||||
"ref": "master",
|
"ref": "master",
|
||||||
"rev": "b4e3e6de659bf8c96b84dd47249c71b357dd50c2",
|
"rev": "61c04a87f944cfc93b9f3f2904991c41664e28c5",
|
||||||
"revCount": 62,
|
"revCount": 63,
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.t-juice.club/torjus/nixprstatus"
|
"url": "https://code.t-juice.club/torjus/nixprstatus"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"ref": "master",
|
"ref": "master",
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.t-juice.club/torjus/nixprstatus"
|
"url": "https://code.t-juice.club/torjus/nixprstatus"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"pyproject-build-systems": {
|
"pyproject-build-systems": {
|
||||||
|
|||||||
@@ -13,11 +13,11 @@
|
|||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
ghettoptt = {
|
ghettoptt = {
|
||||||
url = "git+https://git.t-juice.club/torjus/ghettoptt?ref=master";
|
url = "git+https://code.t-juice.club/torjus/ghettoptt?ref=master";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
huecli = {
|
huecli = {
|
||||||
url = "git+https://git.t-juice.club/torjus/huecli?ref=master";
|
url = "git+https://code.t-juice.club/torjus/huecli?ref=master";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
nix-packages = {
|
nix-packages = {
|
||||||
@@ -25,11 +25,11 @@
|
|||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
nixprstatus = {
|
nixprstatus = {
|
||||||
url = "git+https://git.t-juice.club/torjus/nixprstatus?ref=master";
|
url = "git+https://code.t-juice.club/torjus/nixprstatus?ref=master";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
natstonotify = {
|
natstonotify = {
|
||||||
url = "git+https://git.t-juice.club/torjus/natstonotify?ref=master";
|
url = "git+https://code.t-juice.club/torjus/natstonotify?ref=master";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
catppuccin = {
|
catppuccin = {
|
||||||
|
|||||||
Reference in New Issue
Block a user