Skip to content

Commit

Permalink
wip: Automate archive importation while deploying #81
Browse files Browse the repository at this point in the history
  • Loading branch information
Christophe Nouguier committed Sep 25, 2019
1 parent 82c5b58 commit 4c56181
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 1 addition & 2 deletions docs/guides/understanding-kargo.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,11 @@ A **service** is an application to be deployed over the Swarm cluster. **Kargo**
* [redis](https://redis.io/)

::: tip
Redis is required to enable Kano and Weacast to communicate in Cloud environments using [feathers-distributed](https://github.com/kalisio/feathers-distributed) under-the-hood.
**Redis** is required to enable Kano and Weacast to communicate in Cloud environments using [feathers-distributed](https://github.com/kalisio/feathers-distributed) under-the-hood.
:::

By default, most of the images of the services are pulled from the [Docker Hub](https://hub.docker.com/). Meanwhile **Kargo** provides a mean to build some of them to ensure better maintainability:

* GeoServer
* MapProxy
* MapServer
* maputnik
Expand Down
5 changes: 5 additions & 0 deletions kargo
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,11 @@ kargo_deploy()
SERVICES_TO_DEPLOY="$SERVICES_TO_DEPLOY -c deploy/$SERVICE.yml"
local SERVICE_NAME=${SERVICE//-/_} # replace '-' by '_'
SERVICE_NAME=${SERVICE_NAME^^} # change to uppercase
local SERVICE_ARCHIVE_NAME=${SERVICE_NAME}_ARCHIVE
local SERVICE_ARCHIVE=${!SERVICE_ARCHIVE_NAME}
if [ "$SERVICE_ARCHIVE" != "" ]; then
kargo_import $SERVICE
fi
local SERVICE_EXTENSION_NAME=${SERVICE_NAME}_EXTENSION
local SERVICE_EXTENSION=${!SERVICE_EXTENSION_NAME}
if [ "$SERVICE_EXTENSION" != "" ]; then
Expand Down

0 comments on commit 4c56181

Please sign in to comment.