diff --git a/pkg/api/steve/catalog/plugin_test.go b/pkg/api/steve/catalog/plugin_test.go index 51c7b15f52c..a430614ec9a 100644 --- a/pkg/api/steve/catalog/plugin_test.go +++ b/pkg/api/steve/catalog/plugin_test.go @@ -29,7 +29,7 @@ func TestProxyRequest_content_type(t *testing.T) { t.Errorf("got StatusCode %v, want %v", resp.StatusCode, http.StatusOK) } - wantContent := "application/javascript" + wantContent := "text/javascript; charset=utf-8" if ct := resp.Header.Get("Content-Type"); ct != wantContent { t.Errorf("got Content-Type %s, want %s", ct, wantContent) diff --git a/pkg/image/origins.go b/pkg/image/origins.go index 676e65dab0e..f6d090fd9ce 100644 --- a/pkg/image/origins.go +++ b/pkg/image/origins.go @@ -234,7 +234,7 @@ var OriginMap = map[string]string{ "pushprox-client": "https://github.com/rancher/PushProx", "pushprox-proxy": "https://github.com/rancher/PushProx", "rancher": "https://github.com/rancher/rancher", - "rancher-agent": "https://github.com/rancher/rancher-agent", + "rancher-agent": "https://github.com/rancher/rancher", "rancher-csp-adapter": "https://github.com/rancher/csp-adapter", "rancher-webhook": "https://github.com/rancher/webhook", "rke-tools": "https://github.com/rancher/rke-tools", diff --git a/scripts/package b/scripts/package index d8621e6769a..a124b172e99 100755 --- a/scripts/package +++ b/scripts/package @@ -67,7 +67,7 @@ fi if [ ${ARCH} == amd64 ]; then # Move this out of ARCH check for local dev on non-amd64 hardware. - TAG=$TAG REPO=${REPO} go run ../pkg/image/export/main.go $SYSTEM_CHART_REPO_DIR $CHART_REPO_DIR $IMAGE $AGENT_IMAGE $SYSTEM_AGENT_UPGRADE_IMAGE $WINS_AGENT_UPGRADE_IMAGE ${SYSTEM_AGENT_INSTALLER_RKE2_IMAGES[@]} ${SYSTEM_AGENT_INSTALLER_K3S_IMAGES[@]} + TAG=$TAG REPO=${REPO} CGO_ENABLED=0 go run ../pkg/image/export/main.go $SYSTEM_CHART_REPO_DIR $CHART_REPO_DIR $IMAGE $AGENT_IMAGE $SYSTEM_AGENT_UPGRADE_IMAGE $WINS_AGENT_UPGRADE_IMAGE ${SYSTEM_AGENT_INSTALLER_RKE2_IMAGES[@]} ${SYSTEM_AGENT_INSTALLER_K3S_IMAGES[@]} fi # Create components file used for pre-release notes diff --git a/scripts/test b/scripts/test index 630607b1b1d..5fe8f298525 100755 --- a/scripts/test +++ b/scripts/test @@ -23,7 +23,7 @@ fi cd $(dirname $0)/.. echo Running unit tests -go test -cover -tags=test ./pkg/... +CGO_ENABLED=0 go test -cover -tags=test ./pkg/... if [ ${ARCH} == arm64 ] || [ ${ARCH} == s390x ]; then export ETCD_UNSUPPORTED_ARCH=${ARCH} @@ -172,7 +172,7 @@ export CATTLE_TEST_CONFIG=$(pwd)/config.yaml # used by integration tests and tes } echo Running go integration tests -go test -v -failfast -p 1 ./tests/v2/integration/... || { +CGO_ENABLED=0 go test -v -failfast -p 1 ./tests/v2/integration/... || { dump_rancher_logs exit 1 }