Skip to content

Commit

Permalink
fix: update machine image ci (#416)
Browse files Browse the repository at this point in the history
* feat/update machine image ci

* feat: update minor go version ci

* chore: CHANGELOG.md

* chore: CHANGELOG.md

* refactor: remove unused code

* docs: Update CHANGELOG.md

---------

Co-authored-by: Jakub Bednář <[email protected]>
  • Loading branch information
NguyenHoangSon96 and bednar authored Jan 23, 2025
1 parent b7958a3 commit 4f4b2b7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 18 deletions.
20 changes: 2 additions & 18 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ version: 2.1
jobs:
build:
machine:
image: ubuntu-2004:202201-02
image: ubuntu-2204:current
environment:
ENV: CI
GO111MODULE: "on"
Expand All @@ -14,29 +14,13 @@ jobs:
INFLUXDB2_ONBOARDING_URL: "http://localhost:8089"
steps:
- checkout
# - run:
# name: check tidy
# command: |
# go mod tidy
# if ! git --no-pager diff --exit-code -- go.mod go.sum; then
# echo modules are not tidy, please run 'go mod tidy'
# exit 1
# fi
# - run:
# name: check go fmt
# command: |
# go fmt
# if ! git --no-pager diff --exit-code -- go.mod go.sum; then
# echo modules are not tidy, please run 'go fmt ./...'
# exit 1
# fi
- run:
name: "Create a temp directory for artifacts"
command: |
mkdir -p /tmp/artifacts
mkdir -p /tmp/test-results
- run: sudo rm -rf /usr/local/go
- run: wget https://golang.org/dl/go1.20.1.linux-amd64.tar.gz -O /tmp/go.tgz
- run: wget https://golang.org/dl/go1.22.2.linux-amd64.tar.gz -O /tmp/go.tgz
- run: sudo tar -C /usr/local -xzf /tmp/go.tgz
- run: go version
- run: go get -v -t -d ./...
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## 2.15.0 [unreleased]

### CI

- [#416](https://github.com/influxdata/influxdb-client-go/pull/416) Update CircleCi machine image to `ubuntu-2204:current`

## 2.14.0 [2024-08-12]

### Features
Expand Down

0 comments on commit 4f4b2b7

Please sign in to comment.