Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
Merge pull request #620 from darkowlzz/remove-v1alpha1
Browse files Browse the repository at this point in the history
  • Loading branch information
stealthybox authored Jun 22, 2020
2 parents aedb9cd + c8cb5fc commit 6d467f3
Show file tree
Hide file tree
Showing 14 changed files with 2 additions and 2,426 deletions.
4 changes: 1 addition & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ jobs:
- restore_cache:
key: bin-cache
# Run autogeneration and see if there are differences
# TODO: Fix this; somehow the docs/api/ignite_v1alpha1.md ends up being malformatted in CI; it adds
# <sup>@</sup>@ in the beginning of the file for some strange reason in CI, but not locally
- run: make autogen && make tidy-in-docker && git status --short && git checkout HEAD docs/api/ignite_v1alpha1.md
- run: make autogen && make tidy-in-docker && git status --short
# Save the bin/cache directory
- save_cache:
key: bin-cache
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ IMAGE_TAG:=$(shell IGNITE_GIT_VERSION=$(GIT_VERSION) DOCKER_USER=$(DOCKER_USER)
IS_DIRTY:=$(shell echo ${GIT_VERSION} | grep -c dirty)
PROJECT = github.com/weaveworks/ignite
APIS_DIR = ${PROJECT}/pkg/apis
API_DIRS = ${APIS_DIR}/ignite,${APIS_DIR}/ignite/v1alpha1,${APIS_DIR}/ignite/v1alpha2,${APIS_DIR}/meta/v1alpha1
API_DIRS = ${APIS_DIR}/ignite,${APIS_DIR}/ignite/v1alpha2,${APIS_DIR}/meta/v1alpha1
CACHE_DIR = $(shell pwd)/bin/cache
# Specifies if this is a CI build or not; if it is, it will save the docker image created to bin/$(GOARCH)/image.tar
IS_CI_BUILD ?= 0
Expand Down
2 changes: 0 additions & 2 deletions pkg/apis/ignite/scheme/scheme.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import (
utilruntime "k8s.io/apimachinery/pkg/util/runtime"

"github.com/weaveworks/ignite/pkg/apis/ignite"
"github.com/weaveworks/ignite/pkg/apis/ignite/v1alpha1"
"github.com/weaveworks/ignite/pkg/apis/ignite/v1alpha2"
"github.com/weaveworks/libgitops/pkg/serializer"
)
Expand All @@ -30,7 +29,6 @@ func init() {
// AddToScheme builds the scheme using all known versions of the api.
func AddToScheme(scheme *runtime.Scheme) {
utilruntime.Must(ignite.AddToScheme(Scheme))
utilruntime.Must(v1alpha1.AddToScheme(Scheme))
utilruntime.Must(v1alpha2.AddToScheme(Scheme))
utilruntime.Must(scheme.SetVersionPriority(v1alpha2.SchemeGroupVersion))
}
182 changes: 0 additions & 182 deletions pkg/apis/ignite/v1alpha1/conversion.go

This file was deleted.

83 changes: 0 additions & 83 deletions pkg/apis/ignite/v1alpha1/defaults.go

This file was deleted.

5 changes: 0 additions & 5 deletions pkg/apis/ignite/v1alpha1/doc.go

This file was deleted.

50 changes: 0 additions & 50 deletions pkg/apis/ignite/v1alpha1/json.go

This file was deleted.

39 changes: 0 additions & 39 deletions pkg/apis/ignite/v1alpha1/register.go

This file was deleted.

Loading

0 comments on commit 6d467f3

Please sign in to comment.