Skip to content

Commit 1fd41b3

Browse files
[release/v0.25.x]Ensure Go version 1.19.6 is used in workflows for builds (#1848)
* Ensure Go version 1.19.6 is used in workflows for builds * Deprecated io/ioutil is removed * Modify version to v0.25.1 --------- Co-authored-by: bryan-aguilar <[email protected]>
1 parent 895530f commit 1fd41b3

File tree

10 files changed

+20
-10
lines changed

10 files changed

+20
-10
lines changed

.github/workflows/CD-adot-operator.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
- name: Set up Go 1.x
3434
uses: actions/setup-go@v3
3535
with:
36-
go-version: ~1.18.9
36+
go-version: ~1.19.6
3737

3838
- name: Configure AWS Credentials
3939
uses: aws-actions/configure-aws-credentials@v1-node16

.github/workflows/CI-Operator.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
- name: Set up Go 1.x
7676
uses: actions/setup-go@v3
7777
with:
78-
go-version: '~1.18.9'
78+
go-version: '~1.19.6'
7979

8080
- name: Create test batch key values
8181
id: set-batches

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ env:
4848
DDB_TABLE_NAME: BatchTestCache
4949
MAX_JOBS: 90
5050
BATCH_INCLUDED_SERVICES: EKS,ECS,EC2,EKS_ARM64,EKS_FARGATE
51-
GO_VERSION: ~1.18.9
51+
GO_VERSION: ~1.19.6
5252

5353

5454
concurrency:

.github/workflows/PR-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
if: ${{ needs.changes.outputs.changed == 'true' }}
7878
uses: actions/setup-go@v3
7979
with:
80-
go-version: '~1.18.9'
80+
go-version: '~1.19.6'
8181

8282
- name: Checkout
8383
if: ${{ needs.changes.outputs.changed == 'true' }}

.github/workflows/canary.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
- name: Set up Go 1.x
5858
uses: actions/setup-go@v3
5959
with:
60-
go-version: '~1.18.9'
60+
go-version: '~1.19.6'
6161
- name: Build aotutil
6262
run: cd testing-framework/cmd/aotutil && make build
6363
- name: Cache aotutil

.github/workflows/perf.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ env:
2727
COMMIT_USER: Github Actions
2828
COMMIT_EMAIL: [email protected]
2929
TESTING_FRAMEWORK_REPO: aws-observability/aws-otel-test-framework
30-
GO_VERSION: ~1.18.9
30+
GO_VERSION: ~1.19.6
3131

3232
permissions:
3333
id-token: write

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.25.0
1+
v0.25.1

docs/releases/v0.25.1.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Changelog
2+
3+
## [v0.25.1](https://github.com/aws-observability/aws-otel-collector/tree/v0.25.1) (2023-02-15)
4+
5+
[Full Changelog](https://github.com/aws-observability/aws-otel-collector/compare/v0.25.0...pkg/lambdacomponents/v0.25.1)
6+
7+
**Merged pull requests:**
8+
9+
- Use Go version 1.19.6 in build toolchain [\#1691](https://github.com/aws-observability/aws-otel-collector/pull/1848) ([vasireddy99](https://github.com/vasireddy99))
10+
11+
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*

pkg/userutils/userutil_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
package userutils
55

66
import (
7-
"io/ioutil"
87
"os"
98
"path/filepath"
109
"reflect"
@@ -26,7 +25,7 @@ func (c *MockChowner) Chown(path string, uid, gid int) error {
2625
}
2726

2827
func TestChangeFileOwner(t *testing.T) {
29-
base, err := ioutil.TempDir("", "testChown")
28+
base, err := os.MkdirTemp("", "testChown")
3029
if err != nil {
3130
t.Fatalf("failed to crate temp test folder: %v", err)
3231
}

versions.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module-sets:
1616
#Github Repo for Go Multimod: https://github.com/open-telemetry/opentelemetry-go-build-tools/tree/main/multimod
1717
#Goals: Centralize all the module set into one files and use this version yaml to manage all the module set during the release.
1818
adot-base:
19-
version: v0.25.0
19+
version: v0.25.1
2020
modules:
2121
- github.com/aws-observability/aws-otel-collector
2222
- github.com/aws-observability/aws-otel-collector/pkg/lambdacomponents

0 commit comments

Comments
 (0)