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

Commitff685cb

Browse files
committed
fixup! Use release binary for integration test
1 parent9edd1dd commitff685cb

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

‎ci/integration/setup_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import (
66
"os"
77
"os/exec"
88
"path/filepath"
9-
"runtime"
109
"strings"
1110
"testing"
1211

@@ -33,7 +32,7 @@ func init() {
3332

3433
// build the coder-cli binary and move to the integration testing bin directory
3534
funcbuild(pathstring)error {
36-
tar:=fmt.Sprintf("coder-cli-%s-%s.tar.gz",runtime.GOOS,runtime.GOARCH)
35+
tar:=fmt.Sprintf("coder-cli-linux-amd64.tar.gz")
3736
dir:=filepath.Dir(path)
3837
cmd:=exec.Command(
3938
"sh","-c",

‎ci/steps/build.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ cd "$(dirname "$0")"
1010
export GOARCH=amd64
1111
tag=$(git describe --tags)
1212

13-
mkdir -p bin
14-
1513
build(){
1614
tmpdir=$(mktemp -d)
1715
go build -ldflags"-s -w -X main.version=${tag}" -o"$tmpdir/coder" ../../cmd/coder

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp