forked from DGNum/infrastructure
chore(npins): Drop proxmox-nixos
This commit is contained in:
parent
f87702cf66
commit
a4c38e1b5f
2 changed files with 0 additions and 41 deletions
|
@ -789,35 +789,6 @@ jobs:
|
|||
-o simple | grep \"$COMMIT_MESSAGE dgnum-chores\") ]; then\n tea pr create
|
||||
--description \"Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head
|
||||
\"$GIT_UPDATE_BRANCH\"\n fi\nfi\n"
|
||||
proxmox-nixos:
|
||||
runs-on: nix
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
token: ${{ secrets.TEA_DGNUM_CHORES_TOKEN }}
|
||||
- env:
|
||||
GIT_UPDATE_BRANCH: npins-updates/proxmox-nixos
|
||||
name: Switch to a new branch
|
||||
run: "if git ls-remote --exit-code --heads origin \"refs/heads/$GIT_UPDATE_BRANCH\"\
|
||||
; then\n git switch \"$GIT_UPDATE_BRANCH\"\n git rebase main\n echo \"\
|
||||
EXISTING_BRANCH=1\" >> $GITHUB_ENV\nelse\n git switch -C \"$GIT_UPDATE_BRANCH\"\
|
||||
\nfi\n"
|
||||
- env:
|
||||
COMMIT_MESSAGE: 'chore(npins): Update proxmox-nixos'
|
||||
GIT_UPDATE_BRANCH: npins-updates/proxmox-nixos
|
||||
name: Open a PR if updates are present
|
||||
run: "npins update proxmox-nixos\n\nif [ ! -z \"$(git diff --name-only)\" ];
|
||||
then\n echo \"[+] Changes detected, pushing updates.\"\n\n git add npins\n\
|
||||
\n if [ -n \"$EXISTING_BRANCH\" ]; then\n git commit --amend --no-edit\n\
|
||||
\ git push --force\n else\n git commit --message \"$COMMIT_MESSAGE\"\
|
||||
\n git push -u origin \"$GIT_UPDATE_BRANCH\"\n fi\n\n # Connect to the
|
||||
server with the cli\n tea login add -n dgnum-chores -t \"${{ secrets.TEA_DGNUM_CHORES_TOKEN
|
||||
}}\" -u https://git.dgnum.eu\n\n # Create a pull request if needed\n # i.e.
|
||||
no PR with the same title exists\n if [ -z $(tea pr ls -f='title,author'
|
||||
-o simple | grep \"$COMMIT_MESSAGE dgnum-chores\") ]; then\n tea pr create
|
||||
--description \"Automatic npins update\" --title \"$COMMIT_MESSAGE\" --head
|
||||
\"$GIT_UPDATE_BRANCH\"\n fi\nfi\n"
|
||||
signal-irc-bridge:
|
||||
runs-on: nix
|
||||
steps:
|
||||
|
|
|
@ -307,18 +307,6 @@
|
|||
"url": "https://releases.nixos.org/nixos/unstable/nixos-25.05beta750470.a3eaf5e8eca7/nixexprs.tar.xz",
|
||||
"hash": "10zdp7pgjqp2fwqshhdiraw8wfm437czzv0fqxicgn9d6akpgkqh"
|
||||
},
|
||||
"proxmox-nixos": {
|
||||
"type": "Git",
|
||||
"repository": {
|
||||
"type": "GitHub",
|
||||
"owner": "SaumonNet",
|
||||
"repo": "proxmox-nixos"
|
||||
},
|
||||
"branch": "main",
|
||||
"revision": "4ad21ba619d779b229e308b58066bafd65d5153d",
|
||||
"url": "https://github.com/SaumonNet/proxmox-nixos/archive/4ad21ba619d779b229e308b58066bafd65d5153d.tar.gz",
|
||||
"hash": "1h9an32xg8mg2f67h34b02zmdaffgvmbxp8h86wm04wnjdrzfxcj"
|
||||
},
|
||||
"signal-irc-bridge": {
|
||||
"type": "Git",
|
||||
"repository": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue