mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 03:30:35 +00:00
4356cbc352
* Regenerate cross-toolchain configs * Remove some extra whitespaces * Run gazelle and add that note to the README * Format numbered lists better in markdown * gcloud docker command is deprecated, just use docker * Add comment about docker credentials for gcr.io * Update dockerfile, some remote executor config work * gazelle * Remove commented lines --------- Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
53 lines
1.2 KiB
Python
53 lines
1.2 KiB
Python
load("@rules_pkg//:pkg.bzl", "pkg_deb", "pkg_tar")
|
|
|
|
pkg_tar(
|
|
name = "beacon-chain-bin",
|
|
srcs = [
|
|
"//cmd/beacon-chain",
|
|
],
|
|
mode = "0755",
|
|
package_dir = "/usr/bin",
|
|
)
|
|
|
|
pkg_tar(
|
|
name = "beacon-chain-config",
|
|
srcs = glob(["beacon-chain.yaml"]),
|
|
mode = "0640",
|
|
package_dir = "/etc/prysm",
|
|
)
|
|
|
|
pkg_tar(
|
|
name = "beacon-chain-service",
|
|
srcs = glob(["prysm-beacon-chain.service"]),
|
|
mode = "0640",
|
|
package_dir = "/usr/lib/systemd/system",
|
|
)
|
|
|
|
pkg_tar(
|
|
name = "debian-data",
|
|
extension = "tar.gz",
|
|
deps = [
|
|
":beacon-chain-bin",
|
|
":beacon-chain-config",
|
|
":beacon-chain-service",
|
|
],
|
|
)
|
|
|
|
pkg_deb(
|
|
name = "deb",
|
|
architecture = "amd64",
|
|
conffiles = [
|
|
"etc/prysm/beacon-chain.yaml",
|
|
],
|
|
data = ":debian-data",
|
|
description = "Prysm Beacon Chain - Ethereum consensus network communications",
|
|
homepage = "https://prysmaticlabs.com/",
|
|
maintainer = "Prysmatic Labs <contact@prysmaticlabs.com>",
|
|
package = "prysm-beacon-chain",
|
|
postinst = "postinst.sh",
|
|
preinst = "preinst.sh",
|
|
tags = ["no-remote"],
|
|
version_file = "//runtime:version_file",
|
|
visibility = ["//beacon-chain:__pkg__"],
|
|
)
|