mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-10-21 19:44:39 +00:00
Encrypt luks partition with allow-discards (#423)
This commit is contained in:
@@ -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())
|
||||
|
@@ -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"
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user