Skip to content

Commit

Permalink
Merge pull request #789 from stephen-ritter/feature/local-workflow-pa…
Browse files Browse the repository at this point in the history
…tches

Small Patches to Help with the Local Workflow
  • Loading branch information
ryanmelt authored Aug 28, 2023
2 parents 89a45e1 + 7adf3d0 commit 5a95c3b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion openc3-cosmos-init/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ if [ "${OPENC3_CLOUD}" == "local" ]; then
# Create a new user scriptrunner on MinIO use mc admin user.
mc admin user add openc3minio ${OPENC3_SR_BUCKET_USERNAME} ${OPENC3_SR_BUCKET_PASSWORD} || exit 1
# Once the user is successfully created you can now apply the getonly policy for this user.
mc admin policy attach openc3minio script --user=${OPENC3_SR_BUCKET_USERNAME} || exit 1
# "|| true" is required on subsequent startups due to the following error that is thrown:
# mc: <ERROR> Unable to make user/group policy association. The specified policy change is already in effect. (Specified policy update has no net effect).
mc admin policy attach openc3minio script --user=${OPENC3_SR_BUCKET_USERNAME} || true
fi

ruby /openc3/bin/openc3cli removeenterprise || exit 1
Expand Down
2 changes: 1 addition & 1 deletion openc3/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
# All changes Copyright 2022, OpenC3, Inc.
# All Rights Reserved
#
# This file may also be used under the terms of a commercial license
# This file may also be used under the terms of a commercial license
# if purchased from OpenC3, Inc.

require 'open3'
Expand Down

0 comments on commit 5a95c3b

Please sign in to comment.