constellation/bazel
Moritz Sanft 60bf770e62
ci: logcollection to OpenSearch in non-debug clusters (#2080)
* refactor `debugd` file structure

* create `hack`-tool to deploy logcollection to non-debug clusters

* integrate changes into CI

* update fields

* update workflow input names

* use `working-directory`

* add opensearch creds to upgrade workflow

* make template func generic

* make templating func generic

* linebreaks

* remove magic defaults

* move `os.Exit` to main package

* make logging index configurable

* make templating generic

* remove excess brace

* update fields

* copy fields

* fix flag name

* fix linter warnings

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>

* remove unused workflow inputs

* remove makefiles

* fix command

* bazel: fix output paths of container

This fixes the output paths of builds within the container by mounting
directories to paths that exist on the host. We also explicitly set the
output path in a .bazelrc to the user specific path. The rc file is
mounted into the container and overrides the host rc.
Also adding automatic stop in case start is called and a containers
is already running.
Sym links like bazel-out and paths bazel outputs should generally work
with this change.

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>

* tabs -> spaces

---------

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
Co-authored-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2023-08-21 08:01:33 +02:00
..
bazelrc bazel: adopt best practices for bazelrc 2023-08-18 16:36:13 +02:00
ci bazel: fix use of YQ to be hermetic during "bazel run" 2023-08-18 16:36:13 +02:00
container ci: logcollection to OpenSearch in non-debug clusters (#2080) 2023-08-21 08:01:33 +02:00
devbuild bazel: use cache path to execute cli 2023-07-25 11:44:23 +02:00
envtest bazel: provide k8s / envtest toolchains 2023-08-17 10:46:45 +02:00
go local: fix mac issues in bazel (#1893) 2023-06-09 10:35:52 +02:00
oci todo responsibilities and cleanup (#1837) 2023-06-01 12:33:06 +02:00
proto bazel: add protoc codegen to //:generate target (#1554) 2023-03-30 14:47:29 +02:00
release bazel: add test for containers being equal regardless of the target platform 2023-06-16 16:30:47 +02:00
settings bazel: build both cli variants as part of devbuild 2023-05-31 14:00:00 +02:00
sh bazel: fill microservice version on devbuild target (#1994) 2023-07-06 08:46:06 +02:00
toolchains bazel: provide k8s / envtest toolchains 2023-08-17 10:46:45 +02:00
bazel-complete.bash bazel: add Bazel shell completion scripts (#1804) 2023-05-22 12:54:38 +02:00