Skip to content

Commit 57897fa

Browse files
authored
Release v0.2.0. (#23)
1 parent 4229a42 commit 57897fa

3 files changed

Lines changed: 19 additions & 5 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ permissions:
1212
jobs:
1313
build:
1414
strategy:
15+
fail-fast: false
1516
matrix:
1617
include:
1718
- goos: linux
@@ -29,9 +30,8 @@ jobs:
2930
with:
3031
go-version-file: go.mod
3132

32-
- run: make install-builder
33-
34-
- run: builder --config collector/manifest.yaml
33+
- run: go tool builder --config collector/manifest.yaml --skip-compilation
34+
- run: cd dist && go build -trimpath -o otelcol-oxide .
3535
env:
3636
GOOS: ${{ matrix.goos }}
3737
GOARCH: ${{ matrix.goarch }}

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,17 @@ Once the example is running, you can access the Prometheus instance at http://lo
6565
```bash
6666
make test
6767
```
68+
69+
## Releasing
70+
71+
To create a new release, first bump the versions in `collector/manifest.yaml`:
72+
73+
- `dist.version` — the collector distribution version
74+
- The receiver gomod version (`github.com/oxidecomputer/opentelemetry-collector-components`)
75+
76+
Then push a git tag matching `v*` (e.g. `v0.2.0`). This creates a new GitHub release, and publishes updated collector binaries and the Docker image.
77+
78+
```bash
79+
git tag v0.2.0
80+
git push origin v0.2.0
81+
```

collector/manifest.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dist:
66
module: github.com/oxidecomputer/otelcol-oxide
77
name: otelcol-oxide
88
description: OpenTelemetry Collector with Oxide receiver
9-
version: 0.1.0
9+
version: 0.2.0
1010
output_path: ./dist
1111
build_tags: "grpcnotrace"
1212

@@ -40,7 +40,7 @@ receivers:
4040
- gomod: github.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusreceiver v0.145.0
4141

4242
# Add the Oxide receiver.
43-
- gomod: github.com/oxidecomputer/opentelemetry-collector-components v0.1.0
43+
- gomod: github.com/oxidecomputer/opentelemetry-collector-components v0.2.0
4444
import: github.com/oxidecomputer/opentelemetry-collector-components/receiver/oxidemetricsreceiver
4545

4646
connectors:

0 commit comments

Comments
 (0)