Skip to content

Commit

Permalink
No longer using k8s as dev environment + some cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
Molter73 committed Oct 5, 2023
1 parent 51397b1 commit cfd72f6
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 206 deletions.
8 changes: 0 additions & 8 deletions Makefile

This file was deleted.

14 changes: 3 additions & 11 deletions collector/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,12 @@ build:
push: build
docker push $(BUILDER_IMAGE)

.PHONY: deploy
deploy: build
envsubst < $(CURDIR)/collector.yml | kubectl apply -f -

.PHONY: teardown
.PHONY:teardown
teardown:
envsubst < $(CURDIR)/collector.yml | kubectl delete -f -

.PHONY: docker-teardown
docker-teardown:
docker rm -f collector-builder

.PHONY: docker-deploy
docker-deploy: build docker-teardown
.PHONY: deploy
deploy: build teardown
docker run -idP --privileged --name collector-builder \
--entrypoint /bin/bash \
-e CMAKE_EXPORT_COMPILE_COMMANDS="ON" \
Expand Down
1 change: 1 addition & 0 deletions collector/clangd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Diagnostics:
- readability*
Remove:
- readability-identifier-length
- modernize-use-nodiscard
- modernize-use-trailing-return-type
---
If:
Expand Down
71 changes: 0 additions & 71 deletions collector/collector.yml

This file was deleted.

13 changes: 3 additions & 10 deletions falco-libs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,12 @@ build: clang-config
push: build
docker push quay.io/mmoltras/devcontainers:falco-libs-$(FALCO_BUILDER_FLAVOR)

.PHONY: deploy
deploy: build
$(CURDIR)/format-spec.sh | kubectl apply -f -

.PHONY: teardown
teardown: clean
$(CURDIR)/format-spec.sh | kubectl delete -f -

.PHONY: docker-teardown
docker-teardown: clean
docker rm -f libs-builder

.PHONY: docker-deploy
docker-deploy: build docker-teardown
.PHONY: deploy
deploy: build teardown
docker run -id --privileged --name libs-builder \
-e CMAKE_EXPORT_COMPILE_COMMANDS="ON" \
-e HOST_ROOT="/host" \
Expand All @@ -49,4 +41,5 @@ docker-deploy: build docker-teardown
-v /usr/lib:/host/usr/lib \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /run/podman/podman.sock:/run/podman/podman.sock \
-v /run/podman/podman.sock:/host/run/podman/podman.sock \
quay.io/mmoltras/devcontainers:falco-libs-$(FALCO_BUILDER_FLAVOR)
91 changes: 0 additions & 91 deletions falco-libs/falco.yml

This file was deleted.

7 changes: 0 additions & 7 deletions kind/Makefile

This file was deleted.

8 changes: 0 additions & 8 deletions kind/config.yml

This file was deleted.

0 comments on commit cfd72f6

Please # to comment.