mirror of
https://github.com/kubevela/kubevela.git
synced 2026-05-14 13:26:44 +00:00
22 lines
533 B
Go
22 lines
533 B
Go
package e2e
|
|
|
|
import (
|
|
"fmt"
|
|
|
|
"github.com/cloud-native-application/rudrx/e2e"
|
|
"github.com/onsi/ginkgo"
|
|
)
|
|
|
|
var (
|
|
envName = "env-workload"
|
|
applicationName = "app-testworkloadrun-basic"
|
|
)
|
|
|
|
var _ = ginkgo.Describe("Workload", func() {
|
|
e2e.RefreshContext("refresh")
|
|
e2e.EnvInitContext("env init", envName)
|
|
e2e.EnvSwitchContext("env switch", envName)
|
|
e2e.WorkloadRunContext("run", fmt.Sprintf("vela containerized:run %s -p 80 --image nginx:1.9.4", applicationName))
|
|
e2e.WorkloadDeleteContext("delete", applicationName)
|
|
})
|