forked from clan/clan-infra
Merge pull request 'Qubasa-main' (#197) from Qubasa-main into main
This commit is contained in:
commit
28c5fb0459
@ -7,4 +7,5 @@
|
|||||||
admin = true;
|
admin = true;
|
||||||
};
|
};
|
||||||
clan.matrix-synapse.users.monitoring = { };
|
clan.matrix-synapse.users.monitoring = { };
|
||||||
|
clan.matrix-synapse.users.clan-bot = { };
|
||||||
}
|
}
|
||||||
|
@ -8,5 +8,5 @@ fi
|
|||||||
GITEA_TOKEN="${GITEA_TOKEN:-"$(cat "$GITEA_TOKEN_FILE")"}"
|
GITEA_TOKEN="${GITEA_TOKEN:-"$(cat "$GITEA_TOKEN_FILE")"}"
|
||||||
|
|
||||||
tea login add \
|
tea login add \
|
||||||
--token $GITEA_TOKEN \
|
--token "$GITEA_TOKEN" \
|
||||||
--url $GITEA_URL
|
--url "$GITEA_URL"
|
||||||
|
@ -5,8 +5,10 @@ set -euo pipefail
|
|||||||
export KEEP_VARS="GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL GIT_COMMITTER_NAME GIT_COMMITTER_EMAIL GITEA_URL GITEA_USER PR_TITLE REMOTE_BRANCH REPO_DIR${KEEP_VARS:+ $KEEP_VARS}"
|
export KEEP_VARS="GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL GIT_COMMITTER_NAME GIT_COMMITTER_EMAIL GITEA_URL GITEA_USER PR_TITLE REMOTE_BRANCH REPO_DIR${KEEP_VARS:+ $KEEP_VARS}"
|
||||||
|
|
||||||
# configure variables for actions
|
# configure variables for actions
|
||||||
export PR_TITLE="Automatic flake update - $(date --iso-8601=minutes)"
|
PR_TITLE="Automatic flake update - $(date --iso-8601=minutes)"
|
||||||
export REMOTE_BRANCH="flake-update-$(date --iso-8601)"
|
export PR_TITLE
|
||||||
|
REMOTE_BRANCH="flake-update-$(date --iso-8601)"
|
||||||
|
export REMOTE_BRANCH
|
||||||
export REPO_DIR=$TMPDIR/repo
|
export REPO_DIR=$TMPDIR/repo
|
||||||
export GIT_AUTHOR_NAME="Clan Merge Bot"
|
export GIT_AUTHOR_NAME="Clan Merge Bot"
|
||||||
export GIT_AUTHOR_EMAIL="clan-bot@git.clan.lol"
|
export GIT_AUTHOR_EMAIL="clan-bot@git.clan.lol"
|
||||||
|
1
sops/secrets/web01-matrix-password-clan-bot/machines/web01
Symbolic link
1
sops/secrets/web01-matrix-password-clan-bot/machines/web01
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../machines/web01
|
24
sops/secrets/web01-matrix-password-clan-bot/secret
Normal file
24
sops/secrets/web01-matrix-password-clan-bot/secret
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{
|
||||||
|
"data": "ENC[AES256_GCM,data:S8Y5p8O9KmheK4fRzoSF5/LqanJ0CxkuMEIqPFfhkFbCaXbjRw==,iv:xVlBzGfAqLDk01UI7oXnR7ukjnKMIn9/avxI/KkLWtg=,tag:sn4N8dXipo63YLT9I40s3g==,type:str]",
|
||||||
|
"sops": {
|
||||||
|
"kms": null,
|
||||||
|
"gcp_kms": null,
|
||||||
|
"azure_kv": null,
|
||||||
|
"hc_vault": null,
|
||||||
|
"age": [
|
||||||
|
{
|
||||||
|
"recipient": "age17xuvz0fqtynzdmf8rfh4g3e46tx8w3mc6zgytrmuj5v9dhnldgxs7ue7ct",
|
||||||
|
"enc": "-----BEGIN AGE ENCRYPTED FILE-----\nYWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBHRmxjY0FWTFBpc3BLK1JB\nMGhrVFJzTHVsNGlzR1FyS0JsSzQxMnpSRWtRCkU3bEhidFd0RTVZTzVXemJCTjhV\nSk4ydHJscUd6cExyK3ZmNnowMkR2OVkKLS0tIFBKZnFvaGx1cStNWU9leUk4Ymd3\nM0FFN1ZRYmZJUU8wQ1lKVlI5bzN1TVUKSTK4MflBBEq4a8RnBMEtKGzrKxjZi9wv\nguglBCGX6tvWVkzGmZWWIT9oSimb4pEPlJKH553WBf4aiF5n+kYwsA==\n-----END AGE ENCRYPTED FILE-----\n"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"recipient": "age1zwte859d9nvg6wy5dugjkf38dqe8w8qkt2as7xcc5pw3285833xs797uan",
|
||||||
|
"enc": "-----BEGIN AGE ENCRYPTED FILE-----\nYWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBLMEpEL1dkM214NmRzdVpw\naUhxSms1ZlZOS0dhdTlVbmkvdFN3MCtFZ3lvCkRYeTFJUHErSFFyK2YvTHdwR3h6\nRVZqNVdkWUh0R09VRDNIVnRNa2FhdFkKLS0tIGxzb3BaQy9vMTZhdjVlVUQ0SEhP\nMHRTWHgxNE1HSVhXM091RVVJUjVmRHMKZD7U1cUvHzvB/rdXRPUAjakxwqrpthUB\nZkLNaY7ws5KNF8dwU72vElPPdz2CWDdIz563u3XV1ZioTkuepgdZyA==\n-----END AGE ENCRYPTED FILE-----\n"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"lastmodified": "2024-06-26T12:20:42Z",
|
||||||
|
"mac": "ENC[AES256_GCM,data:SdZInMlmS/fDQDpxuZUTjWwhjJqzPSJ7UN+fY5vsTdXJ+BRLKxZUpMlahXt85PZukfxE2XxjsnDV+tft80qxSv66HzwSnxsecfrxR9OMwGlG4SEdO0NJe2HFWwcSsXJUlGdkefVhUS5HL97Jr/NN69QTX1Ay/NoOoEdW6R6hb+w=,iv:uc9nlVAbScdxOtvERSiQ0SNfSJ6WK95B37MuL30FY2A=,tag:Swkkc/dQflO7MuTZXvm99w==,type:str]",
|
||||||
|
"pgp": null,
|
||||||
|
"unencrypted_suffix": "_unencrypted",
|
||||||
|
"version": "3.8.1"
|
||||||
|
}
|
||||||
|
}
|
1
sops/secrets/web01-matrix-password-clan-bot/users/qubasa
Symbolic link
1
sops/secrets/web01-matrix-password-clan-bot/users/qubasa
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../../../users/qubasa
|
@ -1,6 +1,8 @@
|
|||||||
#!/usr/bin/env nix-shell
|
#!/usr/bin/env nix-shell
|
||||||
#!nix-shell -i bash -p coreutils sops openssh
|
#!nix-shell -i bash -p coreutils sops openssh
|
||||||
|
|
||||||
|
# shellcheck disable=SC1008,SC1128
|
||||||
|
|
||||||
set -euox pipefail
|
set -euox pipefail
|
||||||
|
|
||||||
HOST="clan.lol"
|
HOST="clan.lol"
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
#!/usr/bin/env nix-shell
|
#!/usr/bin/env nix-shell
|
||||||
#!nix-shell -i bash -p nix jq bash rsync
|
#!nix-shell -i bash -p nix jq bash rsync
|
||||||
|
|
||||||
|
# shellcheck disable=SC1008,SC1128
|
||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
clan machines update web01
|
clan machines update web01
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/usr/bin/env nix-shell
|
#!/usr/bin/env nix-shell
|
||||||
#!nix-shell -i bash -p coreutils sops openssh nix
|
#!nix-shell -i bash -p coreutils sops openssh nix
|
||||||
|
|
||||||
|
# shellcheck disable=SC1008,SC1128
|
||||||
set -euox pipefail
|
set -euox pipefail
|
||||||
|
|
||||||
if [[ -z "${HOST:-}" ]]; then
|
if [[ -z "${HOST:-}" ]]; then
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
# shellcheck disable=SC1091
|
||||||
|
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
installNix() {
|
installNix() {
|
||||||
|
Loading…
Reference in New Issue
Block a user