2023-03-16 09:24:53 -04:00
|
|
|
"""CI dependencies"""
|
|
|
|
|
2023-03-17 12:35:03 -04:00
|
|
|
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file")
|
2023-03-16 09:24:53 -04:00
|
|
|
|
|
|
|
def ci_deps():
|
2023-03-17 11:20:39 -04:00
|
|
|
"""Install CI dependencies"""
|
2023-03-16 09:24:53 -04:00
|
|
|
_shellcheck_deps()
|
2023-03-17 11:20:39 -04:00
|
|
|
_terraform_deps()
|
2023-03-17 12:14:27 -04:00
|
|
|
_actionlint_deps()
|
2023-03-17 12:35:03 -04:00
|
|
|
_gofumpt_deps()
|
2023-03-17 12:45:41 -04:00
|
|
|
_tfsec_deps()
|
2023-03-23 12:27:09 -04:00
|
|
|
_golangci_lint_deps()
|
2023-03-23 13:08:49 -04:00
|
|
|
_buf_deps()
|
2023-03-28 08:50:17 -04:00
|
|
|
_talos_docgen_deps()
|
2023-03-29 07:58:37 -04:00
|
|
|
_helm_deps()
|
2023-04-12 10:06:26 -04:00
|
|
|
_ghh_deps()
|
2023-03-16 09:24:53 -04:00
|
|
|
|
|
|
|
def _shellcheck_deps():
|
|
|
|
http_archive(
|
2023-03-28 08:50:17 -04:00
|
|
|
name = "com_github_koalaman_shellcheck_linux_amd64",
|
2023-03-16 09:24:53 -04:00
|
|
|
urls = [
|
2023-03-30 03:41:56 -04:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/700324c6dd0ebea0117591c6cc9d7350d9c7c5c287acbad7630fa17b1d4d9e2f",
|
2023-03-16 09:24:53 -04:00
|
|
|
"https://github.com/koalaman/shellcheck/releases/download/v0.9.0/shellcheck-v0.9.0.linux.x86_64.tar.xz",
|
|
|
|
],
|
|
|
|
sha256 = "700324c6dd0ebea0117591c6cc9d7350d9c7c5c287acbad7630fa17b1d4d9e2f",
|
|
|
|
strip_prefix = "shellcheck-v0.9.0",
|
2023-03-23 12:26:48 -04:00
|
|
|
build_file_content = """exports_files(["shellcheck"], visibility = ["//visibility:public"])""",
|
2023-03-30 03:41:56 -04:00
|
|
|
type = "tar.xz",
|
2023-03-16 09:24:53 -04:00
|
|
|
)
|
|
|
|
http_archive(
|
2023-03-28 08:50:17 -04:00
|
|
|
name = "com_github_koalaman_shellcheck_linux_aamd64",
|
2023-03-16 09:24:53 -04:00
|
|
|
urls = [
|
2023-03-30 03:41:56 -04:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/179c579ef3481317d130adebede74a34dbbc2df961a70916dd4039ebf0735fae",
|
2023-03-16 09:24:53 -04:00
|
|
|
"https://github.com/koalaman/shellcheck/releases/download/v0.9.0/shellcheck-v0.9.0.linux.aarch64.tar.xz",
|
|
|
|
],
|
2023-03-17 11:34:54 -04:00
|
|
|
sha256 = "179c579ef3481317d130adebede74a34dbbc2df961a70916dd4039ebf0735fae",
|
2023-03-16 09:24:53 -04:00
|
|
|
strip_prefix = "shellcheck-v0.9.0",
|
2023-03-23 12:26:48 -04:00
|
|
|
build_file_content = """exports_files(["shellcheck"], visibility = ["//visibility:public"])""",
|
2023-03-30 03:41:56 -04:00
|
|
|
type = "tar.xz",
|
2023-03-16 09:24:53 -04:00
|
|
|
)
|
|
|
|
http_archive(
|
2023-03-28 08:50:17 -04:00
|
|
|
name = "com_github_koalaman_shellcheck_darwin_amd64",
|
2023-03-16 09:24:53 -04:00
|
|
|
urls = [
|
2023-03-30 03:41:56 -04:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/7d3730694707605d6e60cec4efcb79a0632d61babc035aa16cda1b897536acf5",
|
2023-03-16 09:24:53 -04:00
|
|
|
"https://github.com/koalaman/shellcheck/releases/download/v0.9.0/shellcheck-v0.9.0.darwin.x86_64.tar.xz",
|
|
|
|
],
|
2023-03-17 11:34:54 -04:00
|
|
|
sha256 = "7d3730694707605d6e60cec4efcb79a0632d61babc035aa16cda1b897536acf5",
|
2023-03-16 09:24:53 -04:00
|
|
|
strip_prefix = "shellcheck-v0.9.0",
|
2023-03-23 12:26:48 -04:00
|
|
|
build_file_content = """exports_files(["shellcheck"], visibility = ["//visibility:public"])""",
|
2023-03-30 03:41:56 -04:00
|
|
|
type = "tar.xz",
|
2023-03-16 09:24:53 -04:00
|
|
|
)
|
2023-03-17 11:20:39 -04:00
|
|
|
|
|
|
|
def _terraform_deps():
|
|
|
|
http_archive(
|
|
|
|
name = "com_github_hashicorp_terraform_linux_amd64",
|
2023-03-23 12:26:48 -04:00
|
|
|
build_file_content = """exports_files(["terraform"], visibility = ["//visibility:public"])""",
|
2023-03-17 11:20:39 -04:00
|
|
|
urls = [
|
2023-03-30 03:41:56 -04:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/9f3ca33d04f5335472829d1df7785115b60176d610ae6f1583343b0a2221a931",
|
2023-03-17 11:20:39 -04:00
|
|
|
"https://releases.hashicorp.com/terraform/1.4.2/terraform_1.4.2_linux_amd64.zip",
|
|
|
|
],
|
|
|
|
sha256 = "9f3ca33d04f5335472829d1df7785115b60176d610ae6f1583343b0a2221a931",
|
2023-03-30 03:41:56 -04:00
|
|
|
type = "zip",
|
2023-03-17 11:20:39 -04:00
|
|
|
)
|
|
|
|
http_archive(
|
|
|
|
name = "com_github_hashicorp_terraform_linux_arm64",
|
2023-03-23 12:26:48 -04:00
|
|
|
build_file_content = """exports_files(["terraform"], visibility = ["//visibility:public"])""",
|
2023-03-17 11:20:39 -04:00
|
|
|
urls = [
|
2023-03-30 03:41:56 -04:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/39c182670c4e63e918e0a16080b1cc47bb16e158d7da96333d682d6a9cb8eb91",
|
2023-03-17 11:20:39 -04:00
|
|
|
"https://releases.hashicorp.com/terraform/1.4.2/terraform_1.4.2_linux_arm64.zip",
|
|
|
|
],
|
|
|
|
sha256 = "39c182670c4e63e918e0a16080b1cc47bb16e158d7da96333d682d6a9cb8eb91",
|
2023-03-30 03:41:56 -04:00
|
|
|
type = "zip",
|
2023-03-17 11:20:39 -04:00
|
|
|
)
|
|
|
|
http_archive(
|
|
|
|
name = "com_github_hashicorp_terraform_darwin_amd64",
|
2023-03-23 12:26:48 -04:00
|
|
|
build_file_content = """exports_files(["terraform"], visibility = ["//visibility:public"])""",
|
2023-03-17 11:20:39 -04:00
|
|
|
urls = [
|
2023-03-30 03:41:56 -04:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/c218a6c0ef6692b25af16995c8c7bdf6739e9638fef9235c6aced3cd84afaf66",
|
2023-03-17 11:20:39 -04:00
|
|
|
"https://releases.hashicorp.com/terraform/1.4.2/terraform_1.4.2_darwin_amd64.zip",
|
|
|
|
],
|
|
|
|
sha256 = "c218a6c0ef6692b25af16995c8c7bdf6739e9638fef9235c6aced3cd84afaf66",
|
2023-03-30 03:41:56 -04:00
|
|
|
type = "zip",
|
2023-03-17 11:20:39 -04:00
|
|
|
)
|
|
|
|
http_archive(
|
|
|
|
name = "com_github_hashicorp_terraform_darwin_arm64",
|
2023-03-23 12:26:48 -04:00
|
|
|
build_file_content = """exports_files(["terraform"], visibility = ["//visibility:public"])""",
|
2023-03-17 11:20:39 -04:00
|
|
|
urls = [
|
2023-03-30 03:41:56 -04:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/af8ff7576c8fc41496fdf97e9199b00d8d81729a6a0e821eaf4dfd08aa763540",
|
2023-03-17 11:20:39 -04:00
|
|
|
"https://releases.hashicorp.com/terraform/1.4.2/terraform_1.4.2_darwin_arm64.zip",
|
|
|
|
],
|
|
|
|
sha256 = "af8ff7576c8fc41496fdf97e9199b00d8d81729a6a0e821eaf4dfd08aa763540",
|
2023-03-30 03:41:56 -04:00
|
|
|
type = "zip",
|
2023-03-17 11:20:39 -04:00
|
|
|
)
|
2023-03-17 12:14:27 -04:00
|
|
|
|
|
|
|
def _actionlint_deps():
|
|
|
|
http_archive(
|
|
|
|
name = "com_github_rhysd_actionlint_linux_amd64",
|
2023-03-23 12:26:48 -04:00
|
|
|
build_file_content = """exports_files(["actionlint"], visibility = ["//visibility:public"])""",
|
2023-03-17 12:14:27 -04:00
|
|
|
urls = [
|
2023-04-12 09:40:01 -04:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/3c5818744143a5d6754edd3dcc4c2b32c9dfcdd3bb30e0e108fb5e5c505262d4",
|
|
|
|
"https://github.com/rhysd/actionlint/releases/download/v1.6.24/actionlint_1.6.24_linux_amd64.tar.gz",
|
2023-03-17 12:14:27 -04:00
|
|
|
],
|
2023-03-30 03:41:56 -04:00
|
|
|
type = "tar.gz",
|
2023-04-12 09:40:01 -04:00
|
|
|
sha256 = "3c5818744143a5d6754edd3dcc4c2b32c9dfcdd3bb30e0e108fb5e5c505262d4",
|
2023-03-17 12:14:27 -04:00
|
|
|
)
|
|
|
|
http_archive(
|
|
|
|
name = "com_github_rhysd_actionlint_linux_arm64",
|
2023-03-23 12:26:48 -04:00
|
|
|
build_file_content = """exports_files(["actionlint"], visibility = ["//visibility:public"])""",
|
2023-03-17 12:14:27 -04:00
|
|
|
urls = [
|
2023-04-12 09:40:01 -04:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/93cc9d1f4a01f0658423b41ecf3bd8c17c619003ec683be8bac9264d0361d0d8",
|
|
|
|
"https://github.com/rhysd/actionlint/releases/download/v1.6.24/actionlint_1.6.24_linux_arm64.tar.gz",
|
2023-03-17 12:14:27 -04:00
|
|
|
],
|
2023-03-30 03:41:56 -04:00
|
|
|
type = "tar.gz",
|
2023-04-12 09:40:01 -04:00
|
|
|
sha256 = "93cc9d1f4a01f0658423b41ecf3bd8c17c619003ec683be8bac9264d0361d0d8",
|
2023-03-17 12:14:27 -04:00
|
|
|
)
|
|
|
|
http_archive(
|
|
|
|
name = "com_github_rhysd_actionlint_darwin_amd64",
|
2023-03-23 12:26:48 -04:00
|
|
|
build_file_content = """exports_files(["actionlint"], visibility = ["//visibility:public"])""",
|
2023-03-17 12:14:27 -04:00
|
|
|
urls = [
|
2023-04-12 09:40:01 -04:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/ce9dd9653700e3ed00464dffddd3e2a61358cf96425f2f3dff840dfc1e105eab",
|
|
|
|
"https://github.com/rhysd/actionlint/releases/download/v1.6.24/actionlint_1.6.24_darwin_amd64.tar.gz",
|
2023-03-17 12:14:27 -04:00
|
|
|
],
|
2023-03-30 03:41:56 -04:00
|
|
|
type = "tar.gz",
|
2023-04-12 09:40:01 -04:00
|
|
|
sha256 = "ce9dd9653700e3ed00464dffddd3e2a61358cf96425f2f3dff840dfc1e105eab",
|
2023-03-17 12:14:27 -04:00
|
|
|
)
|
|
|
|
http_archive(
|
|
|
|
name = "com_github_rhysd_actionlint_darwin_arm64",
|
2023-03-23 12:26:48 -04:00
|
|
|
build_file_content = """exports_files(["actionlint"], visibility = ["//visibility:public"])""",
|
2023-03-17 12:14:27 -04:00
|
|
|
urls = [
|
2023-04-12 09:40:01 -04:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/5477f8a5a4073ef086525a2512b2bf1201641cd544034ad0c66f329590638242",
|
|
|
|
"https://github.com/rhysd/actionlint/releases/download/v1.6.24/actionlint_1.6.24_darwin_arm64.tar.gz",
|
2023-03-17 12:14:27 -04:00
|
|
|
],
|
2023-03-30 03:41:56 -04:00
|
|
|
type = "tar.gz",
|
2023-04-12 09:40:01 -04:00
|
|
|
sha256 = "5477f8a5a4073ef086525a2512b2bf1201641cd544034ad0c66f329590638242",
|
2023-03-17 12:14:27 -04:00
|
|
|
)
|
2023-03-17 12:35:03 -04:00
|
|
|
|
|
|
|
def _gofumpt_deps():
|
|
|
|
http_file(
|
|
|
|
name = "com_github_mvdan_gofumpt_linux_amd64",
|
|
|
|
urls = [
|
2023-04-12 10:12:57 -04:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/759c6ab56bfbf62cafb35944aef1e0104a117e0aebfe44816fd79ef4b28521e4",
|
|
|
|
"https://github.com/mvdan/gofumpt/releases/download/v0.5.0/gofumpt_v0.5.0_linux_amd64",
|
2023-03-17 12:35:03 -04:00
|
|
|
],
|
|
|
|
executable = True,
|
2023-03-28 08:50:17 -04:00
|
|
|
downloaded_file_path = "gofumpt",
|
2023-04-12 10:12:57 -04:00
|
|
|
sha256 = "759c6ab56bfbf62cafb35944aef1e0104a117e0aebfe44816fd79ef4b28521e4",
|
2023-03-17 12:35:03 -04:00
|
|
|
)
|
|
|
|
http_file(
|
|
|
|
name = "com_github_mvdan_gofumpt_linux_arm64",
|
|
|
|
urls = [
|
2023-04-12 10:12:57 -04:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/fba20ffd06606c89a500e3cc836408a09e4767e2f117c97724237ae4ecadf82e",
|
|
|
|
"https://github.com/mvdan/gofumpt/releases/download/v0.5.0/gofumpt_v0.5.0_linux_arm64",
|
2023-03-17 12:35:03 -04:00
|
|
|
],
|
|
|
|
executable = True,
|
2023-03-28 08:50:17 -04:00
|
|
|
downloaded_file_path = "gofumpt",
|
2023-04-12 10:12:57 -04:00
|
|
|
sha256 = "fba20ffd06606c89a500e3cc836408a09e4767e2f117c97724237ae4ecadf82e",
|
2023-03-17 12:35:03 -04:00
|
|
|
)
|
|
|
|
http_file(
|
|
|
|
name = "com_github_mvdan_gofumpt_darwin_amd64",
|
|
|
|
urls = [
|
2023-04-12 10:12:57 -04:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/870f05a23541aad3d20d208a3ea17606169a240f608ac1cf987426198c14b2ed",
|
|
|
|
"https://github.com/mvdan/gofumpt/releases/download/v0.5.0/gofumpt_v0.5.0_darwin_amd64",
|
2023-03-17 12:35:03 -04:00
|
|
|
],
|
|
|
|
executable = True,
|
2023-03-28 08:50:17 -04:00
|
|
|
downloaded_file_path = "gofumpt",
|
2023-04-12 10:12:57 -04:00
|
|
|
sha256 = "870f05a23541aad3d20d208a3ea17606169a240f608ac1cf987426198c14b2ed",
|
2023-03-17 12:35:03 -04:00
|
|
|
)
|
|
|
|
http_file(
|
|
|
|
name = "com_github_mvdan_gofumpt_darwin_arm64",
|
|
|
|
urls = [
|
2023-04-12 10:12:57 -04:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/f2df95d5fad8498ad8eeb0be8abdb8bb8d05e8130b332cb69751dfd090fabac4",
|
|
|
|
"https://github.com/mvdan/gofumpt/releases/download/v0.5.0/gofumpt_v0.5.0_darwin_arm64",
|
2023-03-17 12:35:03 -04:00
|
|
|
],
|
|
|
|
executable = True,
|
2023-03-28 08:50:17 -04:00
|
|
|
downloaded_file_path = "gofumpt",
|
2023-04-12 10:12:57 -04:00
|
|
|
sha256 = "f2df95d5fad8498ad8eeb0be8abdb8bb8d05e8130b332cb69751dfd090fabac4",
|
2023-03-17 12:35:03 -04:00
|
|
|
)
|
2023-03-17 12:45:41 -04:00
|
|
|
|
|
|
|
def _tfsec_deps():
|
|
|
|
http_archive(
|
|
|
|
name = "com_github_aquasecurity_tfsec_linux_amd64",
|
2023-03-23 12:26:48 -04:00
|
|
|
build_file_content = """exports_files(["tfsec"], visibility = ["//visibility:public"])""",
|
2023-03-17 12:45:41 -04:00
|
|
|
urls = [
|
2023-03-30 03:41:56 -04:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/57b902b31da3eed12448a4e82a8aca30477e4bcd1bf99e3f65310eae0889f88d",
|
2023-03-17 12:45:41 -04:00
|
|
|
"https://github.com/aquasecurity/tfsec/releases/download/v1.28.1/tfsec_1.28.1_linux_amd64.tar.gz",
|
|
|
|
],
|
|
|
|
sha256 = "57b902b31da3eed12448a4e82a8aca30477e4bcd1bf99e3f65310eae0889f88d",
|
2023-03-30 03:41:56 -04:00
|
|
|
type = "tar.gz",
|
2023-03-17 12:45:41 -04:00
|
|
|
)
|
|
|
|
http_archive(
|
|
|
|
name = "com_github_aquasecurity_tfsec_linux_arm64",
|
2023-03-23 12:26:48 -04:00
|
|
|
build_file_content = """exports_files(["tfsec"], visibility = ["//visibility:public"])""",
|
2023-03-17 12:45:41 -04:00
|
|
|
urls = [
|
2023-03-30 03:41:56 -04:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/20daad803d2a7a781f2ef0ee72ba4ed4ae17dcb41a43a330ae7b98347762bec9",
|
2023-03-17 12:45:41 -04:00
|
|
|
"https://github.com/aquasecurity/tfsec/releases/download/v1.28.1/tfsec_1.28.1_linux_arm64.tar.gz",
|
|
|
|
],
|
|
|
|
sha256 = "20daad803d2a7a781f2ef0ee72ba4ed4ae17dcb41a43a330ae7b98347762bec9",
|
2023-03-30 03:41:56 -04:00
|
|
|
type = "tar.gz",
|
2023-03-17 12:45:41 -04:00
|
|
|
)
|
|
|
|
http_archive(
|
|
|
|
name = "com_github_aquasecurity_tfsec_darwin_amd64",
|
2023-03-23 12:26:48 -04:00
|
|
|
build_file_content = """exports_files(["tfsec"], visibility = ["//visibility:public"])""",
|
2023-03-17 12:45:41 -04:00
|
|
|
urls = [
|
2023-03-30 03:41:56 -04:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/6d9f5a747b1fcc1b6c314d30f4ff4d753371e5690309a99a5dd653d719d20d2d",
|
2023-03-17 12:45:41 -04:00
|
|
|
"https://github.com/aquasecurity/tfsec/releases/download/v1.28.1/tfsec_1.28.1_darwin_amd64.tar.gz",
|
|
|
|
],
|
|
|
|
sha256 = "6d9f5a747b1fcc1b6c314d30f4ff4d753371e5690309a99a5dd653d719d20d2d",
|
2023-03-30 03:41:56 -04:00
|
|
|
type = "tar.gz",
|
2023-03-17 12:45:41 -04:00
|
|
|
)
|
|
|
|
http_archive(
|
|
|
|
name = "com_github_aquasecurity_tfsec_darwin_arm64",
|
2023-03-23 12:26:48 -04:00
|
|
|
build_file_content = """exports_files(["tfsec"], visibility = ["//visibility:public"])""",
|
2023-03-17 12:45:41 -04:00
|
|
|
urls = [
|
2023-03-30 03:41:56 -04:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/6d664dcdd37e2809d1b4f14b310ccda0973b4a29e4624e902286e4964d101e22",
|
2023-03-17 12:45:41 -04:00
|
|
|
"https://github.com/aquasecurity/tfsec/releases/download/v1.28.1/tfsec_1.28.1_darwin_arm64.tar.gz",
|
|
|
|
],
|
|
|
|
sha256 = "6d664dcdd37e2809d1b4f14b310ccda0973b4a29e4624e902286e4964d101e22",
|
2023-03-30 03:41:56 -04:00
|
|
|
type = "tar.gz",
|
2023-03-17 12:45:41 -04:00
|
|
|
)
|
2023-03-23 12:27:09 -04:00
|
|
|
|
|
|
|
def _golangci_lint_deps():
|
|
|
|
http_archive(
|
|
|
|
name = "com_github_golangci_golangci_lint_linux_amd64",
|
|
|
|
build_file = "//bazel/toolchains:BUILD.golangci.bazel",
|
|
|
|
urls = [
|
2023-04-05 12:40:35 -04:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/c9cf72d12058a131746edd409ed94ccd578fbd178899d1ed41ceae3ce5f54501",
|
|
|
|
"https://github.com/golangci/golangci-lint/releases/download/v1.52.2/golangci-lint-1.52.2-linux-amd64.tar.gz",
|
2023-03-23 12:27:09 -04:00
|
|
|
],
|
2023-04-05 12:40:35 -04:00
|
|
|
strip_prefix = "golangci-lint-1.52.2-linux-amd64",
|
2023-03-30 03:41:56 -04:00
|
|
|
type = "tar.gz",
|
2023-04-05 12:40:35 -04:00
|
|
|
sha256 = "c9cf72d12058a131746edd409ed94ccd578fbd178899d1ed41ceae3ce5f54501",
|
2023-03-23 12:27:09 -04:00
|
|
|
)
|
|
|
|
http_archive(
|
|
|
|
name = "com_github_golangci_golangci_lint_linux_arm64",
|
|
|
|
build_file = "//bazel/toolchains:BUILD.golangci.bazel",
|
|
|
|
urls = [
|
2023-04-05 12:40:35 -04:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/fc09a97f8888809fab83a316f7da70c8ed74d4863b7eed7d872cec41911a55e8",
|
|
|
|
"https://github.com/golangci/golangci-lint/releases/download/v1.52.2/golangci-lint-1.52.2-linux-arm64.tar.gz",
|
2023-03-23 12:27:09 -04:00
|
|
|
],
|
2023-04-05 12:40:35 -04:00
|
|
|
strip_prefix = "golangci-lint-1.52.2-linux-arm64",
|
2023-03-30 03:41:56 -04:00
|
|
|
type = "tar.gz",
|
2023-04-05 12:40:35 -04:00
|
|
|
sha256 = "fc09a97f8888809fab83a316f7da70c8ed74d4863b7eed7d872cec41911a55e8",
|
2023-03-23 12:27:09 -04:00
|
|
|
)
|
|
|
|
http_archive(
|
|
|
|
name = "com_github_golangci_golangci_lint_darwin_amd64",
|
|
|
|
build_file = "//bazel/toolchains:BUILD.golangci.bazel",
|
|
|
|
urls = [
|
2023-04-05 12:40:35 -04:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/e57f2599de73c4da1d36d5255b9baec63f448b3d7fb726ebd3cd64dabbd3ee4a",
|
|
|
|
"https://github.com/golangci/golangci-lint/releases/download/v1.52.2/golangci-lint-1.52.2-darwin-amd64.tar.gz",
|
2023-03-23 12:27:09 -04:00
|
|
|
],
|
2023-04-05 12:40:35 -04:00
|
|
|
strip_prefix = "golangci-lint-1.52.2-darwin-amd64",
|
2023-03-30 03:41:56 -04:00
|
|
|
type = "tar.gz",
|
2023-04-05 12:40:35 -04:00
|
|
|
sha256 = "e57f2599de73c4da1d36d5255b9baec63f448b3d7fb726ebd3cd64dabbd3ee4a",
|
2023-03-23 12:27:09 -04:00
|
|
|
)
|
|
|
|
http_archive(
|
|
|
|
name = "com_github_golangci_golangci_lint_darwin_arm64",
|
|
|
|
build_file = "//bazel/toolchains:BUILD.golangci.bazel",
|
|
|
|
urls = [
|
2023-04-05 12:40:35 -04:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/89e523d45883903cfc472ab65621073f850abd4ffbb7720bbdd7ba66ee490bc8",
|
|
|
|
"https://github.com/golangci/golangci-lint/releases/download/v1.52.2/golangci-lint-1.52.2-darwin-arm64.tar.gz",
|
2023-03-23 12:27:09 -04:00
|
|
|
],
|
2023-04-05 12:40:35 -04:00
|
|
|
strip_prefix = "golangci-lint-1.52.2-darwin-arm64",
|
2023-03-30 03:41:56 -04:00
|
|
|
type = "tar.gz",
|
2023-04-05 12:40:35 -04:00
|
|
|
sha256 = "89e523d45883903cfc472ab65621073f850abd4ffbb7720bbdd7ba66ee490bc8",
|
2023-03-23 12:27:09 -04:00
|
|
|
)
|
2023-03-23 13:08:49 -04:00
|
|
|
|
|
|
|
def _buf_deps():
|
|
|
|
http_archive(
|
|
|
|
name = "com_github_bufbuild_buf_linux_amd64",
|
2023-03-28 08:50:17 -04:00
|
|
|
strip_prefix = "buf/bin",
|
|
|
|
build_file_content = """exports_files(["buf"], visibility = ["//visibility:public"])""",
|
2023-03-30 03:41:56 -04:00
|
|
|
urls = [
|
2023-04-05 12:09:28 -04:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/f79670efc64d0527e0b915a272aea8262b4864ad9298e8d1cf39b7b08517607c",
|
|
|
|
"https://github.com/bufbuild/buf/releases/download/v1.17.0/buf-Linux-x86_64.tar.gz",
|
2023-03-30 03:41:56 -04:00
|
|
|
],
|
|
|
|
type = "tar.gz",
|
2023-04-05 12:09:28 -04:00
|
|
|
sha256 = "f79670efc64d0527e0b915a272aea8262b4864ad9298e8d1cf39b7b08517607c",
|
2023-03-23 13:08:49 -04:00
|
|
|
)
|
|
|
|
http_archive(
|
2023-03-28 08:50:17 -04:00
|
|
|
name = "com_github_bufbuild_buf_linux_arm64",
|
|
|
|
strip_prefix = "buf/bin",
|
|
|
|
build_file_content = """exports_files(["buf"], visibility = ["//visibility:public"])""",
|
2023-03-30 03:41:56 -04:00
|
|
|
urls = [
|
2023-04-05 12:09:28 -04:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/7ae3d4bf6ff121172dd949bd4d25342e03a0b7f10cf8e8ccdc8f98a664b79794",
|
|
|
|
"https://github.com/bufbuild/buf/releases/download/v1.17.0/buf-Linux-aarch64.tar.gz",
|
2023-03-30 03:41:56 -04:00
|
|
|
],
|
|
|
|
type = "tar.gz",
|
2023-04-05 12:09:28 -04:00
|
|
|
sha256 = "7ae3d4bf6ff121172dd949bd4d25342e03a0b7f10cf8e8ccdc8f98a664b79794",
|
2023-03-23 13:08:49 -04:00
|
|
|
)
|
|
|
|
http_archive(
|
|
|
|
name = "com_github_bufbuild_buf_darwin_amd64",
|
2023-03-28 08:50:17 -04:00
|
|
|
strip_prefix = "buf/bin",
|
|
|
|
build_file_content = """exports_files(["buf"], visibility = ["//visibility:public"])""",
|
2023-03-30 03:41:56 -04:00
|
|
|
urls = [
|
2023-04-05 12:09:28 -04:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/4a9a9af802630d7547dfbd79727c462ec7acd4978b91b922957438d4aec99ac9",
|
|
|
|
"https://github.com/bufbuild/buf/releases/download/v1.17.0/buf-Darwin-x86_64.tar.gz",
|
2023-03-30 03:41:56 -04:00
|
|
|
],
|
|
|
|
type = "tar.gz",
|
2023-04-05 12:09:28 -04:00
|
|
|
sha256 = "4a9a9af802630d7547dfbd79727c462ec7acd4978b91b922957438d4aec99ac9",
|
2023-03-23 13:08:49 -04:00
|
|
|
)
|
|
|
|
http_archive(
|
|
|
|
name = "com_github_bufbuild_buf_darwin_arm64",
|
2023-03-28 08:50:17 -04:00
|
|
|
strip_prefix = "buf/bin",
|
|
|
|
build_file_content = """exports_files(["buf"], visibility = ["//visibility:public"])""",
|
2023-03-30 03:41:56 -04:00
|
|
|
urls = [
|
2023-04-05 12:09:28 -04:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/8b5d0285b11c14abd17fa8d76049e5ba90e8776784cc57aa0af77052ee335e99",
|
|
|
|
"https://github.com/bufbuild/buf/releases/download/v1.17.0/buf-Darwin-arm64.tar.gz",
|
2023-03-30 03:41:56 -04:00
|
|
|
],
|
|
|
|
type = "tar.gz",
|
2023-04-05 12:09:28 -04:00
|
|
|
sha256 = "8b5d0285b11c14abd17fa8d76049e5ba90e8776784cc57aa0af77052ee335e99",
|
2023-03-28 08:50:17 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
def _talos_docgen_deps():
|
|
|
|
http_file(
|
|
|
|
name = "com_github_siderolabs_talos_hack_docgen_linux_amd64",
|
|
|
|
urls = [
|
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/bd1059b49a6db7473b4f991a244e338da887d8017ab556739000abd2cc367c13",
|
|
|
|
],
|
|
|
|
executable = True,
|
|
|
|
downloaded_file_path = "docgen",
|
|
|
|
sha256 = "bd1059b49a6db7473b4f991a244e338da887d8017ab556739000abd2cc367c13",
|
|
|
|
)
|
|
|
|
http_file(
|
|
|
|
name = "com_github_siderolabs_talos_hack_docgen_darwin_amd64",
|
|
|
|
urls = [
|
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/d06adae41a975a94abaa39cd809464d7a8f7648903d321332c12c73002cc622a",
|
|
|
|
],
|
|
|
|
executable = True,
|
|
|
|
downloaded_file_path = "docgen",
|
|
|
|
sha256 = "d06adae41a975a94abaa39cd809464d7a8f7648903d321332c12c73002cc622a",
|
|
|
|
)
|
|
|
|
http_file(
|
|
|
|
name = "com_github_siderolabs_talos_hack_docgen_linux_arm64",
|
|
|
|
urls = [
|
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/a87c52a3e947fe90396427a5cd92e6864f46b5db103f84c1cad449e97ca54cec",
|
|
|
|
],
|
|
|
|
executable = True,
|
|
|
|
downloaded_file_path = "docgen",
|
|
|
|
sha256 = "a87c52a3e947fe90396427a5cd92e6864f46b5db103f84c1cad449e97ca54cec",
|
|
|
|
)
|
|
|
|
http_file(
|
|
|
|
name = "com_github_siderolabs_talos_hack_docgen_darwin_arm64",
|
|
|
|
urls = [
|
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/4aa7ed0de31932d541aa11c9b75ed214ffc28dbd618f489fb5a598407aca072e",
|
|
|
|
],
|
|
|
|
executable = True,
|
|
|
|
downloaded_file_path = "docgen",
|
|
|
|
sha256 = "4aa7ed0de31932d541aa11c9b75ed214ffc28dbd618f489fb5a598407aca072e",
|
2023-03-23 13:08:49 -04:00
|
|
|
)
|
2023-03-29 07:58:37 -04:00
|
|
|
|
|
|
|
def _helm_deps():
|
|
|
|
http_archive(
|
|
|
|
name = "com_github_helm_helm_linux_amd64",
|
|
|
|
sha256 = "781d826daec584f9d50a01f0f7dadfd25a3312217a14aa2fbb85107b014ac8ca",
|
|
|
|
strip_prefix = "linux-amd64",
|
|
|
|
build_file_content = """exports_files(["helm"], visibility = ["//visibility:public"])""",
|
2023-03-30 03:41:56 -04:00
|
|
|
urls = [
|
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/781d826daec584f9d50a01f0f7dadfd25a3312217a14aa2fbb85107b014ac8ca",
|
|
|
|
"https://get.helm.sh/helm-v3.11.2-linux-amd64.tar.gz",
|
|
|
|
],
|
|
|
|
type = "tar.gz",
|
2023-03-29 07:58:37 -04:00
|
|
|
)
|
|
|
|
http_archive(
|
|
|
|
name = "com_github_helm_helm_linux_arm64",
|
|
|
|
sha256 = "0a60baac83c3106017666864e664f52a4e16fbd578ac009f9a85456a9241c5db",
|
|
|
|
strip_prefix = "linux-arm64",
|
|
|
|
build_file_content = """exports_files(["helm"], visibility = ["//visibility:public"])""",
|
2023-03-30 03:41:56 -04:00
|
|
|
urls = [
|
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/0a60baac83c3106017666864e664f52a4e16fbd578ac009f9a85456a9241c5db",
|
|
|
|
"https://get.helm.sh/helm-v3.11.2-linux-arm64.tar.gz",
|
|
|
|
],
|
|
|
|
type = "tar.gz",
|
2023-03-29 07:58:37 -04:00
|
|
|
)
|
|
|
|
http_archive(
|
|
|
|
name = "com_github_helm_helm_darwin_amd64",
|
|
|
|
sha256 = "404938fd2c6eff9e0dab830b0db943fca9e1572cd3d7ee40904705760faa390f",
|
|
|
|
strip_prefix = "darwin-amd64",
|
|
|
|
build_file_content = """exports_files(["helm"], visibility = ["//visibility:public"])""",
|
2023-03-30 03:41:56 -04:00
|
|
|
urls = [
|
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/404938fd2c6eff9e0dab830b0db943fca9e1572cd3d7ee40904705760faa390f",
|
|
|
|
"https://get.helm.sh/helm-v3.11.2-darwin-amd64.tar.gz",
|
|
|
|
],
|
|
|
|
type = "tar.gz",
|
2023-03-29 07:58:37 -04:00
|
|
|
)
|
|
|
|
http_archive(
|
|
|
|
name = "com_github_helm_helm_darwin_arm64",
|
|
|
|
sha256 = "f61a3aa55827de2d8c64a2063fd744b618b443ed063871b79f52069e90813151",
|
|
|
|
strip_prefix = "darwin-arm64",
|
|
|
|
build_file_content = """exports_files(["helm"], visibility = ["//visibility:public"])""",
|
2023-03-30 03:41:56 -04:00
|
|
|
type = "tar.gz",
|
|
|
|
urls = [
|
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/f61a3aa55827de2d8c64a2063fd744b618b443ed063871b79f52069e90813151",
|
|
|
|
"https://get.helm.sh/helm-v3.11.2-darwin-arm64.tar.gz",
|
|
|
|
],
|
2023-03-29 07:58:37 -04:00
|
|
|
)
|
2023-04-12 10:06:26 -04:00
|
|
|
|
|
|
|
def _ghh_deps():
|
|
|
|
http_archive(
|
|
|
|
name = "com_github_katexochen_ghh_linux_amd64",
|
|
|
|
urls = [
|
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/753f2095fb0aea24e834b9ceb64d41eb19f8d8f5f04af745ee8dd0ef0e954135",
|
|
|
|
"https://github.com/katexochen/ghh/releases/download/v0.2.0/ghh_0.2.0_linux_amd64.tar.gz",
|
|
|
|
],
|
|
|
|
type = "tar.gz",
|
|
|
|
build_file_content = """exports_files(["ghh"], visibility = ["//visibility:public"])""",
|
|
|
|
sha256 = "753f2095fb0aea24e834b9ceb64d41eb19f8d8f5f04af745ee8dd0ef0e954135",
|
|
|
|
)
|
|
|
|
http_archive(
|
|
|
|
name = "com_github_katexochen_ghh_linux_arm64",
|
|
|
|
urls = [
|
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/ccac401106e7937838420209e9b9bfba438952a251344f5fdf935dfeeaee0043",
|
|
|
|
"https://github.com/katexochen/ghh/releases/download/v0.2.0/ghh_0.2.0_linux_arm64.tar.gz",
|
|
|
|
],
|
|
|
|
type = "tar.gz",
|
|
|
|
build_file_content = """exports_files(["ghh"], visibility = ["//visibility:public"])""",
|
|
|
|
sha256 = "ccac401106e7937838420209e9b9bfba438952a251344f5fdf935dfeeaee0043",
|
|
|
|
)
|
|
|
|
http_archive(
|
|
|
|
name = "com_github_katexochen_ghh_darwin_amd64",
|
|
|
|
urls = [
|
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/a6c89f1143230697f09d30ad86fc152d7daf2ddee4121dfc0aa89aac087b11c4",
|
|
|
|
"https://github.com/katexochen/ghh/releases/download/v0.2.0/ghh_0.2.0_darwin_amd64.tar.gz",
|
|
|
|
],
|
|
|
|
type = "tar.gz",
|
|
|
|
build_file_content = """exports_files(["ghh"], visibility = ["//visibility:public"])""",
|
|
|
|
sha256 = "a6c89f1143230697f09d30ad86fc152d7daf2ddee4121dfc0aa89aac087b11c4",
|
|
|
|
)
|
|
|
|
http_archive(
|
|
|
|
name = "com_github_katexochen_ghh_darwin_arm64",
|
|
|
|
urls = [
|
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/4c11127967f8b4d1dc694f7a262243338b090e523c44017fe4a44c8864a6421c",
|
|
|
|
"https://github.com/katexochen/ghh/releases/download/v0.2.0/ghh_0.2.0_darwin_arm64.tar.gz",
|
|
|
|
],
|
|
|
|
type = "tar.gz",
|
|
|
|
build_file_content = """exports_files(["ghh"], visibility = ["//visibility:public"])""",
|
|
|
|
sha256 = "4c11127967f8b4d1dc694f7a262243338b090e523c44017fe4a44c8864a6421c",
|
|
|
|
)
|