Fix update script
Some checks failed
ci/woodpecker/push/update Pipeline was successful
ci/woodpecker/pr/update Pipeline was successful
Hydra emoji-volpeon-bunhd-flip Hydra build #13140 of nix-packages:aarch64-linux-master-pr6:emoji-volpeon-bunhd-flip
Hydra woodpecker-frontend Hydra build #13141 of nix-packages:aarch64-linux-master-pr6:woodpecker-frontend
Hydra fairfax-hd Hydra build #13142 of nix-packages:aarch64-linux-master-pr6:fairfax-hd
Hydra emoji-volpeon-fox Hydra build #13143 of nix-packages:aarch64-linux-master-pr6:emoji-volpeon-fox
Hydra emoji-lotte Hydra build #13144 of nix-packages:aarch64-linux-master-pr6:emoji-lotte
Hydra plover-plugin-rkb1-hid Hydra build #13145 of nix-packages:aarch64-linux-master-pr6:plover-plugin-rkb1-hid
Hydra attic Hydra build #13146 of nix-packages:aarch64-linux-master-pr6:attic
Hydra emoji-caro Hydra build #13147 of nix-packages:aarch64-linux-master-pr6:emoji-caro
Hydra emoji-volpeon-gphn Hydra build #13148 of nix-packages:aarch64-linux-master-pr6:emoji-volpeon-gphn
Hydra woodpecker-agent Hydra build #13149 of nix-packages:aarch64-linux-master-pr6:woodpecker-agent
Hydra python-rtf-tokenize Hydra build #13150 of nix-packages:aarch64-linux-master-pr6:python-rtf-tokenize
Hydra plover-plugins-manager Hydra build #13151 of nix-packages:aarch64-linux-master-pr6:plover-plugins-manager
Hydra alco-sans Hydra build #13152 of nix-packages:aarch64-linux-master-pr6:alco-sans
Hydra python-plover-stroke Hydra build #13153 of nix-packages:aarch64-linux-master-pr6:python-plover-stroke
Hydra attic-server Hydra build #13154 of nix-packages:aarch64-linux-master-pr6:attic-server
Hydra plover-plugin-tapey-tape Hydra build #13155 of nix-packages:aarch64-linux-master-pr6:plover-plugin-tapey-tape
Hydra emoji-volpeon-bunhd Hydra build #13156 of nix-packages:aarch64-linux-master-pr6:emoji-volpeon-bunhd
Hydra attic-client Hydra build #13157 of nix-packages:aarch64-linux-master-pr6:attic-client
Hydra emoji-volpeon-raccoon Hydra build #13158 of nix-packages:aarch64-linux-master-pr6:emoji-volpeon-raccoon
Hydra kreative-square Hydra build #13159 of nix-packages:aarch64-linux-master-pr6:kreative-square
Hydra nasin-nanpa Hydra build #13160 of nix-packages:aarch64-linux-master-pr6:nasin-nanpa
Hydra akkoma Hydra build #13161 of nix-packages:aarch64-linux-master-pr6:akkoma
Hydra python-simplefuzzyset Hydra build #13162 of nix-packages:aarch64-linux-master-pr6:python-simplefuzzyset
Hydra python-instagram Hydra build #13163 of nix-packages:aarch64-linux-master-pr6:python-instagram
Hydra woodpecker-cli Hydra build #13164 of nix-packages:aarch64-linux-master-pr6:woodpecker-cli
Hydra mautrix-discord Hydra build #13165 of nix-packages:aarch64-linux-master-pr6:mautrix-discord
Hydra emoji-volpeon-blobfox Hydra build #13166 of nix-packages:aarch64-linux-master-pr6:emoji-volpeon-blobfox
Hydra miifox-net Hydra build #13167 of nix-packages:aarch64-linux-master-pr6:miifox-net
Hydra emoji-volpeon-vlpn Hydra build #13168 of nix-packages:aarch64-linux-master-pr6:emoji-volpeon-vlpn
Hydra woodpecker-server Hydra build #13169 of nix-packages:aarch64-linux-master-pr6:woodpecker-server
Hydra python-tulir-telethon Hydra build #13170 of nix-packages:aarch64-linux-master-pr6:python-tulir-telethon
Hydra plover-plugin-yaml-dictionary Hydra build #13171 of nix-packages:aarch64-linux-master-pr6:plover-plugin-yaml-dictionary
Hydra plover-plugin-emoji Hydra build #13172 of nix-packages:aarch64-linux-master-pr6:plover-plugin-emoji
Hydra mautrix-whatsapp Hydra build #13173 of nix-packages:aarch64-linux-master-pr6:mautrix-whatsapp
Hydra emoji-volpeon-drgn Hydra build #13174 of nix-packages:aarch64-linux-master-pr6:emoji-volpeon-drgn
Hydra plover-plugin-machine-hid Hydra build #13175 of nix-packages:aarch64-linux-master-pr6:plover-plugin-machine-hid
Hydra pleroma-fe Hydra build #13176 of nix-packages:aarch64-linux-master-pr6:pleroma-fe
Hydra emoji-volpeon-blobfox-flip Hydra build #13177 of nix-packages:aarch64-linux-master-pr6:emoji-volpeon-blobfox-flip
Hydra fairfax Hydra build #13178 of nix-packages:aarch64-linux-master-pr6:fairfax
Hydra plover-dict-didoesdigital Hydra build #13179 of nix-packages:aarch64-linux-master-pr6:plover-dict-didoesdigital
Hydra mautrix-telegram Hydra build #13180 of nix-packages:aarch64-linux-master-pr6:mautrix-telegram
Hydra rpi4Kernel Hydra build #13181 of nix-packages:aarch64-linux-master-pr6:rpi4Kernel
Hydra element-web Hydra build #13182 of nix-packages:aarch64-linux-master-pr6:element-web
Hydra plover Hydra build #13183 of nix-packages:aarch64-linux-master-pr6:plover
Hydra lotte-art Hydra build #13184 of nix-packages:aarch64-linux-master-pr6:lotte-art
Hydra mautrix-signal Hydra build #13185 of nix-packages:aarch64-linux-master-pr6:mautrix-signal
Hydra matrix-media-repo Hydra build #13186 of nix-packages:aarch64-linux-master-pr6:matrix-media-repo
Hydra constructium Hydra build #13187 of nix-packages:aarch64-linux-master-pr6:constructium
Hydra admin-fe Hydra build #13188 of nix-packages:aarch64-linux-master-pr6:admin-fe
Hydra mautrix-cleanup Hydra build #13189 of nix-packages:aarch64-linux-master-pr6:mautrix-cleanup
Hydra old-homepage Hydra build #13190 of nix-packages:aarch64-linux-master-pr6:old-homepage
Hydra python-mautrix Hydra build #13191 of nix-packages:aarch64-linux-master-pr6:python-mautrix
Hydra papermc Hydra build #13192 of nix-packages:aarch64-linux-master-pr6:papermc

This commit is contained in:
Charlotte 🦝 Delenk 2023-04-10 09:17:29 +01:00
parent 3a48a69365
commit 0a3e2e1e67
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -1,4 +1,14 @@
pipeline: pipeline:
clone2:
image: nixery.dev/shell/gitfull
commands:
- cd ..
- rm -rf $CI_REPO_NAME
- git clone https://git.chir.rs/$CI_REPO_OWNER/$CI_REPO_NAME
- cd $CI_REPO_NAME
when:
- event: cron
- event: manual
flake-update: flake-update:
image: nixpkgs/nix-unstable image: nixpkgs/nix-unstable
commands: commands:
@ -14,7 +24,7 @@ pipeline:
builders-use-substitutes = true builders-use-substitutes = true
require-sigs = true require-sigs = true
sandbox = false sandbox = false
substituters = https://attic.chir.rs/chir-rs/ https://cache.nixos.org/ substituters = https://hydra.int.chir.rs/ https://cache.nixos.org/
system-features = big-parallel benchmark ca-derivations system-features = big-parallel benchmark ca-derivations
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nixcache:8KKuGz95Pk4UJ5W/Ni+pN+v+LDTkMMFV4yrGmAYgkDg= hydra.nixos.org-1:CNHJZBh9K4tP3EKF6FkkgeVYsS3ohTl+oS0Qa8bezVs= chir-rs:AnwyFacopHSkprD6aXY4/R3J9JYzTbV2rosJCBPaB28= trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nixcache:8KKuGz95Pk4UJ5W/Ni+pN+v+LDTkMMFV4yrGmAYgkDg= hydra.nixos.org-1:CNHJZBh9K4tP3EKF6FkkgeVYsS3ohTl+oS0Qa8bezVs= chir-rs:AnwyFacopHSkprD6aXY4/R3J9JYzTbV2rosJCBPaB28=
trusted-substituters = trusted-substituters =
@ -40,7 +50,7 @@ pipeline:
builders-use-substitutes = true builders-use-substitutes = true
require-sigs = true require-sigs = true
sandbox = false sandbox = false
substituters = https://attic.chir.rs/chir-rs/ https://cache.nixos.org/ substituters = https://hydra.int.chir.rs/ https://cache.nixos.org/
system-features = big-parallel benchmark ca-derivations system-features = big-parallel benchmark ca-derivations
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nixcache:8KKuGz95Pk4UJ5W/Ni+pN+v+LDTkMMFV4yrGmAYgkDg= hydra.nixos.org-1:CNHJZBh9K4tP3EKF6FkkgeVYsS3ohTl+oS0Qa8bezVs= chir-rs:AnwyFacopHSkprD6aXY4/R3J9JYzTbV2rosJCBPaB28= trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nixcache:8KKuGz95Pk4UJ5W/Ni+pN+v+LDTkMMFV4yrGmAYgkDg= hydra.nixos.org-1:CNHJZBh9K4tP3EKF6FkkgeVYsS3ohTl+oS0Qa8bezVs= chir-rs:AnwyFacopHSkprD6aXY4/R3J9JYzTbV2rosJCBPaB28=
trusted-substituters = trusted-substituters =
@ -68,7 +78,7 @@ pipeline:
- chmod 600 ~/.ssh/id_ed25519 - chmod 600 ~/.ssh/id_ed25519
- echo "git.chir.rs ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICQ77jA9S5qXDFGPLZRsC++AtxiXXeF8gVbkLlglx0GQ" > ~/.ssh/known_hosts - echo "git.chir.rs ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICQ77jA9S5qXDFGPLZRsC++AtxiXXeF8gVbkLlglx0GQ" > ~/.ssh/known_hosts
- echo "git.chir.rs ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDY0pZzNTAqaVqqfC31gYFixFs5KySv0UqvlDEAzEXJMB/pBWkE5GAd5Ik1NxD4QiAVWc2UARdmJEBbYf8mk5JiAv6fjsodJdJVRau4Ax7FtIfbxdFyzBgFery/KUnNIr6cmAWU2Af8JhzrnpEbhe5U3LftYnkdE1lI+iVqaQRARp0qikdzoAl3uMUhbdTxp1/6rtfN6bP2XZCsUx3t3W5ZG1QTQz8l7nrbXZX1TT3pZ2vcUANcMtOxEAwO6lbL210GX63C8XEoE7+4lLxRrSiaq3SkVlG07VspozKEtrrcsqCRNLebiaapmNWVoEq9Wd9VGAEjja5efyU6/HUlRogAOo1WP73UwoQLv5LTFH+ECoHhKS14xfPeXeVG8dbYyh5+CnmiVe43dH1qZw+ceYuYel31f47cAgScbxFvNkct0spK9m9mivnoUmYcxwTc+VbFbmnJvSuZw3a+OEYn9biitP/tTkYFiLZVdPZTxDkvd1oOyuVH9d4RMXbVgNS92/lr2iKFZkyhWMJ61hFMc2tupwmkp5Us5ce42XA0zC/aVY3vYoih/c5Ib0eZF1AEJdB6Bt5dWqITVsB3mip3Jn/mqVBIPTGXT6+FnGSEuL68Dj2yKBD7kj8YO/1SWpkVMy+bfoLXY/usgcaLCxpUu8dDrdrcKExLigCVbi3rdRmg7w==" >> ~/.ssh/known_hosts - echo "git.chir.rs ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDY0pZzNTAqaVqqfC31gYFixFs5KySv0UqvlDEAzEXJMB/pBWkE5GAd5Ik1NxD4QiAVWc2UARdmJEBbYf8mk5JiAv6fjsodJdJVRau4Ax7FtIfbxdFyzBgFery/KUnNIr6cmAWU2Af8JhzrnpEbhe5U3LftYnkdE1lI+iVqaQRARp0qikdzoAl3uMUhbdTxp1/6rtfN6bP2XZCsUx3t3W5ZG1QTQz8l7nrbXZX1TT3pZ2vcUANcMtOxEAwO6lbL210GX63C8XEoE7+4lLxRrSiaq3SkVlG07VspozKEtrrcsqCRNLebiaapmNWVoEq9Wd9VGAEjja5efyU6/HUlRogAOo1WP73UwoQLv5LTFH+ECoHhKS14xfPeXeVG8dbYyh5+CnmiVe43dH1qZw+ceYuYel31f47cAgScbxFvNkct0spK9m9mivnoUmYcxwTc+VbFbmnJvSuZw3a+OEYn9biitP/tTkYFiLZVdPZTxDkvd1oOyuVH9d4RMXbVgNS92/lr2iKFZkyhWMJ61hFMc2tupwmkp5Us5ce42XA0zC/aVY3vYoih/c5Ib0eZF1AEJdB6Bt5dWqITVsB3mip3Jn/mqVBIPTGXT6+FnGSEuL68Dj2yKBD7kj8YO/1SWpkVMy+bfoLXY/usgcaLCxpUu8dDrdrcKExLigCVbi3rdRmg7w==" >> ~/.ssh/known_hosts
- git remote set-url origin gitea@git.chir.rs:darkkirb/nix-packages.git - git remote set-url origin gitea@git.chir.rs:$CI_REPO_OWNER/$CI_REPO_NAME.git
- git config --global 'user.email' 'gitea-bot@chir.rs' - git config --global 'user.email' 'gitea-bot@chir.rs'
- git config --global 'user.name' 'Gitea Bot' - git config --global 'user.name' 'Gitea Bot'
- echo "$GPG_KEY" | gpg --import - echo "$GPG_KEY" | gpg --import
@ -87,10 +97,9 @@ pipeline:
image: nixery.dev/shell/curl image: nixery.dev/shell/curl
commands: commands:
- | - |
echo '{ "assignee": "darkkirb", "base": "main", "head": "update-flake, "title": "Update flake", "body": "" }' | curl -X POST -H "Authorization: token $GITEA_TOKEN" -H "Content-Type: application/json" --data-binary @- 'https://git.chir.rs/api/v1/repos/darkkirb/nix-packages/pulls' echo '{ "assignee": "darkkirb", "base": "main", "head": "update-flake", "title": "Update flake", "body": "" }' | curl -X POST -H "Authorization: token $GITEA_TOKEN" -H "Content-Type: application/json" --data-binary @- "https://git.chir.rs/api/v1/repos/$CI_REPO_OWNER/$CI_REPO_NAME/pulls"
secrets: secrets:
- gitea_token - gitea_token
when: when:
- event: cron - event: cron
- event: manual - event: manual
branches: main