Encrypt luks partition with allow-discards (#423)

This commit is contained in:
Itxaka
2024-07-29 09:47:03 +02:00
committed by GitHub
parent 9ad2283a01
commit 0d8d534d5d
6 changed files with 21 additions and 32 deletions

View File

@@ -1,16 +1,12 @@
package action
import (
"fmt"
"os"
agentConfig "github.com/kairos-io/kairos-agent/v2/pkg/config"
"github.com/kairos-io/kairos-sdk/collector"
"github.com/kairos-io/kairos-sdk/state"
"gopkg.in/yaml.v3"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
"gopkg.in/yaml.v3"
)
var _ = Describe("RenderTemplate action test", func() {
@@ -23,8 +19,6 @@ var _ = Describe("RenderTemplate action test", func() {
runtime, err := state.NewRuntime()
Expect(err).ToNot(HaveOccurred())
fmt.Println(os.Getwd())
result, err := RenderTemplate("../../tests/fixtures/template/test.yaml", config, runtime)
Expect(err).ToNot(HaveOccurred())
Expect(result).ToNot(BeNil())

View File

@@ -9,7 +9,7 @@ import (
"strings"
"github.com/Masterminds/semver/v3"
"github.com/google/go-github/v40/github"
"github.com/google/go-github/v63/github"
"golang.org/x/oauth2"
)