Skip to content

Commit

Permalink
Ensure we copy plugins.yaml for AIO and Cloud Foundry (#4841)
Browse files Browse the repository at this point in the history
  • Loading branch information
nwmac authored Dec 17, 2020
1 parent 26f3286 commit 9345156
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deploy/Dockerfile.all-in-one
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ COPY --chown=jetstream:users --from=jetstream-builder /home/stratos/config.prope
# User Invite templates
COPY --chown=jetstream:users --from=jetstream-builder /home/stratos/src/jetstream/templates /srv/templates

# Plugins.yaml configuration
COPY --chown=jetstream:users --from=jetstream-builder /home/stratos/src/jetstream/plugins.yaml /srv/plugins.yaml

# Enable persistence features if canary build flag is set
RUN if [ "x$CANARY_BUILD" != "x" ] ; then printf "\nFORCE_ENABLE_PERSISTENCE_FEATURES=true\n" >> /srv/config.properties ; fi

Expand Down
3 changes: 3 additions & 0 deletions deploy/cloud-foundry/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ cp src/jetstream/jetstream .
# Copy the user invite templates
cp -R src/jetstream/templates ./templates

# Copy plugins.yaml
cp src/jetstream/plugins.yaml .

# Back-end serves static resources from ui folder not dist
mv dist ui

Expand Down

0 comments on commit 9345156

Please sign in to comment.