Compare commits

...

9 Commits

Author SHA1 Message Date
3wordchant 1c820c70fb $another_installer_fix 2021-08-11 02:05:05 +02:00
3wordchant e92fa554d4 Properly fix abra upgrade 2021-08-11 01:54:48 +02:00
3wordchant 6ac14f55ca Bump version in installer 2021-08-11 01:48:06 +02:00
3wordchant 71820f7e0b jq -> $JQ 2021-08-11 01:44:32 +02:00
3wordchant 207728e1be Also install git 2021-08-10 00:39:05 +02:00
d1admin 36e470c8e7 Front-line that deprecation notice 2021-08-02 11:32:52 +02:00
d1admin 0096e0d30b Add deprecation notice
See coop-cloud/organising#107.
2021-08-02 11:29:33 +02:00
d1admin a636d2f17c New patch release 2021-07-30 19:33:29 +02:00
3wordchant 179ed64e0f Merge pull request 'Update abra git repo url' (#207) from nicksellen/abra:main into main
Reviewed-on: coop-cloud/abra#207
2021-07-30 17:01:07 +00:00
4 changed files with 18 additions and 5 deletions
+3
View File
@@ -9,9 +9,12 @@
# abra x.x.x (UNRELEASED)
# abra 10.0.1 (2021-07-30)
- New `recipe .. lint` command ([#202](https://git.autonomic.zone/coop-cloud/abra/issues/202))
- `abra-capsul` plugin ([e85bcc4](https://git.autonomic.zone/coop-cloud/abra/commit/e85bcc4))
- Fix `run <service> <cmd>` invocations ([#204](https://git.autonomic.zone/coop-cloud/abra/issues/204))
- Point installer at our [half-migrated new Gitea instance](https://git.coopcloud.tech) ([#207](https://git.coopcloud.tech/coop-cloud/abra/pulls/207) thanks @nicksellen!)
# abra 10.0.0 (2021-07-06)
+8
View File
@@ -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 🔥 🔥 🔥
---
[![Build Status](https://drone.autonomic.zone/api/badges/coop-cloud/abra/status.svg)](https://drone.autonomic.zone/coop-cloud/abra)
> https://coopcloud.tech
+3 -3
View File
@@ -5,7 +5,7 @@
GIT_URL="https://git.autonomic.zone/coop-cloud/"
ABRA_APPS_URL="https://apps.coopcloud.tech"
ABRA_DIR="${ABRA_DIR:-$HOME/.abra}"
ABRA_VERSION="10.0.0"
ABRA_VERSION="10.0.1"
ABRA_BACKUP_DIR="${ABRA_BACKUP_DIR:-$ABRA_DIR/backups}"
ABRA_VENDOR_DIR="$ABRA_DIR/vendor"
ABRA_APPS_JSON="${ABRA_DIR}/apps.json"
@@ -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
}
+4 -2
View File
@@ -2,7 +2,7 @@
# shellcheck disable=SC2154,SC2034
ABRA_VERSION="10.0.0"
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"