Skip to content

Commit d9d14c3

Browse files
authored
Merge pull request #316 from liquidmetal-dev/updating-go-and-adding-viritofs
Updating golang and adding viriotfs
2 parents ff7068d + f2f914c commit d9d14c3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+634
-1392
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ jobs:
1010
- uses: actions/checkout@v2
1111
- uses: actions/setup-go@v2
1212
with:
13-
go-version: '1.17'
13+
go-version: '1.23.1'
1414
- name: Lint
1515
run: make lint

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- uses: actions/checkout@v2
1111
- uses: actions/setup-go@v2
1212
with:
13-
go-version: '1.19'
13+
go-version: '1.23.1'
1414
- name: Build
1515
run: make build
1616
- name: Test

.golangci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ linters-settings:
2424
misspell:
2525
locale: GB
2626
goimports:
27-
local-prefixes: github.com/weaveworks-liquidmetal/cluster-api-provider-microvm
27+
local-prefixes: github.com/liquidmetal-dev/cluster-api-provider-microvm
2828
govet:
2929
check-shadowing: true
3030
nolintlint:
@@ -47,10 +47,10 @@ issues:
4747
- text: "should not use dot imports|don't use an underscore in package name"
4848
linters:
4949
- golint
50-
- text: "local replacement are not allowed: github.com/weaveworks-liquidmetal/cluster-api-provider-microvm/"
50+
- text: "local replacement are not allowed: github.com/liquidmetal-dev/cluster-api-provider-microvm/"
5151
linters:
5252
- gomoddirectives
53-
- text: "github.com/weaveworks-liquidmetal/"
53+
- text: "github.com/liquidmetal-dev/"
5454
linters:
5555
- wrapcheck
5656
- source: "https://"

CONTRIBUTING.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,11 @@ Here is a non-exhaustive list of ways you can help out:
7878

7979
1. Help out others in the [community slack channel][slack-channel], or in some [discussions][discussions]. :sos:
8080

81-
1. Chime in on [bugs](https://github.com/weaveworks-liquidmetal/cluster-api-provider-microvm/issues?q=is%3Aopen+is%3Aissue+label%3Akind%2Fbug+), [feature requests](https://github.com/weaveworks-liquidmetal/cluster-api-provider-microvm/issues?q=is%3Aopen+is%3Aissue+label%3Akind%2Ffeature) and asks for [help][discussions]. :thought_balloon:
81+
1. Chime in on [bugs](https://github.com/liquidmetal-dev/cluster-api-provider-microvm/issues?q=is%3Aopen+is%3Aissue+label%3Akind%2Fbug+), [feature requests](https://github.com/liquidmetal-dev/cluster-api-provider-microvm/issues?q=is%3Aopen+is%3Aissue+label%3Akind%2Ffeature) and asks for [help][discussions]. :thought_balloon:
8282

83-
1. Dig into some [`needs-investigation`](https://github.com/weaveworks-liquidmetal/cluster-api-provider-microvm/labels/needs-investigation) or [`help wanted`](https://github.com/weaveworks-liquidmetal/cluster-api-provider-microvm/labels/help-wanted) :detective:
83+
1. Dig into some [`needs-investigation`](https://github.com/liquidmetal-dev/cluster-api-provider-microvm/labels/needs-investigation) or [`help wanted`](https://github.com/liquidmetal-dev/cluster-api-provider-microvm/labels/help-wanted) :detective:
8484

85-
1. Get involved in some [PR reviews](https://github.com/weaveworks-liquidmetal/cluster-api-provider-microvm/pulls). :nerd_face:
85+
1. Get involved in some [PR reviews](https://github.com/liquidmetal-dev/cluster-api-provider-microvm/pulls). :nerd_face:
8686

8787
# Opening Issues
8888

@@ -218,7 +218,7 @@ If you are not here to report a bug, ask for help or request some new behaviour,
218218
is the section for you. We have curated a set of issues for anyone who simply
219219
wants to build up their open-source cred :muscle:.
220220

221-
- Issues labelled [`good first issue`](https://github.com/weaveworks-liquidmetal/cluster-api-provider-microvm/labels/good%20first%20issue)
221+
- Issues labelled [`good first issue`](https://github.com/liquidmetal-dev/cluster-api-provider-microvm/labels/good%20first%20issue)
222222
should be accessible to folks new to the repo, as well as to open source in general.
223223

224224
These issues should present a low/non-existent barrier to entry with a thorough description,
@@ -234,7 +234,7 @@ wants to build up their open-source cred :muscle:.
234234

235235
See more on [asking for help](#asking-for-help) below!
236236

237-
- [`help wanted` issues](https://github.com/weaveworks-liquidmetal/cluster-api-provider-microvm/labels/help%20wanted)
237+
- [`help wanted` issues](https://github.com/liquidmetal-dev/cluster-api-provider-microvm/labels/help%20wanted)
238238
are for those a little more familiar with the code base, but should still be accessible enough
239239
to newcomers.
240240

@@ -441,7 +441,7 @@ the body of the commit should describe the _why_ and _how_.
441441
If you encountered any weirdness along the way, this is a good place
442442
to note what you discovered and how you solved it.
443443

444-
An example of a stellar commit message can be found [here](https://github.com/weaveworks-liquidmetal/flintlock/commit/7a30dd99dc7c05827ba11050505c476799bb2932).
444+
An example of a stellar commit message can be found [here](https://github.com/liquidmetal-dev/flintlock/commit/7a30dd99dc7c05827ba11050505c476799bb2932).
445445

446446
The format can be described more formally as follows:
447447

@@ -468,7 +468,7 @@ The core team regularly processes incoming issues. There may be some delay over
468468

469469
Every issue will be assigned a `priority/<x>` label. The levels of priorities are:
470470

471-
- [`critical-urgent`](https://github.com/weaveworks-liquidmetal/cluster-api-provider-microvm/labels/priority%2Fcritical-urgent): These are time sensitive issues which should be picked up immediately.
471+
- [`critical-urgent`](https://github.com/liquidmetal-dev/cluster-api-provider-microvm/labels/priority%2Fcritical-urgent): These are time sensitive issues which should be picked up immediately.
472472
If an issue labelled `critical` is not assigned or being actively worked on,
473473
someone is expected to drop what they're doing immediately to work on it.
474474
This usually means the core team, but community members are welcome to claim
@@ -477,13 +477,13 @@ Every issue will be assigned a `priority/<x>` label. The levels of priorities ar
477477
they will be paired with a core team-member to manage the tracking, communication and release of any fix
478478
as well as to assume responsibility of all progess._
479479

480-
- [`important-soon`](https://github.com/weaveworks-liquidmetal/cluster-api-provider-microvm//labels/priority%2Fimportant-soon): Must be assigned as soon as capacity becomes available.
480+
- [`important-soon`](https://github.com/liquidmetal-dev/cluster-api-provider-microvm//labels/priority%2Fimportant-soon): Must be assigned as soon as capacity becomes available.
481481
Ideally something should be delivered in time for the next release.
482482

483-
- [`important-longterm`](https://github.com/weaveworks-liquidmetal/cluster-api-provider-microvm//labels/priority%2Fimportant-longterm): Important over the long term, but may not be currently
483+
- [`important-longterm`](https://github.com/liquidmetal-dev/cluster-api-provider-microvm//labels/priority%2Fimportant-longterm): Important over the long term, but may not be currently
484484
staffed and/or may require multiple releases to complete.
485485

486-
- [`backlog`](https://github.com/weaveworks-liquidmetal/cluster-api-provider-microvm//labels/priority%2Fbacklog): There appears to be general agreement that this would be good to have,
486+
- [`backlog`](https://github.com/liquidmetal-dev/cluster-api-provider-microvm//labels/priority%2Fbacklog): There appears to be general agreement that this would be good to have,
487487
but we may not have anyone available to work on it right now or in the immediate future.
488488
PRs are still very welcome, although it might take a while to get them reviewed if
489489
reviewers are fully occupied with higher priority issues, for example immediately before a release.
@@ -492,11 +492,11 @@ These priority categories have been inspired by [the Kubernetes contributing gui
492492

493493
Other labels include:
494494

495-
- [`adr-required`](https://github.com/weaveworks-liquidmetal/cluster-api-provider-microvm//labels/adr-required):
495+
- [`adr-required`](https://github.com/liquidmetal-dev/cluster-api-provider-microvm//labels/adr-required):
496496
Indicates that the issue or PR contains a decision that needs to be documented in a [ADR](#adrs-architectural-decision-records) _before_
497497
it can be worked on.
498498

499-
- [`needs-investigation`](https://github.com/weaveworks-liquidmetal/cluster-api-provider-microvm//labels/needs-investigation): There is currently insufficient information to either categorize properly,
499+
- [`needs-investigation`](https://github.com/liquidmetal-dev/cluster-api-provider-microvm//labels/needs-investigation): There is currently insufficient information to either categorize properly,
500500
or to understand and implement a solution. This could be because the issue opener did
501501
not provide enough relevant information, or because more in-depth research is required
502502
before work can begin.
@@ -548,7 +548,7 @@ Contributors are also welcome to backfill ADRs if they are found to be missing.
548548
# :rocket: :tada: Thanks for reading! :tada: :rocket:
549549

550550
[slack-channel]: https://weave-community.slack.com/archives/C02KARWGR7S
551-
[discussions]: https://github.com/weaveworks-liquidmetal/cluster-api-provider-microvm//discussions
551+
[discussions]: https://github.com/liquidmetal-dev/cluster-api-provider-microvm//discussions
552552
[adr-template]: ./docs/adr/0000-template.md
553553
[developing]: ./docs/development-with-tilt.md
554554
[e2e]: ./test/e2e

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the manager binary
2-
FROM golang:1.19 as builder
2+
FROM golang:1.23.1 as builder
33

44
ARG goproxy=https://proxy.golang.org
55
ENV GOPROXY=$goproxy

Makefile

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ SHELL = /usr/bin/env bash -o pipefail
77
TAG ?= dev
88
ARCH ?= amd64
99
REGISTRY ?= ghcr.io
10-
ORG ?= weaveworks-liquidmetal
10+
ORG ?= liquidmetal-dev
1111
CONTROLLER_IMAGE_NAME := cluster-api-provider-microvm
1212
CONTROLLER_IMAGE ?= $(REGISTRY)/$(ORG)/$(CONTROLLER_IMAGE_NAME)
1313

@@ -23,12 +23,7 @@ CRD_ROOT ?= $(MANIFEST_ROOT)/crd/bases
2323
WEBHOOK_ROOT ?= $(MANIFEST_ROOT)/webhook
2424
RBAC_ROOT ?= $(MANIFEST_ROOT)/rbac
2525

26-
# Set --output-base for conversion-gen if we are not within GOPATH
27-
ifneq ($(abspath $(REPO_ROOT)),$(shell go env GOPATH)/src/github.com/weaveworks-liquidmetal/cluster-api-provider-microvm)
28-
GEN_OUTPUT_BASE := --output-base=$(REPO_ROOT)
29-
else
30-
export GOPATH := $(shell go env GOPATH)
31-
endif
26+
GEN_FILE :=--output-file=zz_generated.defaults.go
3227

3328
# Set build time variables including version details
3429
LDFLAGS := $(shell source ./hack/scripts/version.sh; version::ldflags)
@@ -127,8 +122,8 @@ generate-go: $(CONTROLLER_GEN) $(DEFAULTER_GEN) $(COUNTERFEITER)
127122
object:headerFile="hack/boilerplate.go.txt"
128123

129124
$(DEFAULTER_GEN) \
130-
--input-dirs=./api/v1alpha1 \
131-
--v=0 $(GEN_OUTPUT_BASE) \
125+
./api/v1alpha1 \
126+
--v=0 $(GEN_FILE) \
132127
--go-header-file=./hack/boilerplate.go.txt
133128

134129
go generate ./...

PROJECT

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ domain: cluster.x-k8s.io
22
layout:
33
- go.kubebuilder.io/v3
44
projectName: cluster-api-provider-microvm
5-
repo: github.com/weaveworks-liquidmetal/cluster-api-provider-microvm
5+
repo: github.com/liquidmetal-dev/cluster-api-provider-microvm
66
resources:
77
- api:
88
crdVersion: v1
@@ -11,7 +11,7 @@ resources:
1111
domain: cluster.x-k8s.io
1212
group: infrastructure
1313
kind: MicrovmCluster
14-
path: github.com/weaveworks-liquidmetal/cluster-api-provider-microvm/api/v1alpha1
14+
path: github.com/liquidmetal-dev/cluster-api-provider-microvm/api/v1alpha1
1515
version: v1alpha1
1616
- api:
1717
crdVersion: v1
@@ -20,7 +20,7 @@ resources:
2020
domain: cluster.x-k8s.io
2121
group: infrastructure
2222
kind: MicrovmMachine
23-
path: github.com/weaveworks-liquidmetal/cluster-api-provider-microvm/api/v1alpha1
23+
path: github.com/liquidmetal-dev/cluster-api-provider-microvm/api/v1alpha1
2424
version: v1alpha1
2525
- api:
2626
crdVersion: v1
@@ -29,6 +29,6 @@ resources:
2929
domain: cluster.x-k8s.io
3030
group: infrastructure
3131
kind: MicrovmMachineTemplate
32-
path: github.com/weaveworks-liquidmetal/cluster-api-provider-microvm/api/v1alpha1
32+
path: github.com/liquidmetal-dev/cluster-api-provider-microvm/api/v1alpha1
3333
version: v1alpha1
3434
version: "3"

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Cluster API provider Microvm
22

33
[![License: MPL 2.0](https://img.shields.io/badge/License-MPL_2.0-brightgreen.svg)](https://opensource.org/licenses/MPL-2.0)
4-
![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/weaveworks-liquidmetal/cluster-api-provider-microvm)
5-
[![Go Report Card](https://goreportcard.com/badge/github.com/weaveworks-liquidmetal/cluster-api-provider-microvm)](https://goreportcard.com/report/github.com/weaveworks-liquidmetal/cluster-api-provider-microvm)
4+
![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/liquidmetal-dev/cluster-api-provider-microvm)
5+
[![Go Report Card](https://goreportcard.com/badge/github.com/liquidmetal-dev/cluster-api-provider-microvm)](https://goreportcard.com/report/github.com/liquidmetal-dev/cluster-api-provider-microvm)
66
[![Slack](https://img.shields.io/badge/join%20slack-%23liquid--metal-brightgreen)](https://weave-community.slack.com/archives/C02KARWGR7S)
77

88
------
@@ -60,24 +60,24 @@ Other interesting resources include:
6060
Thank you to our contributors:
6161

6262
<p>
63-
<a href="https://github.com/weaveworks-liquidmetal/cluster-api-provider-microvm/graphs/contributors">
64-
<img src="https://contrib.rocks/image?repo=weaveworks-liquidmetal/cluster-api-provider-microvm" />
63+
<a href="https://github.com/liquidmetal-dev/cluster-api-provider-microvm/graphs/contributors">
64+
<img src="https://contrib.rocks/image?repo=liquidmetal-dev/cluster-api-provider-microvm" />
6565
</a>
6666
</p>
6767

6868
<!-- References -->
6969
[prow]: https://go.k8s.io/bot-commands
70-
[new_issue]: https://github.com/weaveworks-liquidmetal/cluster-api-provider-microvm/issues/new/choose
70+
[new_issue]: https://github.com/liquidmetal-dev/cluster-api-provider-microvm/issues/new/choose
7171
[cluster_api]: https://github.com/kubernetes-sigs/cluster-api
7272
[tilt]: https://tilt.dev
7373
[cluster_api_tilt]: https://master.cluster-api.sigs.k8s.io/developer/tilt.html
7474
[cluster-api-supported-v]: https://cluster-api.sigs.k8s.io/reference/versions.html
75-
[flintlock]: https://github.com/weaveworks-liquidmetal/flintlock
75+
[flintlock]: https://github.com/liquidmetal-dev/flintlock
7676
[firecracker]: https://firecracker-microvm.github.io/
7777
[cloudhypervisor]: https://www.cloudhypervisor.org/
7878
[contrib]: ./CONTRIBUTING.md
7979
[coc]: ./CODE_OF_CONDUCT.md
80-
[milestones]: https://github.com/weaveworks-liquidmetal/cluster-api-provider-microvm/milestones
80+
[milestones]: https://github.com/liquidmetal-dev/cluster-api-provider-microvm/milestones
8181
[adr]: ./docs/adr
8282
[license]: ./LICENSE
83-
[issues]: https://github.com/weaveworks-liquidmetal/cluster-api-provider-microvm/issues
83+
[issues]: https://github.com/liquidmetal-dev/cluster-api-provider-microvm/issues

api/v1alpha1/defaults.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package v1alpha1
22

33
import (
4-
"github.com/weaveworks-liquidmetal/controller-pkg/types/microvm"
4+
"github.com/liquidmetal-dev/controller-pkg/types/microvm"
55
"github.com/yitsushi/macpot"
66
)
77

api/v1alpha1/microvmcluster_types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
package v1alpha1
55

66
import (
7-
flclient "github.com/weaveworks-liquidmetal/controller-pkg/client"
8-
"github.com/weaveworks-liquidmetal/controller-pkg/types/microvm"
7+
flclient "github.com/liquidmetal-dev/controller-pkg/client"
8+
"github.com/liquidmetal-dev/controller-pkg/types/microvm"
99
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
1010
clusterv1 "sigs.k8s.io/cluster-api/api/v1beta1"
1111
)

0 commit comments

Comments
 (0)