mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
60fc73e0e7
* terraform: move module to legacy-directory * constellation-lib: refactor service account marshalling * terraform-provider: normalize Azure image URIs * constellation-lib: refactor Kubeconfig endpoint rewriting * terraform-provider: add conversion functions for AWS and GCP * terraform-provider: implement `constellation_cluster` resource * terraform-provider: refactor conversion * terraform-provider: implement image and k8s upgrades * terraform-provider: fix linter checks * terraform-provider: refactor to bundle init & upgrade method * constellation-lib: rewrite Kubeconfig endpoint in init * terraform-provider: bind logger and dialer constructors to struct * terraform-provider: move applier to function pointer * terraform-provider: gcp conversion fixes Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com> * terraform-provider: fix Azure UAMI input * terraform-provider: rename Kubeconfig variable * terraform-provider: tidy * terraform-provider: regenerate docs * constellation-lib: provide Kubeconfig in testing initserver --------- Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>
67 lines
1.8 KiB
Python
67 lines
1.8 KiB
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
load("//bazel/go:go_test.bzl", "go_test")
|
|
|
|
go_library(
|
|
name = "cloudcmd",
|
|
srcs = [
|
|
"apply.go",
|
|
"clients.go",
|
|
"cloudcmd.go",
|
|
"iam.go",
|
|
"iamupgrade.go",
|
|
"rollback.go",
|
|
"serviceaccount.go",
|
|
"terminate.go",
|
|
"tfplan.go",
|
|
"tfvars.go",
|
|
],
|
|
importpath = "github.com/edgelesssys/constellation/v2/cli/internal/cloudcmd",
|
|
visibility = ["//cli:__subpackages__"],
|
|
deps = [
|
|
"//cli/internal/libvirt",
|
|
"//cli/internal/terraform",
|
|
"//internal/attestation/variant",
|
|
"//internal/cloud/azureshared",
|
|
"//internal/cloud/cloudprovider",
|
|
"//internal/cloud/gcpshared",
|
|
"//internal/cloud/openstack",
|
|
"//internal/config",
|
|
"//internal/constants",
|
|
"//internal/constellation",
|
|
"//internal/constellation/state",
|
|
"//internal/file",
|
|
"//internal/imagefetcher",
|
|
"//internal/maa",
|
|
"//internal/mpimage",
|
|
"//internal/role",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "cloudcmd_test",
|
|
srcs = [
|
|
"apply_test.go",
|
|
"clients_test.go",
|
|
"iam_test.go",
|
|
"rollback_test.go",
|
|
"terminate_test.go",
|
|
"tfplan_test.go",
|
|
"tfvars_test.go",
|
|
],
|
|
embed = [":cloudcmd"],
|
|
deps = [
|
|
"//cli/internal/terraform",
|
|
"//internal/attestation/variant",
|
|
"//internal/cloud/cloudprovider",
|
|
"//internal/cloud/gcpshared",
|
|
"//internal/config",
|
|
"//internal/constants",
|
|
"//internal/constellation/state",
|
|
"//internal/file",
|
|
"@com_github_spf13_afero//:afero",
|
|
"@com_github_stretchr_testify//assert",
|
|
"@com_github_stretchr_testify//require",
|
|
"@org_uber_go_goleak//:goleak",
|
|
],
|
|
)
|