Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 30, 2024. It is now read-only.
/coder-v1-cliPublic archive

Use release binary in integration tests#98

Merged
cmoog merged 1 commit intomasterfromfix-coder-cli-test-binary
Aug 22, 2020

Conversation

cmoog
Copy link
Contributor

@cmoogcmoog commentedAug 21, 2020
edited
Loading

@cmoogcmoog requested a review fromcoadlerAugust 21, 2020 21:12
@cmoogcmoogforce-pushed thefix-coder-cli-test-binary branch fromff685cb to318e09eCompareAugust 21, 2020 21:13
cmd := exec.Command(
"sh", "-c",
fmt.Sprintf("cd ../../ && go build -o %s ./cmd/coder", path),
fmt.Sprintf(
"cd ../../ && mkdir -p %s && ./ci/steps/build.sh && cp ./ci/bin/%s %s/ && tar -xzf %s -C %s",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

What if you just pulled the go build command into its own function and source it so you can call it? Would remove the step of tar -> untar

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I'd prefer it to use as close to the actual release artifact as possible. Maybe that's not particularly rational in this case but the aim of this test is to prevent the previous regression from going undetected.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Makes sense

@cmoogcmoog merged commitddaeba7 intomasterAug 22, 2020
@cmoogcmoog deleted the fix-coder-cli-test-binary branchAugust 22, 2020 18:51
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@coadlercoadlercoadler approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@cmoog@coadler

[8]ページ先頭

©2009-2025 Movatter.jp