Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into jacek/fix/gomock
Browse files Browse the repository at this point in the history
  • Loading branch information
exu committed Sep 29, 2023
2 parents 0c4a746 + 6473e58 commit f6b64bf
Show file tree
Hide file tree
Showing 47 changed files with 5,819 additions and 24 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.18
go-version: 1.21

- name: Build
run: go build -v ./...
Expand Down
41 changes: 40 additions & 1 deletion PROJECT
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Code generated by tool. DO NOT EDIT.
# This file is used to track the info used to scaffold your project
# and allow the plugins properly work.
# More info: https://book.kubebuilder.io/reference/project-config.html
domain: testkube.io
layout:
- go.kubebuilder.io/v3
Expand Down Expand Up @@ -85,7 +89,42 @@ resources:
domain: testkube.io
group: tests
kind: TestSource
path: github.com/kubeshop/testkube-operator/apis/tests/v1
path: github.com/kubeshop/testkube-operator/apis/testsource/v1
version: v1
- api:
crdVersion: v1
namespaced: true
domain: testkube.io
group: tests
kind: Test
path: github.com/kubeshop/testkube-operator/apis/tests/v2
version: v2
- api:
crdVersion: v1
namespaced: true
controller: true
domain: testkube.io
group: tests
kind: TestSuite
path: github.com/kubeshop/testkube-operator/apis/testsuite/v3
version: v3
- api:
crdVersion: v1
namespaced: true
controller: true
domain: testkube.io
group: tests
kind: TestExecution
path: github.com/kubeshop/testkube-operator/apis/testexecution/v1
version: v1
- api:
crdVersion: v1
namespaced: true
controller: true
domain: testkube.io
group: tests
kind: TestSuiteExecution
path: github.com/kubeshop/testkube-operator/apis/testsuiteexecution/v1
version: v1
- api:
crdVersion: v1
Expand Down
36 changes: 36 additions & 0 deletions apis/testexecution/v1/groupversion_info.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/*
Copyright 2021.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/

// Package v1 contains API Schema definitions for the test executions v1 API group
// +kubebuilder:object:generate=true
// +groupName=tests.testkube.io
package v1

import (
"k8s.io/apimachinery/pkg/runtime/schema"
"sigs.k8s.io/controller-runtime/pkg/scheme"
)

var (
// GroupVersion is group version used to register these objects
GroupVersion = schema.GroupVersion{Group: "tests.testkube.io", Version: "v1"}

// SchemeBuilder is used to add go types to the GroupVersionKind scheme
SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

// AddToScheme adds the types in this group-version to the given scheme.
AddToScheme = SchemeBuilder.AddToScheme
)
Loading

0 comments on commit f6b64bf

Please sign in to comment.