Skip to content
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

remove use of the UseIsolatedEnv since it got deleted from bosh utils #682

Merged
merged 1 commit into from
Feb 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions integration/upload_release_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,9 @@ blobstore:

execGit := func(args []string) {
cmd := boshsys.Command{
Name: "git",
Args: args,
UseIsolatedEnv: true,
WorkingDir: tmpDir, // --git-dir/--work-tree/etc. dont work great
Name: "git",
Args: args,
WorkingDir: tmpDir, // --git-dir/--work-tree/etc. dont work great
}
_, _, _, err := deps.CmdRunner.RunComplexCommand(cmd)
Expect(err).ToNot(HaveOccurred())
Expand Down
3 changes: 1 addition & 2 deletions release/resource/archive.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,7 @@ func (a ArchiveImpl) runPrepScripts(stagingDir string) error {
Name: "bash",
Args: []string{"-x", prepFile.Path},

WorkingDir: stagingDir,
UseIsolatedEnv: false,
WorkingDir: stagingDir,

Env: map[string]string{
"BUILD_DIR": stagingDir,
Expand Down