Skip to content

Commit a68bb3c

Browse files
authored
Merge branch 'main' into fix/no-ip-assignment-with-non-existing-tenant
2 parents 0650ea1 + 6f1333d commit a68bb3c

File tree

4 files changed

+18
-14
lines changed

4 files changed

+18
-14
lines changed

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ body:
5050
id: config
5151
attributes:
5252
label: Netbox operator configuration (command line flags or environment variables)
53-
value: |
54-
# paste your configuration here
53+
description: Please copy and paste your configuration here.
54+
render: Shell
5555

5656
- type: textarea
5757
id: logs

.github/workflows/build-image.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,18 @@ jobs:
3535
with:
3636
images: ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}
3737
tags: |
38-
# for commits on the main branch only, we will generate the tag named `latest`
38+
# (for commits on the main branch only) generate a tag named `latest`
3939
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', 'main') }}
40-
# the tag named sha-[short sha value] will be generated in all cases
40+
# (for all commits) generate a tag named sha-[short sha value]
4141
type=sha,enable=true
42+
# (for tagged commits only) generate tags identical to the git tag version, with and without the leading v
43+
type=semver,pattern={{raw}},enable=${{startsWith(github.ref, 'refs/tags/v')}}
44+
type=semver,pattern={{version}},enable=${{startsWith(github.ref, 'refs/tags/v')}}
4245
- name: Build and push
4346
uses: docker/build-push-action@v6
4447
with:
4548
platforms: linux/amd64,linux/arm64
46-
push: ${{ github.ref == format('refs/heads/{0}', 'main') }}
49+
# we push only if the pipeline is run against the commits on main branch or a tag
50+
push: ${{ github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') }}
4751
tags: ${{ steps.meta.outputs.tags }}
4852
labels: ${{ steps.meta.outputs.labels }}

go.mod

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ require (
7070
github.com/opentracing/opentracing-go v1.2.0 // indirect
7171
github.com/pelletier/go-toml/v2 v2.2.3 // indirect
7272
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
73-
github.com/prometheus/client_golang v1.20.3 // indirect
73+
github.com/prometheus/client_golang v1.20.4 // indirect
7474
github.com/prometheus/client_model v0.6.1 // indirect
7575
github.com/prometheus/common v0.59.1 // indirect
7676
github.com/prometheus/procfs v0.15.1 // indirect
@@ -82,7 +82,7 @@ require (
8282
github.com/spf13/pflag v1.0.5 // indirect
8383
github.com/subosito/gotenv v1.6.0 // indirect
8484
github.com/x448/float16 v0.8.4 // indirect
85-
go.mongodb.org/mongo-driver v1.16.1 // indirect
85+
go.mongodb.org/mongo-driver v1.17.0 // indirect
8686
go.opentelemetry.io/otel v1.30.0 // indirect
8787
go.opentelemetry.io/otel/metric v1.30.0 // indirect
8888
go.opentelemetry.io/otel/trace v1.30.0 // indirect
@@ -96,7 +96,7 @@ require (
9696
golang.org/x/term v0.24.0 // indirect
9797
golang.org/x/text v0.18.0 // indirect
9898
golang.org/x/time v0.6.0 // indirect
99-
golang.org/x/tools v0.24.0 // indirect
99+
golang.org/x/tools v0.25.0 // indirect
100100
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
101101
google.golang.org/protobuf v1.34.2 // indirect
102102
gopkg.in/inf.v0 v0.9.1 // indirect

go.sum

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINE
117117
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
118118
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 h1:Jamvg5psRIccs7FGNTlIRMkT8wgtp5eCXdBlqhYGL6U=
119119
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
120-
github.com/prometheus/client_golang v1.20.3 h1:oPksm4K8B+Vt35tUhw6GbSNSgVlVSBH0qELP/7u83l4=
121-
github.com/prometheus/client_golang v1.20.3/go.mod h1:PIEt8X02hGcP8JWbeHyeZ53Y/jReSnHgO035n//V5WE=
120+
github.com/prometheus/client_golang v1.20.4 h1:Tgh3Yr67PaOv/uTqloMsCEdeuFTatm5zIq5+qNN23vI=
121+
github.com/prometheus/client_golang v1.20.4/go.mod h1:PIEt8X02hGcP8JWbeHyeZ53Y/jReSnHgO035n//V5WE=
122122
github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E=
123123
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
124124
github.com/prometheus/common v0.59.1 h1:LXb1quJHWm1P6wq/U824uxYi4Sg0oGvNeUm1z5dJoX0=
@@ -156,8 +156,8 @@ github.com/x448/float16 v0.8.4 h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM=
156156
github.com/x448/float16 v0.8.4/go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcYsOfg=
157157
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
158158
github.com/yuin/goldmark v1.2.1/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
159-
go.mongodb.org/mongo-driver v1.16.1 h1:rIVLL3q0IHM39dvE+z2ulZLp9ENZKThVfuvN/IiN4l8=
160-
go.mongodb.org/mongo-driver v1.16.1/go.mod h1:oB6AhJQvFQL4LEHyXi6aJzQJtBiTQHiAd83l0GdFaiw=
159+
go.mongodb.org/mongo-driver v1.17.0 h1:Hp4q2MCjvY19ViwimTs00wHi7G4yzxh4/2+nTx8r40k=
160+
go.mongodb.org/mongo-driver v1.17.0/go.mod h1:wwWm/+BuOddhcq3n68LKRmgk2wXzmF6s0SFOa0GINL4=
161161
go.opentelemetry.io/otel v1.30.0 h1:F2t8sK4qf1fAmY9ua4ohFS/K+FUuOPemHUIXHtktrts=
162162
go.opentelemetry.io/otel v1.30.0/go.mod h1:tFw4Br9b7fOS+uEao81PJjVMjW/5fvNCbpsDIXqP0pc=
163163
go.opentelemetry.io/otel/metric v1.30.0 h1:4xNulvn9gjzo4hjg+wzIKG7iNFEaBMX00Qd4QIZs7+w=
@@ -212,8 +212,8 @@ golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGm
212212
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
213213
golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
214214
golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
215-
golang.org/x/tools v0.24.0 h1:J1shsA93PJUEVaUSaay7UXAyE8aimq3GW0pjlolpa24=
216-
golang.org/x/tools v0.24.0/go.mod h1:YhNqVBIfWHdzvTLs0d8LCuMhkKUgSUKldakyV7W/WDQ=
215+
golang.org/x/tools v0.25.0 h1:oFU9pkj/iJgs+0DT+VMHrx+oBKs/LJMV+Uvg78sl+fE=
216+
golang.org/x/tools v0.25.0/go.mod h1:/vtpO8WL1N9cQC3FN5zPqb//fRXskFHbLKk4OW1Q7rg=
217217
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
218218
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
219219
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=

0 commit comments

Comments
 (0)