Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed deployment of consumer pods #9

Merged
merged 1 commit into from
Feb 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@
2. Run `composer update shopsys/deployment`
3. Check files in mentioned pull requests and if you have any of them extended in your project, apply changes manually

## Upgrade from v2.1.1 to v2.1.2

- update your `deploy-project.sh` to properly deploy consumer manifests ([#9](https://github.com/shopsys/deployment/pull/9/files))

## Upgrade from v2.1.0 to v2.1.1

- check your custom `orchestration/kubernetes/kustomize/migrate-application/first-deploy/kustomization.yaml` file and update accordingly to the https://github.com/shopsys/deployment/commit/868bcb19e703170a15384504c5f1a2477be77c33

## Upgrade from v2.0.1 to v2.1.0

- clear Redis cache only once instead of at every container start ([#7](https://github.com/shopsys/deployment/pull/7/files))
Expand Down
2 changes: 1 addition & 1 deletion deploy/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function remove_dist() {
}

function create_consumer_manifests() {
local DEFAULT_CONSUMERS="$1"
local -a DEFAULT_CONSUMERS=("$@")

TEMPLATE_PATH="${CONFIGURATION_TARGET_PATH}/manifest-templates/consumer.template.yaml"

Expand Down
2 changes: 1 addition & 1 deletion docs/deploy-project.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function merge() {

source "${BASE_PATH}/vendor/shopsys/deployment/deploy/functions.sh"
merge_configuration
create_consumer_manifests $DEFAULT_CONSUMERS
create_consumer_manifests "${DEFAULT_CONSUMERS[@]}"
}

case "$1" in
Expand Down