-
Notifications
You must be signed in to change notification settings - Fork 493
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
9933 configbaker expose bootstrap #9935
9933 configbaker expose bootstrap #9935
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works great. Low risk. This is how I tested it:
$ touch envfile.txt
$ vim docker-compose-dev.yml
$ git diff docker-compose-dev.yml
diff --git a/docker-compose-dev.yml b/docker-compose-dev.yml
index ab44dbc180..4a0d40917e 100644
--- a/docker-compose-dev.yml
+++ b/docker-compose-dev.yml
@@ -40,7 +40,11 @@ services:
restart: "no"
command:
- bootstrap.sh
+ - -e
+ - envfile.txt
- dev
+ volumes:
+ - ./envfile.txt:/envfile.txt
networks:
- dataverse
$ cat envfile.txt
API_TOKEN=97cad752-983a-446f-866e-b032998ee33d
Approved. Just a container thing.
@poikilotherm There is a branch conflict, can you resolve? |
Done @kcondon |
Can confirm! dev_bootstrap:
container_name: "dev_bootstrap"
image: gdcc/configbaker:unstable
restart: "no"
command:
- bootstrap.sh
- -e
- env_file.txt
- dev
networks:
- dataverse
volumes:
- ./env_file.txt:/env_file.txt # env_file.txt
API_TOKEN=435c7b36-6c88-4747-9ae5-27d0bb06562d |
@JR-1991 with his next-level YAML colorization! So fancy! 🪄 🦄 🌷 |
What this PR does / why we need it:
Add capability to expose data from within the bootstrap process
Which issue(s) this PR closes:
Special notes for your reviewer:
None
Suggestions on how to test this:
Modify compose file to mount an existing file into the bootstrap container, add
-e <file>
(note the array notation!!!) and see it populated when bootstrap is runningDoes this PR introduce a user interface change? If mockups are available, please link/include them here:
Nope
Is there a release notes update needed for this change?:
Nope
Additional documentation:
None