chore: add deployment scripts for infoalloggi and marcopedone environments
This commit is contained in:
parent
e3482e4b7c
commit
f65e822515
4 changed files with 40 additions and 18 deletions
13
build_infoalloggi.sh
Normal file
13
build_infoalloggi.sh
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
# Preset for staging environment
|
||||
export TAG="latest"
|
||||
export IMAGE_REGISTRY="ghcr.io"
|
||||
export OWNER="marcopedone"
|
||||
export USERNAME="marcopedone"
|
||||
export TOKEN="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"
|
||||
export ENV_FILE=".env.infoalloggi"
|
||||
export PREFIX="infoalloggi"
|
||||
|
||||
./build_and_push_ghcr.sh
|
||||
13
build_marcopedone.sh
Normal file
13
build_marcopedone.sh
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
# Preset for staging environment
|
||||
export TAG="latest"
|
||||
export IMAGE_REGISTRY="ghcr.io"
|
||||
export OWNER="marcopedone"
|
||||
export USERNAME="marcopedone"
|
||||
export TOKEN="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"
|
||||
export ENV_FILE=".env.marcopedone"
|
||||
export PREFIX="marcopedone"
|
||||
|
||||
./build_and_push_ghcr.sh
|
||||
|
|
@ -1,13 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
# Preset for staging environment
|
||||
export TAG="latest"
|
||||
export IMAGE_REGISTRY="ghcr.io"
|
||||
export OWNER="marcopedone"
|
||||
export USERNAME="marcopedone"
|
||||
export TOKEN="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"
|
||||
export ENV_FILE=".env.infoalloggi"
|
||||
export PREFIX="infoalloggi"
|
||||
curl -X 'POST' \
|
||||
'https://dock.infoalloggi.it/api/compose.deploy' \
|
||||
-H 'accept: application/json' \
|
||||
-H 'Content-Type: application/json' \
|
||||
-H 'x-api-key: iIKlaMNilGkzCIgGNmQbzxUfvrwAwFEXcDBVxzVbSLPghbqLiagXcvwJRfLZxxao' \
|
||||
-d '{"composeId": "7apez8FViLShEjsFxlRNY"}'
|
||||
|
||||
./build_and_push_ghcr.sh
|
||||
echo "Deployment triggered for infoalloggi.it"
|
||||
|
|
|
|||
|
|
@ -1,13 +1,11 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
# Preset for staging environment
|
||||
export TAG="latest"
|
||||
export IMAGE_REGISTRY="ghcr.io"
|
||||
export OWNER="marcopedone"
|
||||
export USERNAME="marcopedone"
|
||||
export TOKEN="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"
|
||||
export ENV_FILE=".env.marcopedone"
|
||||
export PREFIX="marcopedone"
|
||||
curl -X 'POST' \
|
||||
'https://dock.marcopedone.it/api/compose.deploy' \
|
||||
-H 'accept: application/json' \
|
||||
-H 'Content-Type: application/json' \
|
||||
-H 'x-api-key: gbiVIPaEQtkPywiAOIxiBtLrjKVuIqcnXXNMTzMXZoyTgJtgyLpHrlfBEqIcyEUM' \
|
||||
-d '{"composeId": "1Q1nPft6iaEDENfpYxq99"}'
|
||||
|
||||
./build_and_push_ghcr.sh
|
||||
echo "Deployment triggered for marcopedone.it"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue