*: update test Go version / release version

Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
This commit is contained in:
Gyuho Lee
2019-09-03 13:46:55 -07:00
parent 64b3e59766
commit 42ad719155
5 changed files with 54 additions and 54 deletions

View File

@@ -6,8 +6,8 @@ sudo: required
services: docker services: docker
go: go:
- 1.12.9 - 1.13
- tip - tip
notifications: notifications:
on_success: never on_success: never
@@ -15,62 +15,62 @@ notifications:
env: env:
matrix: matrix:
- TARGET=linux-amd64-fmt - TARGET=linux-amd64-fmt
- TARGET=linux-amd64-integration-1-cpu - TARGET=linux-amd64-integration-1-cpu
- TARGET=linux-amd64-integration-2-cpu - TARGET=linux-amd64-integration-2-cpu
- TARGET=linux-amd64-integration-4-cpu - TARGET=linux-amd64-integration-4-cpu
- TARGET=linux-amd64-functional - TARGET=linux-amd64-functional
- TARGET=linux-amd64-unit - TARGET=linux-amd64-unit
- TARGET=all-build - TARGET=all-build
- TARGET=linux-amd64-grpcproxy - TARGET=linux-amd64-grpcproxy
- TARGET=linux-amd64-coverage - TARGET=linux-amd64-coverage
- TARGET=linux-amd64-fmt-unit-go-tip - TARGET=linux-amd64-fmt-unit-go-tip
- TARGET=linux-386-unit - TARGET=linux-386-unit
matrix: matrix:
fast_finish: true fast_finish: true
allow_failures: allow_failures:
- go: 1.12.9 - go: 1.13
env: TARGET=linux-amd64-grpcproxy env: TARGET=linux-amd64-grpcproxy
- go: 1.12.9 - go: 1.13
env: TARGET=linux-amd64-coverage env: TARGET=linux-amd64-coverage
- go: tip - go: tip
env: TARGET=linux-amd64-fmt-unit-go-tip env: TARGET=linux-amd64-fmt-unit-go-tip
- go: 1.12.9 - go: 1.13
env: TARGET=linux-386-unit env: TARGET=linux-386-unit
exclude: exclude:
- go: tip - go: tip
env: TARGET=linux-amd64-fmt env: TARGET=linux-amd64-fmt
- go: tip - go: tip
env: TARGET=linux-amd64-integration-1-cpu env: TARGET=linux-amd64-integration-1-cpu
- go: tip - go: tip
env: TARGET=linux-amd64-integration-2-cpu env: TARGET=linux-amd64-integration-2-cpu
- go: tip - go: tip
env: TARGET=linux-amd64-integration-4-cpu env: TARGET=linux-amd64-integration-4-cpu
- go: tip - go: tip
env: TARGET=linux-amd64-functional env: TARGET=linux-amd64-functional
- go: tip - go: tip
env: TARGET=linux-amd64-unit env: TARGET=linux-amd64-unit
- go: tip - go: tip
env: TARGET=all-build env: TARGET=all-build
- go: tip - go: tip
env: TARGET=linux-amd64-grpcproxy env: TARGET=linux-amd64-grpcproxy
- go: tip - go: tip
env: TARGET=linux-amd64-coverage env: TARGET=linux-amd64-coverage
- go: 1.12.9 - go: 1.13
env: TARGET=linux-amd64-fmt-unit-go-tip env: TARGET=linux-amd64-fmt-unit-go-tip
- go: tip - go: tip
env: TARGET=linux-386-unit env: TARGET=linux-386-unit
before_install: before_install:
- if [[ $TRAVIS_GO_VERSION == 1.* ]]; then docker pull gcr.io/etcd-development/etcd-test:go${TRAVIS_GO_VERSION}; fi - if [[ $TRAVIS_GO_VERSION == 1.* ]]; then docker pull gcr.io/etcd-development/etcd-test:go${TRAVIS_GO_VERSION}; fi
install: install:
- go get -t -v -d ./... - go get -t -v -d ./...
script: script:
- echo "TRAVIS_GO_VERSION=${TRAVIS_GO_VERSION}" - echo "TRAVIS_GO_VERSION=${TRAVIS_GO_VERSION}"
- > - >
case "${TARGET}" in case "${TARGET}" in
linux-amd64-fmt) linux-amd64-fmt)
docker run --rm \ docker run --rm \

View File

@@ -51,7 +51,7 @@ docker-remove:
GO_VERSION ?= 1.12.9 GO_VERSION ?= 1.13
ETCD_VERSION ?= $(shell git rev-parse --short HEAD || echo "GitNotFound") ETCD_VERSION ?= $(shell git rev-parse --short HEAD || echo "GitNotFound")
TEST_SUFFIX = $(shell date +%s | base64 | head -c 15) TEST_SUFFIX = $(shell date +%s | base64 | head -c 15)
@@ -65,11 +65,11 @@ endif
# Example: # Example:
# GO_VERSION=1.12.9 make build-docker-test # GO_VERSION=1.13 make build-docker-test
# make build-docker-test # make build-docker-test
# #
# gcloud docker -- login -u _json_key -p "$(cat /etc/gcp-key-etcd-development.json)" https://gcr.io # gcloud docker -- login -u _json_key -p "$(cat /etc/gcp-key-etcd-development.json)" https://gcr.io
# GO_VERSION=1.12.9 make push-docker-test # GO_VERSION=1.13 make push-docker-test
# make push-docker-test # make push-docker-test
# #
# gsutil -m acl ch -u allUsers:R -r gs://artifacts.etcd-development.appspot.com # gsutil -m acl ch -u allUsers:R -r gs://artifacts.etcd-development.appspot.com

View File

@@ -13,7 +13,7 @@ if ! [[ "${0}" =~ "scripts/docker-local-agent.sh" ]]; then
fi fi
if [[ -z "${GO_VERSION}" ]]; then if [[ -z "${GO_VERSION}" ]]; then
GO_VERSION=1.12.9 GO_VERSION=1.13
fi fi
echo "Running with GO_VERSION:" ${GO_VERSION} echo "Running with GO_VERSION:" ${GO_VERSION}

View File

@@ -6,7 +6,7 @@ if ! [[ "${0}" =~ "scripts/docker-local-tester.sh" ]]; then
fi fi
if [[ -z "${GO_VERSION}" ]]; then if [[ -z "${GO_VERSION}" ]]; then
GO_VERSION=1.12.9 GO_VERSION=1.13
fi fi
echo "Running with GO_VERSION:" ${GO_VERSION} echo "Running with GO_VERSION:" ${GO_VERSION}

View File

@@ -8,10 +8,10 @@ fi
<<COMMENT <<COMMENT
# amd64-e2e # amd64-e2e
tests/semaphore.test.bash tests/semaphore.test.bash
sudo HOST_TMP_DIR=/tmp TEST_OPTS="PASSES='build release e2e' MANUAL_VER=v3.3.13" make docker-test sudo HOST_TMP_DIR=/tmp TEST_OPTS="PASSES='build release e2e' MANUAL_VER=v3.4.0" make docker-test
# 386-e2e # 386-e2e
sudo HOST_TMP_DIR=/tmp TEST_OPTS="GOARCH=386 PASSES='build e2e'" make docker-test sudo HOST_TMP_DIR=/tmp TEST_OPTS="GOARCH=386 PASSES='build e2e'" make docker-test
COMMENT COMMENT
sudo HOST_TMP_DIR=/tmp TEST_OPTS="PASSES='build release e2e' MANUAL_VER=v3.3.13" make docker-test sudo HOST_TMP_DIR=/tmp TEST_OPTS="PASSES='build release e2e' MANUAL_VER=v3.4.0" make docker-test