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-12-06 07:34:22 -05:00
|
|
|
name = "com_github_koalaman_shellcheck_linux_arm64",
|
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 = [
|
2024-02-21 06:52:12 -05:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/ad0c696c870c8525357b5127680cd79c0bdf58179af9acd091d43b1d6482da4a",
|
|
|
|
"https://releases.hashicorp.com/terraform/1.5.5/terraform_1.5.5_linux_amd64.zip",
|
2023-03-17 11:20:39 -04:00
|
|
|
],
|
2024-02-21 06:52:12 -05:00
|
|
|
sha256 = "ad0c696c870c8525357b5127680cd79c0bdf58179af9acd091d43b1d6482da4a",
|
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 = [
|
2024-02-21 06:52:12 -05:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/b055aefe343d0b710d8a7afd31aeb702b37bbf4493bb9385a709991e48dfbcd2",
|
|
|
|
"https://releases.hashicorp.com/terraform/1.5.5/terraform_1.5.5_linux_arm64.zip",
|
2023-03-17 11:20:39 -04:00
|
|
|
],
|
2024-02-21 06:52:12 -05:00
|
|
|
sha256 = "b055aefe343d0b710d8a7afd31aeb702b37bbf4493bb9385a709991e48dfbcd2",
|
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 = [
|
2024-02-21 06:52:12 -05:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/6d61639e2141b7c23a9219c63994f729aa41f91110a1aa08b8a37969fb45e229",
|
|
|
|
"https://releases.hashicorp.com/terraform/1.5.5/terraform_1.5.5_darwin_amd64.zip",
|
2023-03-17 11:20:39 -04:00
|
|
|
],
|
2024-02-21 06:52:12 -05:00
|
|
|
sha256 = "6d61639e2141b7c23a9219c63994f729aa41f91110a1aa08b8a37969fb45e229",
|
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 = [
|
2024-02-21 06:52:12 -05:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/c7fdeddb4739fdd5bada9d45fd786e2cbaf6e9e364693eee45c83e95281dad3a",
|
|
|
|
"https://releases.hashicorp.com/terraform/1.5.5/terraform_1.5.5_darwin_arm64.zip",
|
2023-03-17 11:20:39 -04:00
|
|
|
],
|
2024-02-21 06:52:12 -05:00
|
|
|
sha256 = "c7fdeddb4739fdd5bada9d45fd786e2cbaf6e9e364693eee45c83e95281dad3a",
|
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-09-26 09:49:19 -04:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/f0294c342af98fad4ff917bc32032f28e1b55f76aedf291886ec10bbed7c12e1",
|
|
|
|
"https://github.com/rhysd/actionlint/releases/download/v1.6.26/actionlint_1.6.26_linux_amd64.tar.gz",
|
2023-03-17 12:14:27 -04:00
|
|
|
],
|
2023-03-30 03:41:56 -04:00
|
|
|
type = "tar.gz",
|
2023-09-26 09:49:19 -04:00
|
|
|
sha256 = "f0294c342af98fad4ff917bc32032f28e1b55f76aedf291886ec10bbed7c12e1",
|
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-09-26 09:49:19 -04:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/a1056d85d614af4f6e5517ed2911dab2621b8e97c368c8b265328f9c22801648",
|
|
|
|
"https://github.com/rhysd/actionlint/releases/download/v1.6.26/actionlint_1.6.26_linux_arm64.tar.gz",
|
2023-03-17 12:14:27 -04:00
|
|
|
],
|
2023-03-30 03:41:56 -04:00
|
|
|
type = "tar.gz",
|
2023-09-26 09:49:19 -04:00
|
|
|
sha256 = "a1056d85d614af4f6e5517ed2911dab2621b8e97c368c8b265328f9c22801648",
|
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-09-26 09:49:19 -04:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/bfa890e77a8508603c785af09a30bbab3a3255d291d8d27efc3f20ac8e303a8e",
|
|
|
|
"https://github.com/rhysd/actionlint/releases/download/v1.6.26/actionlint_1.6.26_darwin_amd64.tar.gz",
|
2023-03-17 12:14:27 -04:00
|
|
|
],
|
2023-03-30 03:41:56 -04:00
|
|
|
type = "tar.gz",
|
2023-09-26 09:49:19 -04:00
|
|
|
sha256 = "bfa890e77a8508603c785af09a30bbab3a3255d291d8d27efc3f20ac8e303a8e",
|
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-09-26 09:49:19 -04:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/5e131ab7de7ad051e1923b80d167aaa414734e97c720698c48778250e1dd2590",
|
|
|
|
"https://github.com/rhysd/actionlint/releases/download/v1.6.26/actionlint_1.6.26_darwin_arm64.tar.gz",
|
2023-03-17 12:14:27 -04:00
|
|
|
],
|
2023-03-30 03:41:56 -04:00
|
|
|
type = "tar.gz",
|
2023-09-26 09:49:19 -04:00
|
|
|
sha256 = "5e131ab7de7ad051e1923b80d167aaa414734e97c720698c48778250e1dd2590",
|
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 = [
|
2024-02-21 06:52:12 -05:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/bdb57c353e2bbc43d2b097bb7289a6e65ef2526787f89316b4b452a9e5086be4",
|
|
|
|
"https://github.com/mvdan/gofumpt/releases/download/v0.6.0/gofumpt_v0.6.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",
|
2024-02-21 06:52:12 -05:00
|
|
|
sha256 = "bdb57c353e2bbc43d2b097bb7289a6e65ef2526787f89316b4b452a9e5086be4",
|
2023-03-17 12:35:03 -04:00
|
|
|
)
|
|
|
|
http_file(
|
|
|
|
name = "com_github_mvdan_gofumpt_linux_arm64",
|
|
|
|
urls = [
|
2024-02-21 06:52:12 -05:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/10ff2643b7b4b9425bda7f0ca2d4e54d85b09024fbfd9c21dbfd55017b907965",
|
|
|
|
"https://github.com/mvdan/gofumpt/releases/download/v0.6.0/gofumpt_v0.6.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",
|
2024-02-21 06:52:12 -05:00
|
|
|
sha256 = "10ff2643b7b4b9425bda7f0ca2d4e54d85b09024fbfd9c21dbfd55017b907965",
|
2023-03-17 12:35:03 -04:00
|
|
|
)
|
|
|
|
http_file(
|
|
|
|
name = "com_github_mvdan_gofumpt_darwin_amd64",
|
|
|
|
urls = [
|
2024-02-21 06:52:12 -05:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/59e6047b3fa2fb65b60cf7f8be9b77cf6b31b428a9a24042ce29e85140868036",
|
|
|
|
"https://github.com/mvdan/gofumpt/releases/download/v0.6.0/gofumpt_v0.6.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",
|
2024-02-21 06:52:12 -05:00
|
|
|
sha256 = "59e6047b3fa2fb65b60cf7f8be9b77cf6b31b428a9a24042ce29e85140868036",
|
2023-03-17 12:35:03 -04:00
|
|
|
)
|
|
|
|
http_file(
|
|
|
|
name = "com_github_mvdan_gofumpt_darwin_arm64",
|
|
|
|
urls = [
|
2024-02-21 06:52:12 -05:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/725f7a922bf3f88bed6818a4553e80554cc5cdb67a72236a01707325aa2dbb7b",
|
|
|
|
"https://github.com/mvdan/gofumpt/releases/download/v0.6.0/gofumpt_v0.6.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",
|
2024-02-21 06:52:12 -05:00
|
|
|
sha256 = "725f7a922bf3f88bed6818a4553e80554cc5cdb67a72236a01707325aa2dbb7b",
|
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 = [
|
2024-02-21 06:52:12 -05:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/21201f1615de0b4c143eba2da0f988bab3f68184646090b30ece1fdb501396ca",
|
|
|
|
"https://github.com/aquasecurity/tfsec/releases/download/v1.28.5/tfsec_1.28.5_linux_amd64.tar.gz",
|
2023-03-17 12:45:41 -04:00
|
|
|
],
|
2023-03-30 03:41:56 -04:00
|
|
|
type = "tar.gz",
|
2024-02-21 06:52:12 -05:00
|
|
|
sha256 = "21201f1615de0b4c143eba2da0f988bab3f68184646090b30ece1fdb501396ca",
|
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 = [
|
2024-02-21 06:52:12 -05:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/a587a9cd879240074551067114b8f63d2249aab70cabf8f8d6884e2b67cfddad",
|
|
|
|
"https://github.com/aquasecurity/tfsec/releases/download/v1.28.5/tfsec_1.28.5_linux_arm64.tar.gz",
|
2023-03-17 12:45:41 -04:00
|
|
|
],
|
2023-03-30 03:41:56 -04:00
|
|
|
type = "tar.gz",
|
2024-02-21 06:52:12 -05:00
|
|
|
sha256 = "a587a9cd879240074551067114b8f63d2249aab70cabf8f8d6884e2b67cfddad",
|
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 = [
|
2024-02-21 06:52:12 -05:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/4ad9a313d84aa11893672c7779a99f85a6acaab26c5a05ccc432db08bc4c0a37",
|
|
|
|
"https://github.com/aquasecurity/tfsec/releases/download/v1.28.5/tfsec_1.28.5_darwin_amd64.tar.gz",
|
2023-03-17 12:45:41 -04:00
|
|
|
],
|
2023-03-30 03:41:56 -04:00
|
|
|
type = "tar.gz",
|
2024-02-21 06:52:12 -05:00
|
|
|
sha256 = "4ad9a313d84aa11893672c7779a99f85a6acaab26c5a05ccc432db08bc4c0a37",
|
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 = [
|
2024-02-21 06:52:12 -05:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/50117ac409bb3c1101453d74f48a639c7ab7ac2f40b023eb7004d84048913888",
|
|
|
|
"https://github.com/aquasecurity/tfsec/releases/download/v1.28.5/tfsec_1.28.5_darwin_arm64.tar.gz",
|
2023-03-17 12:45:41 -04:00
|
|
|
],
|
2023-03-30 03:41:56 -04:00
|
|
|
type = "tar.gz",
|
2024-02-21 06:52:12 -05:00
|
|
|
sha256 = "50117ac409bb3c1101453d74f48a639c7ab7ac2f40b023eb7004d84048913888",
|
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 = [
|
2024-02-21 06:52:12 -05:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/e1c313fb5fc85a33890fdee5dbb1777d1f5829c84d655a47a55688f3aad5e501",
|
|
|
|
"https://github.com/golangci/golangci-lint/releases/download/v1.56.2/golangci-lint-1.56.2-linux-amd64.tar.gz",
|
2023-03-23 12:27:09 -04:00
|
|
|
],
|
2024-02-21 06:52:12 -05:00
|
|
|
strip_prefix = "golangci-lint-1.56.2-linux-amd64",
|
2023-03-30 03:41:56 -04:00
|
|
|
type = "tar.gz",
|
2024-02-21 06:52:12 -05:00
|
|
|
sha256 = "e1c313fb5fc85a33890fdee5dbb1777d1f5829c84d655a47a55688f3aad5e501",
|
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 = [
|
2024-02-21 06:52:12 -05:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/0041594fde41ce43b75e65476a050fe9057881d8b5bccd472f18357e2ead3e04",
|
|
|
|
"https://github.com/golangci/golangci-lint/releases/download/v1.56.2/golangci-lint-1.56.2-linux-arm64.tar.gz",
|
2023-03-23 12:27:09 -04:00
|
|
|
],
|
2024-02-21 06:52:12 -05:00
|
|
|
strip_prefix = "golangci-lint-1.56.2-linux-arm64",
|
2023-03-30 03:41:56 -04:00
|
|
|
type = "tar.gz",
|
2024-02-21 06:52:12 -05:00
|
|
|
sha256 = "0041594fde41ce43b75e65476a050fe9057881d8b5bccd472f18357e2ead3e04",
|
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 = [
|
2024-02-21 06:52:12 -05:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/15c4d19a2c85a04f67779047dbb9467ba176c71fff762a0d514a21bb75e4b42c",
|
|
|
|
"https://github.com/golangci/golangci-lint/releases/download/v1.56.2/golangci-lint-1.56.2-darwin-amd64.tar.gz",
|
2023-03-23 12:27:09 -04:00
|
|
|
],
|
2024-02-21 06:52:12 -05:00
|
|
|
strip_prefix = "golangci-lint-1.56.2-darwin-amd64",
|
2023-03-30 03:41:56 -04:00
|
|
|
type = "tar.gz",
|
2024-02-21 06:52:12 -05:00
|
|
|
sha256 = "15c4d19a2c85a04f67779047dbb9467ba176c71fff762a0d514a21bb75e4b42c",
|
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 = [
|
2024-02-21 06:52:12 -05:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/5f9ecda712c7ae08fbf872336fae3db866720e5865903d4c53903184b2a2c2dc",
|
|
|
|
"https://github.com/golangci/golangci-lint/releases/download/v1.56.2/golangci-lint-1.56.2-darwin-arm64.tar.gz",
|
2023-03-23 12:27:09 -04:00
|
|
|
],
|
2024-02-21 06:52:12 -05:00
|
|
|
strip_prefix = "golangci-lint-1.56.2-darwin-arm64",
|
2023-03-30 03:41:56 -04:00
|
|
|
type = "tar.gz",
|
2024-02-21 06:52:12 -05:00
|
|
|
sha256 = "5f9ecda712c7ae08fbf872336fae3db866720e5865903d4c53903184b2a2c2dc",
|
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 = [
|
2024-02-21 06:52:12 -05:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/1033f26361e6fc30ffcfab9d4e4274ffd4af88d9c97de63d2e1721c4a07c1380",
|
|
|
|
"https://github.com/bufbuild/buf/releases/download/v1.29.0/buf-Linux-x86_64.tar.gz",
|
2023-03-30 03:41:56 -04:00
|
|
|
],
|
|
|
|
type = "tar.gz",
|
2024-02-21 06:52:12 -05:00
|
|
|
sha256 = "1033f26361e6fc30ffcfab9d4e4274ffd4af88d9c97de63d2e1721c4a07c1380",
|
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 = [
|
2024-02-21 06:52:12 -05:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/a725e0ab1c6b1e97b31f9d1d946f8b1d56586a96715fae4a7ecc88b6cf601cea",
|
|
|
|
"https://github.com/bufbuild/buf/releases/download/v1.29.0/buf-Linux-aarch64.tar.gz",
|
2023-03-30 03:41:56 -04:00
|
|
|
],
|
|
|
|
type = "tar.gz",
|
2024-02-21 06:52:12 -05:00
|
|
|
sha256 = "a725e0ab1c6b1e97b31f9d1d946f8b1d56586a96715fae4a7ecc88b6cf601cea",
|
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 = [
|
2024-02-21 06:52:12 -05:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/7ec6c2fd8f7e5e2ddba1e9ebff51eb9b0d6b67b85e105138dd064057c7b32db8",
|
|
|
|
"https://github.com/bufbuild/buf/releases/download/v1.29.0/buf-Darwin-x86_64.tar.gz",
|
2023-03-30 03:41:56 -04:00
|
|
|
],
|
|
|
|
type = "tar.gz",
|
2024-02-21 06:52:12 -05:00
|
|
|
sha256 = "7ec6c2fd8f7e5e2ddba1e9ebff51eb9b0d6b67b85e105138dd064057c7b32db8",
|
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 = [
|
2024-02-21 06:52:12 -05:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/b97225a3b3f18bdabb36e83d9aba2e6419ead0c6ca0894d10a95517be5fd302f",
|
|
|
|
"https://github.com/bufbuild/buf/releases/download/v1.29.0/buf-Darwin-arm64.tar.gz",
|
2023-03-30 03:41:56 -04:00
|
|
|
],
|
|
|
|
type = "tar.gz",
|
2024-02-21 06:52:12 -05:00
|
|
|
sha256 = "b97225a3b3f18bdabb36e83d9aba2e6419ead0c6ca0894d10a95517be5fd302f",
|
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",
|
2024-02-21 06:52:12 -05:00
|
|
|
sha256 = "f43e1c3387de24547506ab05d24e5309c0ce0b228c23bd8aa64e9ec4b8206651",
|
2023-03-29 07:58:37 -04:00
|
|
|
strip_prefix = "linux-amd64",
|
|
|
|
build_file_content = """exports_files(["helm"], visibility = ["//visibility:public"])""",
|
2023-03-30 03:41:56 -04:00
|
|
|
urls = [
|
2024-02-21 06:52:12 -05:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/f43e1c3387de24547506ab05d24e5309c0ce0b228c23bd8aa64e9ec4b8206651",
|
|
|
|
"https://get.helm.sh/helm-v3.14.0-linux-amd64.tar.gz",
|
2023-03-30 03:41:56 -04:00
|
|
|
],
|
|
|
|
type = "tar.gz",
|
2023-03-29 07:58:37 -04:00
|
|
|
)
|
|
|
|
http_archive(
|
|
|
|
name = "com_github_helm_helm_linux_arm64",
|
2024-02-21 06:52:12 -05:00
|
|
|
sha256 = "b29e61674731b15f6ad3d1a3118a99d3cc2ab25a911aad1b8ac8c72d5a9d2952",
|
2023-03-29 07:58:37 -04:00
|
|
|
strip_prefix = "linux-arm64",
|
|
|
|
build_file_content = """exports_files(["helm"], visibility = ["//visibility:public"])""",
|
2023-03-30 03:41:56 -04:00
|
|
|
urls = [
|
2024-02-21 06:52:12 -05:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/b29e61674731b15f6ad3d1a3118a99d3cc2ab25a911aad1b8ac8c72d5a9d2952",
|
|
|
|
"https://get.helm.sh/helm-v3.14.0-linux-arm64.tar.gz",
|
2023-03-30 03:41:56 -04:00
|
|
|
],
|
|
|
|
type = "tar.gz",
|
2023-03-29 07:58:37 -04:00
|
|
|
)
|
|
|
|
http_archive(
|
|
|
|
name = "com_github_helm_helm_darwin_amd64",
|
2024-02-21 06:52:12 -05:00
|
|
|
sha256 = "804586896496f7b3da97f56089ea00f220e075e969b6fdf6c0b7b9cdc22de120",
|
2023-03-29 07:58:37 -04:00
|
|
|
strip_prefix = "darwin-amd64",
|
|
|
|
build_file_content = """exports_files(["helm"], visibility = ["//visibility:public"])""",
|
2023-03-30 03:41:56 -04:00
|
|
|
urls = [
|
2024-02-21 06:52:12 -05:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/804586896496f7b3da97f56089ea00f220e075e969b6fdf6c0b7b9cdc22de120",
|
|
|
|
"https://get.helm.sh/helm-v3.14.0-darwin-amd64.tar.gz",
|
2023-03-30 03:41:56 -04:00
|
|
|
],
|
|
|
|
type = "tar.gz",
|
2023-03-29 07:58:37 -04:00
|
|
|
)
|
|
|
|
http_archive(
|
|
|
|
name = "com_github_helm_helm_darwin_arm64",
|
2024-02-21 06:52:12 -05:00
|
|
|
sha256 = "c2f36f3289a01c7c93ca11f84d740a170e0af1d2d0280bd523a409a62b8dfa1d",
|
2023-03-29 07:58:37 -04:00
|
|
|
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 = [
|
2024-02-21 06:52:12 -05:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/c2f36f3289a01c7c93ca11f84d740a170e0af1d2d0280bd523a409a62b8dfa1d",
|
|
|
|
"https://get.helm.sh/helm-v3.14.0-darwin-arm64.tar.gz",
|
2023-03-30 03:41:56 -04:00
|
|
|
],
|
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 = [
|
2024-02-21 06:52:12 -05:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/e53411fba3e3445bd08d4d7ce0ee9e526e9fcb12045616c80b9eb1cc342f0c90",
|
|
|
|
"https://github.com/katexochen/ghh/releases/download/v0.3.3/ghh_0.3.3_linux_amd64.tar.gz",
|
2023-04-12 10:06:26 -04:00
|
|
|
],
|
|
|
|
type = "tar.gz",
|
|
|
|
build_file_content = """exports_files(["ghh"], visibility = ["//visibility:public"])""",
|
2024-02-21 06:52:12 -05:00
|
|
|
sha256 = "e53411fba3e3445bd08d4d7ce0ee9e526e9fcb12045616c80b9eb1cc342f0c90",
|
2023-04-12 10:06:26 -04:00
|
|
|
)
|
|
|
|
http_archive(
|
|
|
|
name = "com_github_katexochen_ghh_linux_arm64",
|
|
|
|
urls = [
|
2024-02-21 06:52:12 -05:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/96e8c073fca7b8b56490359b3df0386fac9138224699c71b33c14abc2373452b",
|
|
|
|
"https://github.com/katexochen/ghh/releases/download/v0.3.3/ghh_0.3.3_linux_arm64.tar.gz",
|
2023-04-12 10:06:26 -04:00
|
|
|
],
|
|
|
|
type = "tar.gz",
|
|
|
|
build_file_content = """exports_files(["ghh"], visibility = ["//visibility:public"])""",
|
2024-02-21 06:52:12 -05:00
|
|
|
sha256 = "96e8c073fca7b8b56490359b3df0386fac9138224699c71b33c14abc2373452b",
|
2023-04-12 10:06:26 -04:00
|
|
|
)
|
|
|
|
http_archive(
|
|
|
|
name = "com_github_katexochen_ghh_darwin_amd64",
|
|
|
|
urls = [
|
2024-02-21 06:52:12 -05:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/0fbffabe8f80c640403ef9b03348bd34e1f7de1321b0da48a36ae0403fabd09a",
|
|
|
|
"https://github.com/katexochen/ghh/releases/download/v0.3.3/ghh_0.3.3_darwin_amd64.tar.gz",
|
2023-04-12 10:06:26 -04:00
|
|
|
],
|
|
|
|
type = "tar.gz",
|
|
|
|
build_file_content = """exports_files(["ghh"], visibility = ["//visibility:public"])""",
|
2024-02-21 06:52:12 -05:00
|
|
|
sha256 = "0fbffabe8f80c640403ef9b03348bd34e1f7de1321b0da48a36ae0403fabd09a",
|
2023-04-12 10:06:26 -04:00
|
|
|
)
|
|
|
|
http_archive(
|
|
|
|
name = "com_github_katexochen_ghh_darwin_arm64",
|
|
|
|
urls = [
|
2024-02-21 06:52:12 -05:00
|
|
|
"https://cdn.confidential.cloud/constellation/cas/sha256/32457fadf46c1b3e15c1caeadd176e8ff67152de744c83e7afaeb308bd514193",
|
|
|
|
"https://github.com/katexochen/ghh/releases/download/v0.3.3/ghh_0.3.3_darwin_arm64.tar.gz",
|
2023-04-12 10:06:26 -04:00
|
|
|
],
|
|
|
|
type = "tar.gz",
|
|
|
|
build_file_content = """exports_files(["ghh"], visibility = ["//visibility:public"])""",
|
2024-02-21 06:52:12 -05:00
|
|
|
sha256 = "32457fadf46c1b3e15c1caeadd176e8ff67152de744c83e7afaeb308bd514193",
|
2023-04-12 10:06:26 -04:00
|
|
|
)
|