Skip to content

Commit

Permalink
Update to Golang 1.10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ruflin authored and adriansr committed Apr 27, 2018
1 parent eccb4a3 commit c35d571
Show file tree
Hide file tree
Showing 17 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .go-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.9.4
1.10.1
2 changes: 1 addition & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ if [ ! -e "~/bin/gvm" ]; then
chmod +x ~/bin/gvm
echo 'export GOPATH=$HOME/go' >> ~/.bash_profile
echo 'export PATH=$HOME/bin:$GOPATH/bin:$PATH' >> ~/.bash_profile
echo 'eval "$(gvm 1.9.4)"' >> ~/.bash_profile
echo 'eval "$(gvm 1.10.1)"' >> ~/.bash_profile
fi
SCRIPT

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM tudorg/xgo-deb7-1.9.4
FROM tudorg/xgo-deb7-1.10.1

MAINTAINER Tudor Golubenco <tudor@elastic.co>

Expand Down
2 changes: 1 addition & 1 deletion dev-tools/packer/docker/xgo-image-deb7/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
cp -r ../../../vendor/gopkg.in/yaml.v2 beats-builder/yaml.v2
cp -r ../../../vendor/github.com/tsg/gotpl beats-builder/gotpl
docker build --rm=true -t tudorg/xgo-deb7-base base/ && \
docker build --rm=true -t tudorg/xgo-deb7-1.9.4 go-1.9.4/ &&
docker build --rm=true -t tudorg/xgo-deb7-1.10.1 go-1.10.1/ &&
docker build --rm=true -t tudorg/beats-builder-deb7 beats-builder
6 changes: 3 additions & 3 deletions dev-tools/packer/docker/xgo-image-deb7/go-1.9.4/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Go cross compiler (xgo): Go 1.9.4 layer
# Go cross compiler (xgo): Go 1.10.1 layer
# Copyright (c) 2014 Péter Szilágyi. All rights reserved.
#
# Released under the MIT license.
Expand All @@ -9,7 +9,7 @@ MAINTAINER Tudor Golubenco <tudor@elastic.co>

# Configure the root Go distribution and bootstrap based on it
RUN \
export ROOT_DIST="https://storage.googleapis.com/golang/go1.9.4.linux-amd64.tar.gz" && \
export ROOT_DIST_SHA1="ed1bd37c356338a5a04923c183931a96687f202e" && \
export ROOT_DIST="https://storage.googleapis.com/golang/go1.10.1.linux-amd64.tar.gz" && \
export ROOT_DIST_SHA1="0b5b278a1d785812e864158ca0bf84056cb9303c" && \
\
$BOOTSTRAP_PURE
2 changes: 1 addition & 1 deletion dev-tools/packer/docker/xgo-image/beats-builder/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM tudorg/xgo-1.9.4
FROM tudorg/xgo-1.10.1

MAINTAINER Tudor Golubenco <tudor@elastic.co>

Expand Down
2 changes: 1 addition & 1 deletion dev-tools/packer/docker/xgo-image/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
cp -r ../../../vendor/gopkg.in/yaml.v2 beats-builder/yaml.v2
cp -r ../../../vendor/github.com/tsg/gotpl beats-builder/gotpl
docker pull tudorg/xgo-base:v20180222 && \
docker build --rm=true -t tudorg/xgo-1.9.4 go-1.9.4/ &&
docker build --rm=true -t tudorg/xgo-1.10.1 go-1.10.1/ &&
docker build --rm=true -t tudorg/beats-builder beats-builder
6 changes: 3 additions & 3 deletions dev-tools/packer/docker/xgo-image/go-1.9.4/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Go cross compiler (xgo): Go 1.9.4 layer
# Go cross compiler (xgo): Go 1.10.1 layer
# Copyright (c) 2014 Péter Szilágyi. All rights reserved.
#
# Released under the MIT license.
Expand All @@ -9,7 +9,7 @@ MAINTAINER Tudor Golubenco <tudor@elastic.co>

# Configure the root Go distribution and bootstrap based on it
RUN \
export ROOT_DIST="https://storage.googleapis.com/golang/go1.9.4.linux-amd64.tar.gz" && \
export ROOT_DIST_SHA1="ed1bd37c356338a5a04923c183931a96687f202e" && \
export ROOT_DIST="https://storage.googleapis.com/golang/go1.10.1.linux-amd64.tar.gz" && \
export ROOT_DIST_SHA1="0b5b278a1d785812e864158ca0bf84056cb9303c" && \
\
$BOOTSTRAP_PURE
2 changes: 1 addition & 1 deletion filebeat/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.9.4
FROM golang:1.10.1
MAINTAINER Nicolas Ruflin <ruflin@elastic.co>

RUN set -x && \
Expand Down
6 changes: 3 additions & 3 deletions filebeat/fileset/modules_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
func TestLoadPipeline(t *testing.T) {
client := estest.GetTestingElasticsearch(t)
if !hasIngest(client) {
t.Skip("Skip tests because ingest is missing in this elasticsearch version: %s", client.GetVersion())
t.Skip("Skip tests because ingest is missing in this elasticsearch version: ", client.GetVersion())
}

client.Request("DELETE", "/_ingest/pipeline/my-pipeline-id", "", nil, nil)
Expand Down Expand Up @@ -68,7 +68,7 @@ func checkUploadedPipeline(t *testing.T, client *elasticsearch.Client, expectedD
func TestSetupNginx(t *testing.T) {
client := estest.GetTestingElasticsearch(t)
if !hasIngest(client) {
t.Skip("Skip tests because ingest is missing in this elasticsearch version: %s", client.GetVersion())
t.Skip("Skip tests because ingest is missing in this elasticsearch version: ", client.GetVersion())
}

client.Request("DELETE", "/_ingest/pipeline/filebeat-5.2.0-nginx-access-default", "", nil, nil)
Expand Down Expand Up @@ -100,7 +100,7 @@ func TestSetupNginx(t *testing.T) {
func TestAvailableProcessors(t *testing.T) {
client := estest.GetTestingElasticsearch(t)
if !hasIngest(client) {
t.Skip("Skip tests because ingest is missing in this elasticsearch version: %s", client.GetVersion())
t.Skip("Skip tests because ingest is missing in this elasticsearch version: ", client.GetVersion())
}
// these exists on our integration test setup
requiredProcessors := []ProcessorRequirement{
Expand Down
2 changes: 1 addition & 1 deletion generator/beat/{beat}/.travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
language: go

go:
- 1.9.4
- 1.10.1

os:
- linux
Expand Down
2 changes: 1 addition & 1 deletion generator/common/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ test: prepare-test
cd ${BEAT_PATH} ; \
$(MAKE) copy-vendor || exit 1 ; \
${PREPARE_COMMAND} \
$(MAKE) check || exit 1 ; \
$(MAKE) update || exit 1 ; \
$(MAKE) check || exit 1 ; \
$(MAKE) || exit 1 ; \
$(MAKE) unit

Expand Down
2 changes: 1 addition & 1 deletion libbeat/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Beats dockerfile used for testing
FROM golang:1.9.4
FROM golang:1.10.1
MAINTAINER Nicolas Ruflin <ruflin@elastic.co>

RUN set -x && \
Expand Down
2 changes: 1 addition & 1 deletion libbeat/docs/version.asciidoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
:stack-version: 7.0.0-alpha1
:doc-branch: master
:go-version: 1.9.4
:go-version: 1.10.1
:release-state: unreleased
:python: 2.7.9
:docker: 1.12
Expand Down
2 changes: 1 addition & 1 deletion libbeat/scripts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ crosscompile: $(GOFILES)
gox -output="${BUILD_DIR}/bin/{{.Dir}}-{{.OS}}-{{.Arch}}" -os="$(strip $(GOX_OS))" -osarch="$(strip $(GOX_OSARCH))" ${GOX_FLAGS}

.PHONY: check
check: python-env ## @build Checks project and source code if everything is according to standard
check: python-env prepare-tests ## @build Checks project and source code if everything is according to standard
@go vet ${GOPACKAGES}
@go get $(GOIMPORTS_REPO)
@goimports -local ${GOIMPORTS_LOCAL_PREFIX} -l ${GOFILES_NOVENDOR} | (! grep .) || (echo "Code differs from goimports' style ^" && false)
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.9.4
FROM golang:1.10.1
MAINTAINER Nicolas Ruflin <ruflin@elastic.co>

RUN set -x && \
Expand Down
2 changes: 1 addition & 1 deletion metricbeat/module/http/_meta/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.9.4
FROM golang:1.10.1

COPY test/main.go main.go

Expand Down

0 comments on commit c35d571

Please sign in to comment.