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 ### Using Pre-built Image
Pull the latest image from Docker Hub: Pull the latest image from Codeberg's container registry:
```bash ```bash
docker pull ghcr.io/towerops-app/towerops-agent:latest docker pull codeberg.org/towerops-agent/towerops-agent:latest
``` ```
### Using Docker Compose ### Using Docker Compose
@ -36,7 +36,7 @@ version: '3.8'
services: services:
towerops-agent: towerops-agent:
image: ghcr.io/towerops-app/towerops-agent:latest image: codeberg.org/towerops-agent/towerops-agent:latest
restart: unless-stopped restart: unless-stopped
environment: environment:
- TOWEROPS_AGENT_TOKEN=your-agent-token-here - TOWEROPS_AGENT_TOKEN=your-agent-token-here

View file

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

View file

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

View file

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

View file

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

View file

@ -1,6 +1,6 @@
services: services:
towerops-agent: towerops-agent:
image: ghcr.io/towerops-app/towerops-agent:latest image: codeberg.org/towerops-agent/towerops-agent:latest
pull_policy: always pull_policy: always
container_name: towerops-agent container_name: towerops-agent
restart: unless-stopped 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 go 1.25.6

View file

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

View file

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

View file

@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-go. DO NOT EDIT.
// versions: // versions:
// protoc-gen-go v1.36.11 // protoc-gen-go v1.36.11
// protoc v7.34.0 // protoc v6.32.1
// source: proto/agent.proto // source: proto/agent.proto
package pb package pb
@ -2993,7 +2993,7 @@ const file_proto_agent_proto_rawDesc = "" +
"\rLLDP_TOPOLOGY\x10\x05*\x1e\n" + "\rLLDP_TOPOLOGY\x10\x05*\x1e\n" +
"\tQueryType\x12\a\n" + "\tQueryType\x12\a\n" +
"\x03GET\x10\x00\x12\b\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 ( var (
file_proto_agent_proto_rawDescOnce sync.Once file_proto_agent_proto_rawDescOnce sync.Once

View file

@ -2,7 +2,7 @@ syntax = "proto3";
package towerops.agent; 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 // Configuration received from the API
message AgentConfig { message AgentConfig {

View file

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

View file

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

2
ssh.go
View file

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

View file

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