Skip to content

Commit

Permalink
Merge branch 'master' into release-v0.1.10
Browse files Browse the repository at this point in the history
Signed-off-by: Dean Roehrich <[email protected]>
  • Loading branch information
roehrich-hpe committed Dec 9, 2024
2 parents 12fe409 + 0d5059a commit aea5c40
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 23 deletions.
17 changes: 17 additions & 0 deletions crd-bumper.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# A comma-separated list of directories where more Go code can be found, beyond
# the usual cmd/, api/, internal/ that kubebuilder would put in place. The Go
# files in these dirs will be bumped to the new hub version.
extra_go_dirs: internal

# A comma-separated list of pathnames to Go source files. These Go files will
# be bumped to the new hub version. Use this when `extra_go_dirs` would be
# too broad.
extra_go_files: int_test.go,suite_test.go

# The main file to look at to see how APIs are being imported. The default file
# is cmd/main.go. Set this if a different file should be used.
alternate_main: suite_test.go

# Set this to true if this repo does not use controller-gen.
skip_controller_gen: true

8 changes: 4 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/NearNodeFlash/nnf-integration-test
go 1.21

require (
github.com/DataWorkflowServices/dws v0.0.1-0.20240916174522-9062a91241cd
github.com/DataWorkflowServices/dws v0.0.1-0.20241029172011-d5898d0b8640
github.com/onsi/ginkgo/v2 v2.17.1
github.com/onsi/gomega v1.32.0
go.openly.dev/pointy v1.3.0
Expand All @@ -15,9 +15,9 @@ require (
)

require (
github.com/NearNodeFlash/lustre-fs-operator v0.0.1-0.20240925185149-26d9d6071a1c
github.com/NearNodeFlash/nnf-ec v0.0.1-0.20241017152925-afc4d0cf1a4b // indirect
github.com/NearNodeFlash/nnf-sos v0.0.1-0.20241021195220-0cc1ba6de866
github.com/NearNodeFlash/lustre-fs-operator v0.0.1-0.20241209183639-2d8fdbd63dec
github.com/NearNodeFlash/nnf-ec v0.0.1-0.20241205165035-51a536434b0d // indirect
github.com/NearNodeFlash/nnf-sos v0.0.1-0.20241209195238-e03b38f0d341
)

require (
Expand Down
16 changes: 8 additions & 8 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
github.com/DataWorkflowServices/dws v0.0.1-0.20240916174522-9062a91241cd h1:/bSL8rV9cB13b3I5SCf20t4q3ab91i533sPcYIISI+8=
github.com/DataWorkflowServices/dws v0.0.1-0.20240916174522-9062a91241cd/go.mod h1:6MrEEHISskyooSKcKU6R3mFqH6Yh6KzWgajhcw2s+nM=
github.com/NearNodeFlash/lustre-fs-operator v0.0.1-0.20240925185149-26d9d6071a1c h1:fSuMz3j8UzlYZI59Ded8XuUjYd7C5IyLB55jwgSTIew=
github.com/NearNodeFlash/lustre-fs-operator v0.0.1-0.20240925185149-26d9d6071a1c/go.mod h1:3wENUqk1b7V0q5L5kNQ2ZE3z/NywL4sqXqVYolsiJ94=
github.com/NearNodeFlash/nnf-ec v0.0.1-0.20241017152925-afc4d0cf1a4b h1:Foz6dsOk49tPimuKOxHAijX2BPuLxLH3Z+IegBMKHsU=
github.com/NearNodeFlash/nnf-ec v0.0.1-0.20241017152925-afc4d0cf1a4b/go.mod h1:oxdwMqfttOF9dabJhqrWlirCnMk8/8eyLMwl+hducjk=
github.com/NearNodeFlash/nnf-sos v0.0.1-0.20241021195220-0cc1ba6de866 h1:iHjb4Et9En+qTt6Atryl9ekRvLusGZcPfemT4V7+yic=
github.com/NearNodeFlash/nnf-sos v0.0.1-0.20241021195220-0cc1ba6de866/go.mod h1:TLmkLBd/iGosS1jIHxyJoSbcHC6DUwbAvREEJAaVvJk=
github.com/DataWorkflowServices/dws v0.0.1-0.20241029172011-d5898d0b8640 h1:JSjgesWkPo9sAc7QkjWisNDOlIOGR0MQX/hxXL56FTA=
github.com/DataWorkflowServices/dws v0.0.1-0.20241029172011-d5898d0b8640/go.mod h1:6MrEEHISskyooSKcKU6R3mFqH6Yh6KzWgajhcw2s+nM=
github.com/NearNodeFlash/lustre-fs-operator v0.0.1-0.20241209183639-2d8fdbd63dec h1:LPeWeG5xeqixm1YfE26jY5mbhFS8jNkErrI+WmQLFgg=
github.com/NearNodeFlash/lustre-fs-operator v0.0.1-0.20241209183639-2d8fdbd63dec/go.mod h1:3JGfBMIfipAZbbAAesSvKzGmKGAh2Wu6pPGQWMP2f8w=
github.com/NearNodeFlash/nnf-ec v0.0.1-0.20241205165035-51a536434b0d h1:s+zaQp8959Z1KjAo/zRP05CRJUrHTKx2ItbR4C3ffQw=
github.com/NearNodeFlash/nnf-ec v0.0.1-0.20241205165035-51a536434b0d/go.mod h1:oxdwMqfttOF9dabJhqrWlirCnMk8/8eyLMwl+hducjk=
github.com/NearNodeFlash/nnf-sos v0.0.1-0.20241209195238-e03b38f0d341 h1:IM0wlIjsh0AFWs98MOjkaXDohiH3trmeRqdeUAPDdJs=
github.com/NearNodeFlash/nnf-sos v0.0.1-0.20241209195238-e03b38f0d341/go.mod h1:5wXbwDIublnrX22FCHB26PBxMOPY1J78lFh3LBY/vRE=
github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA=
github.com/benbjohnson/clock v1.3.0 h1:ip6w0uFQkncKQ979AypyG0ER7mqUSBdKLOgAle/AT8A=
github.com/benbjohnson/clock v1.3.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA=
Expand Down
16 changes: 8 additions & 8 deletions internal/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (

dwsv1alpha2 "github.com/DataWorkflowServices/dws/api/v1alpha2"
lusv1alpha1 "github.com/NearNodeFlash/lustre-fs-operator/api/v1alpha1"
nnfv1alpha3 "github.com/NearNodeFlash/nnf-sos/api/v1alpha3"
nnfv1alpha4 "github.com/NearNodeFlash/nnf-sos/api/v1alpha4"

"github.com/DataWorkflowServices/dws/utils/dwdparse"
)
Expand Down Expand Up @@ -293,7 +293,7 @@ func (t *T) Prepare(ctx context.Context, k8sClient client.Client) error {
By(fmt.Sprintf("Creating storage profile '%s'", o.storageProfile.name))

// Clone the default profile.
defaultProf := &nnfv1alpha3.NnfStorageProfile{
defaultProf := &nnfv1alpha4.NnfStorageProfile{
ObjectMeta: metav1.ObjectMeta{
Name: "default",
Namespace: "nnf-system",
Expand All @@ -302,7 +302,7 @@ func (t *T) Prepare(ctx context.Context, k8sClient client.Client) error {

Expect(k8sClient.Get(ctx, client.ObjectKeyFromObject(defaultProf), defaultProf)).To(Succeed())

profile := &nnfv1alpha3.NnfStorageProfile{
profile := &nnfv1alpha4.NnfStorageProfile{
ObjectMeta: metav1.ObjectMeta{
Name: o.storageProfile.name,
Namespace: "nnf-system",
Expand All @@ -326,7 +326,7 @@ func (t *T) Prepare(ctx context.Context, k8sClient client.Client) error {

if o.containerProfile != nil {
// Clone the provided base profile
baseProfile := &nnfv1alpha3.NnfContainerProfile{
baseProfile := &nnfv1alpha4.NnfContainerProfile{
ObjectMeta: metav1.ObjectMeta{
Name: o.containerProfile.base,
Namespace: "nnf-system",
Expand All @@ -335,7 +335,7 @@ func (t *T) Prepare(ctx context.Context, k8sClient client.Client) error {

Expect(k8sClient.Get(ctx, client.ObjectKeyFromObject(baseProfile), baseProfile)).To(Succeed())

profile := &nnfv1alpha3.NnfContainerProfile{
profile := &nnfv1alpha4.NnfContainerProfile{
ObjectMeta: metav1.ObjectMeta{
Name: o.containerProfile.name,
Namespace: "nnf-system",
Expand Down Expand Up @@ -389,7 +389,7 @@ func (t *T) Prepare(ctx context.Context, k8sClient client.Client) error {

// Extract the File System Name and MGSNids from the persistent lustre instance. This
// assumes an NNF Storage resource is created in the same name as the persistent instance
storage := &nnfv1alpha3.NnfStorage{
storage := &nnfv1alpha4.NnfStorage{
ObjectMeta: metav1.ObjectMeta{
Name: name,
Namespace: corev1.NamespaceDefault,
Expand Down Expand Up @@ -526,7 +526,7 @@ func (t *T) Cleanup(ctx context.Context, k8sClient client.Client) error {
if t.options.storageProfile != nil {
By(fmt.Sprintf("Deleting storage profile '%s'", o.storageProfile.name))

profile := &nnfv1alpha3.NnfStorageProfile{
profile := &nnfv1alpha4.NnfStorageProfile{
ObjectMeta: metav1.ObjectMeta{
Name: o.storageProfile.name,
Namespace: "nnf-system",
Expand All @@ -540,7 +540,7 @@ func (t *T) Cleanup(ctx context.Context, k8sClient client.Client) error {
if t.options.containerProfile != nil {
By(fmt.Sprintf("Deleting container profile '%s'", o.containerProfile.name))

profile := &nnfv1alpha3.NnfContainerProfile{
profile := &nnfv1alpha4.NnfContainerProfile{
ObjectMeta: metav1.ObjectMeta{
Name: o.containerProfile.name,
Namespace: "nnf-system",
Expand Down
6 changes: 3 additions & 3 deletions suite_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2022-2023 Hewlett Packard Enterprise Development LP
* Copyright 2022-2024 Hewlett Packard Enterprise Development LP
* Other additional copyright holders may be indicated within.
*
* The entirety of this work is licensed under the Apache License,
Expand Down Expand Up @@ -43,7 +43,7 @@ import (

dwsv1alpha2 "github.com/DataWorkflowServices/dws/api/v1alpha2"
lusv1alpha1 "github.com/NearNodeFlash/lustre-fs-operator/api/v1alpha1"
nnfv1alpha3 "github.com/NearNodeFlash/nnf-sos/api/v1alpha3"
nnfv1alpha4 "github.com/NearNodeFlash/nnf-sos/api/v1alpha4"
)

var (
Expand Down Expand Up @@ -113,7 +113,7 @@ var _ = BeforeSuite(func() {
err = lusv1alpha1.AddToScheme(scheme.Scheme)
Expect(err).NotTo(HaveOccurred())

err = nnfv1alpha3.AddToScheme(scheme.Scheme)
err = nnfv1alpha4.AddToScheme(scheme.Scheme)
Expect(err).NotTo(HaveOccurred())

By("Creating Client")
Expand Down

0 comments on commit aea5c40

Please sign in to comment.