1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-01-12 02:28:07 +02:00

CI builds validate against last two versions of Go, dropping 1.14 and adding 1.16 (#1865)

Signed-off-by: Gábor Lipták <gliptak@gmail.com>

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
This commit is contained in:
Gábor Lipták 2021-05-06 17:14:11 -04:00 committed by GitHub
parent cbcd4b1a3d
commit d20e722830
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
29 changed files with 34 additions and 33 deletions

View File

@ -15,7 +15,7 @@ A clear and concise description of what the bug is.
- OS: [e.g. iOS]
- Architecture: [e.g. x86, i386]
- Go Version: [e.g. 1.14]
- Go Version: [e.g. 1.15]
- opentelemetry-go version: [e.g. v0.14.0, 3c7face]
### Steps To Reproduce

View File

@ -8,7 +8,7 @@ env:
# Path to where test results will be saved.
TEST_RESULTS: /tmp/test-results
# Default minimum version of Go to support.
DEFAULT_GO_VERSION: 1.14
DEFAULT_GO_VERSION: 1.15
jobs:
lint:
runs-on: ubuntu-latest
@ -109,7 +109,7 @@ jobs:
compatibility-test:
strategy:
matrix:
go-version: [1.15, 1.14]
go-version: [1.16, 1.15]
os: [ubuntu-latest, macos-latest, windows-latest]
# GitHub Actions does not support arm* architectures on default
# runners. It is possible to acomplish this with a self-hosted runner

View File

@ -13,7 +13,7 @@ jobs:
ref: ${{ github.head_ref }}
- uses: actions/setup-go@v2
with:
go-version: '^1.14.0'
go-version: '^1.15.0'
- uses: evantorrie/mott-the-tidier@v1-beta
id: modtidy
with:

View File

@ -31,6 +31,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
`NewSplitDriver` now automatically implements an internal `noopDriver` for `SplitConfig` fields that are not initialized. (#1798)
- `resource.New()` now creates a Resource without builtin detectors. Previous behavior is now achieved by using `WithBuiltinDetectors` Option. (#1810)
- Move the `Event` type from the `go.opentelemetry.io/otel` package to the `go.opentelemetry.io/otel/sdk/trace` package. (#1846)
- CI builds validate against last two versions of Go, dropping 1.14 and adding 1.16. (#1865)
- BatchSpanProcessor now report export failures when calling `ForceFlush()` method. (#1860)
- `Set.Encoded(Encoder)` no longer caches the result of an encoding. (#1855)
- Renamed `CloudZoneKey` to `CloudAvailabilityZoneKey` in Resource semantic conventions according to spec. (#1871)

View File

@ -44,16 +44,16 @@ This project is tested on the following systems.
| OS | Go Version | Architecture |
| ------- | ---------- | ------------ |
| Ubuntu | 1.16 | amd64 |
| Ubuntu | 1.15 | amd64 |
| Ubuntu | 1.14 | amd64 |
| Ubuntu | 1.16 | 386 |
| Ubuntu | 1.15 | 386 |
| Ubuntu | 1.14 | 386 |
| MacOS | 1.16 | amd64 |
| MacOS | 1.15 | amd64 |
| MacOS | 1.14 | amd64 |
| Windows | 1.16 | amd64 |
| Windows | 1.15 | amd64 |
| Windows | 1.14 | amd64 |
| Windows | 1.16 | 386 |
| Windows | 1.15 | 386 |
| Windows | 1.14 | 386 |
While this project should work for other systems, no compatibility guarantees
are made for those systems currently.

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/bridge/opencensus
go 1.14
go 1.15
require (
go.opencensus.io v0.22.6-0.20201102222123-380f4078db9f

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/bridge/opentracing
go 1.14
go 1.15
replace go.opentelemetry.io/otel => ../..

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/example/jaeger
go 1.14
go 1.15
replace (
go.opentelemetry.io/otel => ../..

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/example/namedtracer
go 1.14
go 1.15
replace (
go.opentelemetry.io/otel => ../..

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/example/opencensus
go 1.14
go 1.15
replace (
go.opentelemetry.io/otel => ../..

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/example/otel-collector
go 1.14
go 1.15
replace (
go.opentelemetry.io/otel => ../..

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/example/prom-collector
go 1.14
go 1.15
replace (
go.opentelemetry.io/otel => ../..

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/example/prometheus
go 1.14
go 1.15
replace (
go.opentelemetry.io/otel => ../..

View File

@ -11,7 +11,7 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
FROM golang:1.14-alpine
FROM golang:1.16-alpine
COPY . /go/src/github.com/open-telemetry/opentelemetry-go/
WORKDIR /go/src/github.com/open-telemetry/opentelemetry-go/example/zipkin/
RUN go install ./main.go

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/example/zipkin
go 1.14
go 1.15
replace (
go.opentelemetry.io/otel => ../..

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/exporters/metric/prometheus
go 1.14
go 1.15
replace (
go.opentelemetry.io/otel => ../../..

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/exporters/otlp
go 1.14
go 1.15
replace (
go.opentelemetry.io/otel => ../..

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/exporters/stdout
go 1.14
go 1.15
replace (
go.opentelemetry.io/otel => ../..

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/exporters/trace/jaeger
go 1.14
go 1.15
replace (
go.opentelemetry.io/otel => ../../..

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/exporters/trace/zipkin
go 1.14
go 1.15
replace (
go.opentelemetry.io/otel => ../../..

2
go.mod
View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel
go 1.14
go 1.15
require (
github.com/google/go-cmp v0.5.5

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/internal/tools
go 1.14
go 1.15
require (
github.com/client9/misspell v0.3.4

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/metric
go 1.14
go 1.15
replace go.opentelemetry.io/otel => ../

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/oteltest
go 1.14
go 1.15
replace go.opentelemetry.io/otel => ../

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/sdk/export/metric
go 1.14
go 1.15
replace go.opentelemetry.io/otel => ../../..

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/sdk
go 1.14
go 1.15
replace go.opentelemetry.io/otel => ../

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/sdk/metric
go 1.14
go 1.15
replace go.opentelemetry.io/otel => ../..

View File

@ -1,6 +1,6 @@
module go.opentelemetry.io/otel/trace
go 1.14
go 1.15
replace go.opentelemetry.io/otel => ../

View File

@ -7,7 +7,7 @@ Welcome to the OpenTelemetry for Go getting started guide! This guide will walk
# Installation
OpenTelemetry packages for Go are available in the `go.opentelemetry.io/otel` namespace. You will need to add references to them in the `import` statement. We suggest using Go 1.14 or newer, for module support.
OpenTelemetry packages for Go are available in the `go.opentelemetry.io/otel` namespace. You will need to add references to them in the `import` statement. We suggest using Go 1.15 or newer, for module support.
To get started with this guide, create a new directory and add a new file named `main.go` to it. In your terminal, run the command `go mod init main` in the same directory. This will create a `go.mod` file, which is used by Go to manage imports.