Skip to content

Commit

Permalink
test: Test CI
Browse files Browse the repository at this point in the history
  • Loading branch information
MAHDTech committed Jul 22, 2023
1 parent 5439e48 commit 7c25f89
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions nix/oci/tanzu/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,7 @@ in
"TERM=xterm"
"TZ=UTC"
"WORKDIR=/workdir"
"VSCODE_CONTAINER_ENV=FALSE"
"VSCODE_REMOTE_ENV=FALSE"
"ENVIRONMENT_VSCODE=none"
];
WorkingDir = "/workdir";
WorkDir = "/workdir";
Expand Down
2 changes: 1 addition & 1 deletion nix/oci/tanzu/root/etc/profile.d/tanzu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ if [[ -f "${HOME}/.config/tanzu/config.yaml" ]]; then
fi

# Make sure that the interactive parts are not run in a a VSCode remote env.
if [[ "${VSCODE_REMOTE_ENV:-FALSE}" == "TRUE" ]]; then
if [[ "${ENVIRONMENT_VSCODE^^}" == "REMOTE" ]]; then

echo "$(date '+%Y/%m/%d %T'): INFO: VSCode remote environment detected, skipping interactive parts." | tee -a "/tmp/vscode-remote-env.log"

Expand Down
2 changes: 1 addition & 1 deletion nix/oci/tanzu/root/etc/skel/.bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ if ! shopt -oq posix; then
fi

# Make sure that the interactive parts are not run in a a VSCode remote env.
if [[ ${VSCODE_REMOTE_ENV:-FALSE} == "TRUE" ]]; then
if [[ "${ENVIRONMENT_VSCODE^^}" == "REMOTE" ]]; then

echo "$(date '+%Y/%m/%d %T'): INFO: VSCode remote environment detected, skipping interactive parts." | tee -a "/tmp/vscode-remote-env.log"

Expand Down
2 changes: 1 addition & 1 deletion nix/oci/tanzu/root/usr/local/bin/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ fi
/usr/bin/env bash --login -i || true

# Make sure that the interactive parts are not run in a a VSCode remote env.
if [[ "${VSCODE_REMOTE_ENV:-FALSE}" == "TRUE" ]]; then
if [[ "${ENVIRONMENT_VSCODE^^}" == "REMOTE" ]]; then

echo "$(date '+%Y/%m/%d %T'): INFO: VSCode remote environment detected, skipping interactive parts." | tee -a "/tmp/vscode-remote-env.log"

Expand Down

0 comments on commit 7c25f89

Please sign in to comment.