forked from CanastaWiki/Canasta
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Export all *_FILE variables (Improve docker secret files usage) #234
Open
pastakhov
wants to merge
27
commits into
master
Choose a base branch
from
WIK-1735/improve_secret_files_usage
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
21471a9
Stop the container if it can't get wiki settings
pastakhov 6a893fc
change messages
pastakhov 90c32e1
printf "\nCheck wiki settings for errors... "
pastakhov 29be8ad
BOOTSTRAP_LOGFILE="$MW_LOG/_bootstrap_$(date -u +%Y%m%d).log"
pastakhov dee9a39
+echo "See Bash XTrace in the $BOOTSTRAP_LOGFILE file" + stdbuf
pastakhov 8e3d4a4
Fix exec 3>>"$BOOTSTRAP_LOGFILE"
pastakhov 645ad53
export BOOTSTRAP_LOGFILE="$MW_LOG/_bootstrap_$(date -u +%Y%m%d).log"
pastakhov c453306
fix dublicate messages in subscripts
pastakhov cc151a7
BOOTSTRAP_LOGFILE="$MW_LOG/_bootstrap_$(date -u +%Y%m%d_%H%M%S).log"
pastakhov 1a2e8c3
Restore printf "\n\n===== update-images-permissions.sh =====\n\n\n"
pastakhov 1be2921
exec > >(stdbuf -o0 tee -a "$BOOTSTRAP_LOGFILE") 2>&1
pastakhov 85b4463
exec 3> >(stdbuf -oL tee -a "$BOOTSTRAP_LOGFILE" >/dev/null)
pastakhov 3d6ac64
Export all *_FILE variables (Improve docker secret files usage)
pastakhov c2545eb
write variables to /etc/environment and read them in /etc/profile
pastakhov d64cd23
fix Modify /etc/profile
pastakhov 9c781a4
fix2 "Modify /etc/profile"
pastakhov ad1d0ee
Modify /etc/bash.bashrc
pastakhov 7e59ebe
Merge branch 'master' into WIK-1735/improve_secret_files_usage
pastakhov 0e49088
improve log messages
pastakhov 08ce953
update README.md
pastakhov c98d058
add SHELL ["/bin/bash", "-l", "-c"]
pastakhov 7e1438b
remove SHELL ["/bin/bash", "-l", "-c"]
pastakhov fe3682a
Add _sources/scripts/profile.d/load-env-vars.sh
pastakhov 499fe12
Restore "Modify /etc/bash.bashrc"
pastakhov 6672e0f
update load-env-vars.sh
pastakhov e6ca380
declare -x "$line"
pastakhov 10dc079
add a comment
pastakhov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
declare -x "$line"
- Loading branch information
commit e6ca3806db962de918babb3418ce971776fa0aa1
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
would adding this to
~/.bashrc
here instead of/etc/bash.bashrc
fix the issue Alexey pointed out on the task?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.
No, it doesn't. The difference only that
/etc/bash.bashrc
is global and runs~/.bashrc
for the current user. I guess we need it for all the users (to be run globally)