Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Script: Zitadel #2141

Merged
merged 31 commits into from
Feb 10, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
80eb4ae
Create zitadel-install.sh
dave-yap Feb 7, 2025
d84ae0b
Create zitadel.json
dave-yap Feb 7, 2025
e07d54a
Create zitadel.sh
dave-yap Feb 7, 2025
3875f1c
Update zitadel.sh
dave-yap Feb 7, 2025
43d1337
Update zitadel.json
dave-yap Feb 7, 2025
568f6de
Update zitadel.sh
dave-yap Feb 7, 2025
603127f
Update zitadel.sh
dave-yap Feb 7, 2025
523a243
Update zitadel.sh
dave-yap Feb 7, 2025
ac794b9
Update zitadel.sh
dave-yap Feb 7, 2025
37b60fe
Update zitadel.sh
dave-yap Feb 7, 2025
c2752de
Update zitadel-install.sh
dave-yap Feb 7, 2025
42307b7
Update zitadel-install.sh
dave-yap Feb 7, 2025
bcb5b9f
Update zitadel.sh
dave-yap Feb 7, 2025
c6bd4e8
Update zitadel.json
dave-yap Feb 7, 2025
6d05829
Use declared variables in config files
dave-yap Feb 7, 2025
167bcb9
Merge branch 'community-scripts:main' into main
dave-yap Feb 8, 2025
f8ebda4
Remove other architectures
dave-yap Feb 8, 2025
25b6891
Update to fit changes requested
dave-yap Feb 8, 2025
f5ba8e9
Merge branch 'community-scripts:main' into main
dave-yap Feb 9, 2025
c315032
Update zitadel.sh
dave-yap Feb 9, 2025
2b713a7
Update zitadel-install.sh
dave-yap Feb 9, 2025
31d1931
Update zitadel-install.sh
dave-yap Feb 9, 2025
b67bb83
Made changes to fit suggestions
dave-yap Feb 10, 2025
6422100
Update zitadel-install.sh
dave-yap Feb 10, 2025
46059d1
Update zitadel-install.sh
dave-yap Feb 10, 2025
5e639f6
Merge branch 'main' of https://github.com/dave-yap/ProxmoxVE
dave-yap Feb 10, 2025
91b36b2
Update path for version.txt
dave-yap Feb 10, 2025
f44461f
Merge branch 'community-scripts:main' into main
dave-yap Feb 10, 2025
5c64ace
Set update part default to our project defaults
MickLesk Feb 10, 2025
736845d
Update zitadel.sh, Remove v befor ${RELEASE}
michelroegl-brunner Feb 10, 2025
5c5f39a
Update zitadel-install.sh
michelroegl-brunner Feb 10, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove other architectures
  • Loading branch information
dave-yap committed Feb 8, 2025
commit f8ebda48521cade133756462e8b48d94437989a8
12 changes: 1 addition & 11 deletions ct/zitadel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,7 @@ function update_script() {
exit
fi
RELEASE=$(curl -si https://github.com/zitadel/zitadel/releases/latest | grep location: | cut -d '/' -f 8 | tr -d '\r') &>/dev/null
ARCH=$(uname -m)
case $ARCH in
armv5*) ARCH="armv5";;
armv6*) ARCH="armv6";;
armv7*) ARCH="arm";;
aarch64) ARCH="arm64";;
x86) ARCH="386";;
x86_64) ARCH="amd64";;
i686) ARCH="386";;
i386) ARCH="386";;
esac
ARCH=amd64
if [[ "${RELEASE}" != "$(cat /opt/zitadel_version.txt | grep -oP '\d+\.\d+\.\d+')" ]] || [[ ! -f /opt/zitadel_version.txt ]]; then
msg_info "Updating ${APP} (Patience)"
wget -qc https://github.com/zitadel/zitadel/releases/download/$LATEST/zitadel-linux-$ARCH.tar.gz -O - | tar -xz &>/dev/null
Expand Down
12 changes: 1 addition & 11 deletions install/zitadel-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,7 @@ msg_ok "Installed PostgreSQL"

msg_info "Installing Zitadel"
RELEASE=$(curl -si https://github.com/zitadel/zitadel/releases/latest | grep location: | cut -d '/' -f 8 | tr -d '\r') &>/dev/null
ARCH=$(uname -m)
case $ARCH in
armv5*) ARCH="armv5";;
armv6*) ARCH="armv6";;
armv7*) ARCH="arm";;
aarch64) ARCH="arm64";;
x86) ARCH="386";;
x86_64) ARCH="amd64";;
i686) ARCH="386";;
i386) ARCH="386";;
esac
ARCH=amd64
wget -q -c https://github.com/zitadel/zitadel/releases/download/$RELEASE/zitadel-linux-$ARCH.tar.gz -O - | tar -xz &>/dev/null
mv zitadel-linux-$ARCH/zitadel /usr/local/bin
echo -e "$(zitadel -v | grep -oP '\d+\.\d+\.\d+')" > /opt/zitadel_version.txt
Expand Down