diff options
-rw-r--r-- | acid/Dockerfile | 2 | ||||
-rwxr-xr-x | acid/acid (renamed from acid/cychedelic) | 6 | ||||
-rwxr-xr-x | acid/acid-build (renamed from acid/cyche-build) | 4 | ||||
-rwxr-xr-x | acid/acid-remove (renamed from acid/cyche-remove) | 2 | ||||
-rwxr-xr-x | acid/acid-source (renamed from acid/cyche-source) | 2 |
5 files changed, 8 insertions, 8 deletions
diff --git a/acid/Dockerfile b/acid/Dockerfile index 1e27e63..7eecebe 100644 --- a/acid/Dockerfile +++ b/acid/Dockerfile @@ -10,4 +10,4 @@ RUN apk --no-cache add \ WORKDIR /app ENV PATH="${PATH}:/app" COPY . . -CMD ["cychedelic"] +CMD ["acid"] diff --git a/acid/cychedelic b/acid/acid index a73554a..b4c0e1b 100755 --- a/acid/cychedelic +++ b/acid/acid @@ -22,12 +22,12 @@ update() { for line in "${CYCHE_SERVICES[@]}"; do read -r -a arr <<< "$line" - hash=$(cyche-source ${arr[@]:0:3}) + hash=$(acid-source ${arr[@]:0:3}) res=$? if [ $res -ne 2 ]; then if [ $res -eq 1 ] || [ "$1" == "$forceopt" ]; then - cyche-build "${arr[0]}" "${arr[3]}" "$hash" $selfopt + acid-build "${arr[0]}" "${arr[3]}" "$hash" $selfopt sleep "$CYCHE_JOB_TIME" fi fi @@ -43,7 +43,7 @@ remove() { removed=$(printf '%s\n' "$next" "$next" "$prev" | sort | uniq -u) for name in $removed; do - cyche-remove "$name" + acid-remove "$name" sleep "$CYCHE_JOB_TIME" done } diff --git a/acid/cyche-build b/acid/acid-build index 6468276..fd5b69d 100755 --- a/acid/cyche-build +++ b/acid/acid-build @@ -1,6 +1,6 @@ #!/bin/bash -e -# cyche-build <name> <file> <hash> [--self] +# acid-build <name> <file> <hash> [--self] # # (Re)build and deploy the service <name> using the docker-compose configuration # in <file> (usually, docker-compose.yml). @@ -17,7 +17,7 @@ # interrupts the `compose up` process before it can start the replacements. # Normally, `docker compose down` is then not needed. # -# We take <hash> (from cyche-source) so we may commit it to the cache iff the +# We take <hash> (from acid-source) so we may commit it to the cache iff the # deployment is successful. # # This file exits early on any failure (non-zero). On a successful run in diff --git a/acid/cyche-remove b/acid/acid-remove index c988efe..6094a23 100755 --- a/acid/cyche-remove +++ b/acid/acid-remove @@ -1,6 +1,6 @@ #!/bin/bash -# cyche-remove <name> +# acid-remove <name> # # Stop the service <name>, which was previously managed by cychedelic, and # remove associated files. diff --git a/acid/cyche-source b/acid/acid-source index 7dca756..2d507d6 100755 --- a/acid/cyche-source +++ b/acid/acid-source @@ -1,6 +1,6 @@ #!/bin/bash -# cyche-source <name> <url> <ref-pattern> +# acid-source <name> <url> <ref-pattern> # # Check a git source for new updates. A local cache repository is cloned if # <name> doesn't exist. If updates are found, we attempt to checkout the newest |