Skip to content

Commit

Permalink
Format bazel files with buildifier
Browse files Browse the repository at this point in the history
  • Loading branch information
rmohr committed Nov 15, 2018
1 parent dd02d19 commit f1d1032
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
12 changes: 6 additions & 6 deletions WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ load(
container_repositories()

http_file(
name = "glibc",
url = "https://dl.fedoraproject.org/pub/fedora/linux/releases/28/Everything/x86_64/os/Packages/g/glibc-2.27-8.fc28.x86_64.rpm",
sha256 = "573ceb6ad74b919b06bddd7684a29ef75bc9f3741e067fac1414e05c0087d0b6"
name = "glibc",
sha256 = "573ceb6ad74b919b06bddd7684a29ef75bc9f3741e067fac1414e05c0087d0b6",
url = "https://dl.fedoraproject.org/pub/fedora/linux/releases/28/Everything/x86_64/os/Packages/g/glibc-2.27-8.fc28.x86_64.rpm",
)

http_file(
name = "ca_certificates",
url = "https://dl.fedoraproject.org/pub/fedora/linux/releases/28/Everything/x86_64/os/Packages/c/ca-certificates-2018.2.22-3.fc28.noarch.rpm",
sha256 = "dfc3d2bf605fbea7db7f018af53fe0563628f788a40cb1e7f84434606b7b6a12"
name = "ca_certificates",
sha256 = "dfc3d2bf605fbea7db7f018af53fe0563628f788a40cb1e7f84434606b7b6a12",
url = "https://dl.fedoraproject.org/pub/fedora/linux/releases/28/Everything/x86_64/os/Packages/c/ca-certificates-2018.2.22-3.fc28.noarch.rpm",
)
12 changes: 8 additions & 4 deletions testdata/BUILD
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
package(default_visibility = ["//visibility:public"])

load("@bazel_tools//tools/build_defs/pkg:pkg.bzl", "pkg_tar")

load(
"@io_bazel_rules_docker//container:container.bzl",
"container_image",
)

load(
"//rpm:rpm.bzl",
"rpm_image",
Expand All @@ -21,12 +19,18 @@ container_image(
rpm_image(
name = "allinone",
base = ":files_base",
rpms = ["@glibc//file", "@ca_certificates//file"],
rpms = [
"@glibc//file",
"@ca_certificates//file",
],
)

rpm_image(
name = "allinone_no_base",
rpms = ["@glibc//file", "@ca_certificates//file"],
rpms = [
"@glibc//file",
"@ca_certificates//file",
],
)

rpm_image(
Expand Down

0 comments on commit f1d1032

Please sign in to comment.