move to codeberg

This commit is contained in:
Graham McIntire 2026-06-06 13:00:59 -05:00
parent d3f208aec6
commit b308c3dc2e
No known key found for this signature in database
GPG key ID: F4ABF488E6029E59
15 changed files with 18 additions and 18 deletions

View file

@ -21,10 +21,10 @@ The Towerops agent enables customers to deploy SNMP polling infrastructure on th
### Using Pre-built Image
Pull the latest image from Docker Hub:
Pull the latest image from Codeberg's container registry:
```bash
docker pull ghcr.io/towerops-app/towerops-agent:latest
docker pull codeberg.org/towerops-agent/towerops-agent:latest
```
### Using Docker Compose
@ -36,7 +36,7 @@ version: '3.8'
services:
towerops-agent:
image: ghcr.io/towerops-app/towerops-agent:latest
image: codeberg.org/towerops-agent/towerops-agent:latest
restart: unless-stopped
environment:
- TOWEROPS_AGENT_TOKEN=your-agent-token-here

View file

@ -15,7 +15,7 @@ import (
"sync/atomic"
"time"
"github.com/towerops-app/towerops-agent/pb"
"codeberg.org/towerops-agent/towerops-agent/pb"
"google.golang.org/protobuf/proto"
)

View file

@ -15,7 +15,7 @@ import (
"time"
"github.com/gosnmp/gosnmp"
"github.com/towerops-app/towerops-agent/pb"
"codeberg.org/towerops-agent/towerops-agent/pb"
"google.golang.org/protobuf/proto"
)

View file

@ -13,7 +13,7 @@ import (
"strings"
"time"
"github.com/towerops-app/towerops-agent/pb"
"codeberg.org/towerops-agent/towerops-agent/pb"
)
var (

View file

@ -13,7 +13,7 @@ import (
"testing"
"time"
"github.com/towerops-app/towerops-agent/pb"
"codeberg.org/towerops-agent/towerops-agent/pb"
)
// ---------------------------------------------------------------------------

View file

@ -1,6 +1,6 @@
services:
towerops-agent:
image: ghcr.io/towerops-app/towerops-agent:latest
image: codeberg.org/towerops-agent/towerops-agent:latest
pull_policy: always
container_name: towerops-agent
restart: unless-stopped

2
go.mod
View file

@ -1,4 +1,4 @@
module github.com/towerops-app/towerops-agent
module codeberg.org/towerops-agent/towerops-agent
go 1.25.6

View file

@ -10,7 +10,7 @@ import (
"time"
"github.com/gosnmp/gosnmp"
"github.com/towerops-app/towerops-agent/pb"
"codeberg.org/towerops-agent/towerops-agent/pb"
)
// LLDP-MIB OIDs (IEEE 802.1AB)

View file

@ -10,7 +10,7 @@ import (
"strings"
"time"
"github.com/towerops-app/towerops-agent/pb"
"codeberg.org/towerops-agent/towerops-agent/pb"
)
const (

View file

@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.11
// protoc v7.34.0
// protoc v6.32.1
// source: proto/agent.proto
package pb
@ -2993,7 +2993,7 @@ const file_proto_agent_proto_rawDesc = "" +
"\rLLDP_TOPOLOGY\x10\x05*\x1e\n" +
"\tQueryType\x12\a\n" +
"\x03GET\x10\x00\x12\b\n" +
"\x04WALK\x10\x01B+Z)github.com/towerops-app/towerops-agent/pbb\x06proto3"
"\x04WALK\x10\x01B/Z-codeberg.org/towerops-agent/towerops-agent/pbb\x06proto3"
var (
file_proto_agent_proto_rawDescOnce sync.Once

View file

@ -2,7 +2,7 @@ syntax = "proto3";
package towerops.agent;
option go_package = "github.com/towerops-app/towerops-agent/pb";
option go_package = "codeberg.org/towerops-agent/towerops-agent/pb";
// Configuration received from the API
message AgentConfig {

View file

@ -11,7 +11,7 @@ import (
"unicode/utf8"
"github.com/gosnmp/gosnmp"
"github.com/towerops-app/towerops-agent/pb"
"codeberg.org/towerops-agent/towerops-agent/pb"
)
const snmpMaxOIDsPerGet = 60

View file

@ -7,7 +7,7 @@ import (
"testing"
"github.com/gosnmp/gosnmp"
"github.com/towerops-app/towerops-agent/pb"
"codeberg.org/towerops-agent/towerops-agent/pb"
)
func TestSnmpValueToString(t *testing.T) {

2
ssh.go
View file

@ -9,7 +9,7 @@ import (
"strings"
"time"
"github.com/towerops-app/towerops-agent/pb"
"codeberg.org/towerops-agent/towerops-agent/pb"
"golang.org/x/crypto/ssh"
)

View file

@ -11,7 +11,7 @@ import (
"testing"
"time"
"github.com/towerops-app/towerops-agent/pb"
"codeberg.org/towerops-agent/towerops-agent/pb"
"golang.org/x/crypto/ssh"
)