tests: open telemetry #3344
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build `aisnode` | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
strategy: | |
matrix: | |
go-version: ['1.23.x'] | |
os: [ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Build AIStore on ${{ matrix.os }} | |
run: | | |
export GOPATH="$(go env GOPATH)" | |
# 1) no build tags, no debug | |
MODE="" make node | |
# 2) no build tags, debug | |
MODE="debug" make node | |
# 3) cloud backends, no debug | |
AIS_BACKEND_PROVIDERS="aws azure gcp" MODE="" make node | |
# 4) cloud backends, debug | |
AIS_BACKEND_PROVIDERS="aws azure gcp" MODE="debug" make node | |
# 5) cloud backends, debug, statsd | |
# (build with StatsD, and note that Prometheus is the default when `statsd` tag is not defined) | |
TAGS="aws azure gcp statsd debug oteltracing" make node | |
# 6) statsd, debug, nethttp (note that fasthttp is used by default) | |
TAGS="nethttp statsd debug" make node | |
# 7) w/ mem profile (see cmd/aisnodeprofile) | |
MEM_PROFILE="/tmp/mem" CPU_PROFILE="/tmp/cpu" make node | |
# 8) authn, cli, aisloader | |
make authn | |
make cli | |
make aisloader |