forked from toolshed/abra
Compare commits
7 Commits
Author | SHA1 | Date | |
---|---|---|---|
1c820c70fb | |||
e92fa554d4 | |||
6ac14f55ca | |||
71820f7e0b | |||
207728e1be | |||
36e470c8e7 | |||
0096e0d30b |
@ -1,5 +1,13 @@
|
||||
# abra
|
||||
|
||||
## 🔥 🔥 🔥 D E P R E C A T E D 🔥 🔥 🔥
|
||||
|
||||
[`abra`](https://git.coopcloud.tech/coop-cloud/abra) served us well but we're porting it to [Golang](https://golang.org) over in [`go-abra`](https://git.coopcloud.tech/coop-cloud/go-abra). To learn more about the reasons for that, see [this blog post](https://coopcloud.tech/blog/this-month-in-coop-cloud-july/). This means this repository and tool are officially deprecated as of August 1rst 2021. We will still provide bug security fixes but no new features will be developed in `abra`. Feel free to go on using it and reporting issues against this issue tracker. Thanks for all the good times Bash.
|
||||
|
||||
## 🔥 🔥 🔥 D E P R E C A T E D 🔥 🔥 🔥
|
||||
|
||||
---
|
||||
|
||||
[](https://drone.autonomic.zone/coop-cloud/abra)
|
||||
|
||||
> https://coopcloud.tech
|
||||
|
4
abra
4
abra
@ -837,7 +837,7 @@ ensure_stack_deployed() {
|
||||
for service in $(docker ps -f "name=$STACK_NAME" -q); do
|
||||
debug "Polling $service for deployment status"
|
||||
|
||||
healthcheck=$(docker inspect --format "{{ json .State }}" "$service" | jq "try(.Health.Status // \"missing\")")
|
||||
healthcheck=$(docker inspect --format "{{ json .State }}" "$service" | $JQ "try(.Health.Status // \"missing\")")
|
||||
name=$(docker inspect --format '{{ index .Config.Labels "com.docker.swarm.service.name" }}' "$service")
|
||||
|
||||
if [[ ${MISSING[*]} =~ ${name} ]] || [[ ${HEALTHY[*]} =~ ${name} ]]; then
|
||||
@ -2655,7 +2655,7 @@ sub_upgrade() {
|
||||
if [[ "$abra___dev" == "true" ]]; then
|
||||
curl https://install.abra.coopcloud.tech | bash -s -- --dev --no-deps
|
||||
else
|
||||
curl https://install.abra.coopcloud.tech | bash --no-deps
|
||||
curl https://install.abra.coopcloud.tech | bash -s -- --no-deps
|
||||
fi
|
||||
}
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
# shellcheck disable=SC2154,SC2034
|
||||
|
||||
ABRA_VERSION="10.0.1"
|
||||
ABRA_VERSION="10.0.3"
|
||||
GIT_URL="https://git.coopcloud.tech/coop-cloud/abra"
|
||||
ABRA_SRC="$GIT_URL/raw/tag/$ABRA_VERSION/abra"
|
||||
ABRA_DIR="${ABRA_DIR:-$HOME/.abra}"
|
||||
@ -161,7 +161,8 @@ function install_requirements {
|
||||
|
||||
sudo apt update && sudo apt install -y \
|
||||
passwdqc \
|
||||
pwgen
|
||||
pwgen \
|
||||
git
|
||||
|
||||
echo "Install Docker (https://docs.docker.com/engine/install/debian/)?"
|
||||
prompt_confirm
|
||||
@ -175,6 +176,7 @@ function install_requirements {
|
||||
|
||||
function install_abra_release {
|
||||
mkdir -p "$HOME/.local/bin"
|
||||
set -x
|
||||
curl "$ABRA_SRC" > "$HOME/.local/bin/abra"
|
||||
chmod +x "$HOME/.local/bin/abra"
|
||||
echo "abra installed to $HOME/.local/bin/abra"
|
||||
|
Reference in New Issue
Block a user