Skip to content

Commit

Permalink
fixed creating consumers on the first deploy (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
grossmannmartin authored Aug 8, 2024
1 parent 3961501 commit 5c7f133
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
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 v3.2.0 to v3.2.1

- consumer manifests are created properly for the first deploy ([#20](https://github.com/shopsys/deployment/pull/20))

## Upgrade from v3.1.0 to v3.2.0

- upgraded PHP-FPM and Nginx configuration ([#19](https://github.com/shopsys/deployment/pull/19))
Expand Down
2 changes: 2 additions & 0 deletions deploy/functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,7 @@ function create_consumer_manifests() {
sed -i "s|{{REPLICAS_COUNT}}|${REPLICAS_COUNT}|g" "${CONSUMER_MANIFEST_PATH}"

sed -i "/resources:/a\ - ../../../deployments/consumer-${NAME}.yaml" "${CONFIGURATION_TARGET_PATH}/kustomize/migrate-application/continuous-deploy/kustomization.yaml"
sed -i "/resources:/a\ - ../../../deployments/consumer-${NAME}.yaml" "${CONFIGURATION_TARGET_PATH}/kustomize/migrate-application/first-deploy/kustomization.yaml"
sed -i "/resources:/a\ - ../../../deployments/consumer-${NAME}.yaml" "${CONFIGURATION_TARGET_PATH}/kustomize/migrate-application/first-deploy-with-demo-data/kustomization.yaml"
done
}

0 comments on commit 5c7f133

Please sign in to comment.