summaryrefslogtreecommitdiffstats
path: root/acid
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2023-10-24 22:05:05 -0400
committerMalfurious <m@lfurio.us>2023-10-26 20:41:40 -0400
commitfe1abd055998e171b92d0e42df8063cab83a40ed (patch)
treef6c117db24b71a8cfbbe4cc5518b1cf5678f0ac4 /acid
parentf87fb62563b34e34505021ee3f25fe53cbc5beb1 (diff)
downloadcychedelic-fe1abd055998e171b92d0e42df8063cab83a40ed.tar.gz
cychedelic-fe1abd055998e171b92d0e42df8063cab83a40ed.zip
acid: Don't use 'cychedelic' in file names
As I add new components to the cychedelic system, it would be best to use more specific naming. 'cychedelic' is the name of the project, whereas 'acid' is the name of this program. Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to 'acid')
-rw-r--r--acid/Dockerfile2
-rwxr-xr-xacid/acid (renamed from acid/cychedelic)6
-rwxr-xr-xacid/acid-build (renamed from acid/cyche-build)4
-rwxr-xr-xacid/acid-remove (renamed from acid/cyche-remove)2
-rwxr-xr-xacid/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