Sergiusz Bazanski | 222a00a | 2020-04-12 18:37:21 +0200 | [diff] [blame] | 1 | load("@io_bazel_rules_docker//container:container.bzl", "container_image", "container_push") |
Sergiusz Bazanski | a7e26cc | 2019-06-21 20:38:35 +0200 | [diff] [blame] | 2 | |
| 3 | container_image( |
Serge Bazanski | 97b5cd7 | 2023-07-28 17:14:50 +0000 | [diff] [blame] | 4 | name = "with_plugins", |
Serge Bazanski | 2ceb69f | 2023-10-08 12:27:44 +0000 | [diff] [blame] | 5 | base = "@gerrit-3.7.5//image", |
Sergiusz Bazanski | a7e26cc | 2019-06-21 20:38:35 +0200 | [diff] [blame] | 6 | # we cannot drop it directly in /var/gerrit/plugins as that changes the |
| 7 | # directory owner to 0:0 and then breaks the gerrit installer that wants |
| 8 | # to overwrite plugins. |
| 9 | directory = "/var/gerrit-plugins", |
Serge Bazanski | 97b5cd7 | 2023-07-28 17:14:50 +0000 | [diff] [blame] | 10 | files = [ |
| 11 | "//devtools/gerrit/gerrit-oauth-provider", |
| 12 | "@com_googlesource_gerrit_plugin_owners//owners:owners.jar", |
| 13 | ], |
Sergiusz Bazanski | a7e26cc | 2019-06-21 20:38:35 +0200 | [diff] [blame] | 14 | ) |
Serge Bazanski | 408d544 | 2021-03-17 22:14:53 +0100 | [diff] [blame] | 15 | |
Sergiusz Bazanski | a7e26cc | 2019-06-21 20:38:35 +0200 | [diff] [blame] | 16 | container_image( |
Serge Bazanski | 2ceb69f | 2023-10-08 12:27:44 +0000 | [diff] [blame] | 17 | name = "3.7.5-r4", |
Serge Bazanski | 408d544 | 2021-03-17 22:14:53 +0100 | [diff] [blame] | 18 | base = ":with_plugins", |
Sergiusz Bazanski | a7e26cc | 2019-06-21 20:38:35 +0200 | [diff] [blame] | 19 | directory = "/", |
| 20 | entrypoint = ["/entrypoint.sh"], |
Serge Bazanski | 97b5cd7 | 2023-07-28 17:14:50 +0000 | [diff] [blame] | 21 | files = [":entrypoint.sh"], |
Sergiusz Bazanski | a7e26cc | 2019-06-21 20:38:35 +0200 | [diff] [blame] | 22 | ) |
| 23 | |
Sergiusz Bazanski | 222a00a | 2020-04-12 18:37:21 +0200 | [diff] [blame] | 24 | container_push( |
| 25 | name = "push", |
Sergiusz Bazanski | 222a00a | 2020-04-12 18:37:21 +0200 | [diff] [blame] | 26 | format = "Docker", |
Serge Bazanski | 2ceb69f | 2023-10-08 12:27:44 +0000 | [diff] [blame] | 27 | image = ":3.7.5-r4", |
Sergiusz Bazanski | 222a00a | 2020-04-12 18:37:21 +0200 | [diff] [blame] | 28 | registry = "registry.k0.hswaw.net", |
Serge Bazanski | ee2f8a3 | 2020-12-17 23:06:10 +0100 | [diff] [blame] | 29 | repository = "q3k/gerrit", |
Serge Bazanski | 2ceb69f | 2023-10-08 12:27:44 +0000 | [diff] [blame] | 30 | tag = "3.7.5-r4", |
Sergiusz Bazanski | a7e26cc | 2019-06-21 20:38:35 +0200 | [diff] [blame] | 31 | ) |