Skip to content

Commit

Permalink
Change api group to appscode.com (#83)
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha authored Jan 2, 2024
1 parent d16c734 commit 3112d2e
Show file tree
Hide file tree
Showing 1,791 changed files with 93,412 additions and 11,036 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.20
- name: Set up Go 1.21
uses: actions/setup-go@v1
with:
go-version: '1.20'
go-version: '1.21'
id: go

- uses: actions/checkout@v1
Expand All @@ -44,4 +44,3 @@ jobs:
- name: Run checks
run: |
make ci
make gen-crd-protos
4 changes: 2 additions & 2 deletions .github/workflows/update-crds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.20
- name: Set up Go 1.21
uses: actions/setup-go@v1
with:
go-version: '1.20'
go-version: '1.21'
id: go

- uses: actions/checkout@v1
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ ARCH := $(if $(GOARCH),$(GOARCH),$(shell go env GOARCH))
BASEIMAGE_PROD ?= gcr.io/distroless/static-debian11
BASEIMAGE_DBG ?= debian:bullseye

GO_VERSION ?= 1.20
GO_VERSION ?= 1.21
BUILD_IMAGE ?= ghcr.io/appscode/golang-dev:$(GO_VERSION)

OUTBIN = bin/$(BIN)-$(OS)-$(ARCH)
Expand Down Expand Up @@ -311,7 +311,7 @@ unit-tests: $(BUILD_DIRS)
./hack/test.sh $(SRC_PKGS) \
"

ADDTL_LINTERS := goconst,gofmt,goimports,unparam
ADDTL_LINTERS := gofmt,goimports,unparam

.PHONY: lint
lint: $(BUILD_DIRS)
Expand Down
2 changes: 1 addition & 1 deletion apis/cloud/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const (
LabelCredentialType = "byte.builders/cluster-credential-type"
LabelCredentialOwnerID = "byte.builders/cluster-credential-owner-id"

KeyCloudProvider = "cloud.bytebuilders.dev/provider"
KeyCloudProvider = "cloud.appscode.com/provider"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion apis/cloud/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ limitations under the License.
package cloud

// GroupName is the group name use in this package
const GroupName = "cloud.bytebuilders.dev"
const GroupName = "cloud.appscode.com"
2 changes: 1 addition & 1 deletion apis/cloud/v1alpha1/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ limitations under the License.
// +k8s:openapi-gen=true
// +k8s:defaulter-gen=TypeMeta

// +groupName=cloud.bytebuilders.dev
// +groupName=cloud.appscode.com
package v1alpha1
266 changes: 0 additions & 266 deletions apis/cloud/v1alpha1/generated.proto

This file was deleted.

2 changes: 1 addition & 1 deletion apis/cluster/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ limitations under the License.
package cluster

// GroupName is the group name use in this package
const GroupName = "cluster.bytebuilders.dev"
const GroupName = "cluster.appscode.com"
2 changes: 1 addition & 1 deletion apis/cluster/v1alpha1/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ limitations under the License.
// +k8s:openapi-gen=true
// +k8s:defaulter-gen=TypeMeta

// +groupName=cluster.bytebuilders.dev
// +groupName=cluster.appscode.com
package v1alpha1
Loading

0 comments on commit 3112d2e

Please sign in to comment.