Skip to content

Commit

Permalink
Move project to ironcore-dev
Browse files Browse the repository at this point in the history
Signed-off-by: Guvenc Gulce <[email protected]>
  • Loading branch information
guvenc committed Dec 4, 2023
1 parent 83c24a7 commit 51046c5
Show file tree
Hide file tree
Showing 21 changed files with 51 additions and 39 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-deb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
required: true
jobs:
build:
runs-on: self-hosted
runs-on: ubuntu-latest
strategy:
matrix:
architecture: [ amd64, arm64 ]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/debug-pipeline.yml.disable
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
jobs:
set_version:
runs-on: self-hosted
runs-on: ubuntu-latest
steps:
- name: Set Versions
id: set_version
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ on:
jobs:
golangci:
name: lint
runs-on: self-hosted
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v3
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.18'
- uses: actions/checkout@v3
go-version-file: 'go.mod'
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.46.2
version: v1.55.2
2 changes: 1 addition & 1 deletion .github/workflows/publish-to-github-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
type: string
jobs:
build:
runs-on: self-hosted
runs-on: ubuntu-latest
strategy:
matrix:
architecture: [ amd64, arm64 ]
Expand Down
14 changes: 10 additions & 4 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,21 @@ on:
push:
branches:
- master
pull_request_target:
types: [opened, reopened, synchronize]
pull_request:
types: [ opened, reopened, synchronize ]

jobs:
update_release_draft:
runs-on: self-hosted
permissions:
# write permission is required to create a github release
contents: write
# write permission is required for autolabeler
# otherwise, read permission is required at least
pull-requests: write
runs-on: ubuntu-latest
steps:
# Drafts your next Release notes as Pull Requests are merged into "master"
- uses: release-drafter/release-drafter@v5
id: draft-release
with:
config-name: release-drafter.yml
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
set_version:
runs-on: self-hosted
runs-on: ubuntu-latest
steps:
- name: Set Versions
uses: actions/github-script@v6
Expand Down
14 changes: 10 additions & 4 deletions .github/workflows/size-label.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
name: Size Label

on:
pull_request_target:
types: [ assigned, opened, synchronize, reopened ]
pull_request:
types:
- opened
- edited
- synchronize

jobs:
size-label:
runs-on: self-hosted
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: size-label
uses: pascalgn/size-label-action@v0.4.3
uses: pascalgn/size-label-action@v0.5.0
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- '*'

pull_request_target:
pull_request:
types: [ assigned, opened, synchronize, reopened ]
paths-ignore:
- 'docs/**'
Expand All @@ -16,11 +16,11 @@ jobs:
name: run
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/setup-go@v3
- uses: actions/setup-go@v4
with:
go-version: '1.18'
go-version-file: 'go.mod'
- run: make
- run: make test
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,11 @@ fmt: ## Run go fmt against code.
go fmt ./...

addlicense: ## Add license headers to all go files.
find . -name '*.go' -exec go run github.com/google/addlicense -c 'OnMetal authors' {} +
find . -name '*.go' -exec go run github.com/google/addlicense -c 'IronCore authors' {} +

.PHONY: checklicense
checklicense: ## Check that every file has a license header present.
find . -name '*.go' -exec go run github.com/google/addlicense -check -c 'OnMetal authors' {} +
find . -name '*.go' -exec go run github.com/google/addlicense -check -c 'IronCore authors' {} +

lint: ## Run golangci-lint against code.
golangci-lint run ./...
Expand Down
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 OnMetal authors
// Copyright 2022 IronCore authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
6 changes: 3 additions & 3 deletions cmd/cmd.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 OnMetal authors
// Copyright 2022 IronCore authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -27,8 +27,8 @@ import (
"net/netip"

"github.com/alecthomas/kong"
"github.com/onmetal/metalbond"
"github.com/onmetal/metalbond/pb"
"github.com/ironcore-dev/metalbond"
"github.com/ironcore-dev/metalbond/pb"
log "github.com/sirupsen/logrus"
)

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/onmetal/metalbond
module github.com/ironcore-dev/metalbond

go 1.18

Expand Down
2 changes: 1 addition & 1 deletion http.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 OnMetal authors
// Copyright 2022 IronCore authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions metalbond.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 OnMetal authors
// Copyright 2022 IronCore authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -20,7 +20,7 @@ import (
"sync"
"time"

"github.com/onmetal/metalbond/pb"
"github.com/ironcore-dev/metalbond/pb"
"github.com/sirupsen/logrus"
)

Expand Down
2 changes: 1 addition & 1 deletion netlink.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 OnMetal authors
// Copyright 2022 IronCore authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion peer.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 OnMetal authors
// Copyright 2022 IronCore authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion peer_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 OnMetal authors
// Copyright 2023 IronCore authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion routetable.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 OnMetal authors
// Copyright 2022 IronCore authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion suite_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2023 OnMetal authors
// Copyright 2023 IronCore authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion tools.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 OnMetal authors
// Copyright 2022 IronCore authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
4 changes: 2 additions & 2 deletions types.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2022 OnMetal authors
// Copyright 2022 IronCore authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand All @@ -19,7 +19,7 @@ import (

"net/netip"

"github.com/onmetal/metalbond/pb"
"github.com/ironcore-dev/metalbond/pb"
"google.golang.org/protobuf/proto"
)

Expand Down

0 comments on commit 51046c5

Please sign in to comment.