Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update machine image ci #416

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading