diff --git a/Dockerfile b/Dockerfile index 6ccd1b2ff..52d2056b6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,7 +39,7 @@ RUN go build -ldflags="-s -w \ -X 'mizuserver/pkg/version.BuildTimestamp=${BUILD_TIMESTAMP}' \ -X 'mizuserver/pkg/version.SemVer=${SEM_VER}'" -o mizuagent . -COPY build_extensions.sh .. +COPY devops/build_extensions.sh .. RUN cd .. && /bin/bash build_extensions.sh FROM alpine:3.13.5 diff --git a/Makefile b/Makefile index 722a5ff98..9a96f6675 100644 --- a/Makefile +++ b/Makefile @@ -44,11 +44,11 @@ push: push-docker push-cli ## Build and publish agent docker image & CLI. push-docker: ## Build and publish agent docker image. @echo "publishing Docker image .. " - ./build-push-featurebranch.sh + devops/build-push-featurebranch.sh build-docker-ci: ## Build agent docker image for CI. @echo "building docker image for ci" - ./build-agent-ci.sh + devops/build-agent-ci.sh push-cli: ## Build and publish CLI. @echo "publishing CLI .. " @@ -73,7 +73,7 @@ clean-docker: @(echo "DOCKER cleanup - NOT IMPLEMENTED YET " ) extensions: - ./build_extensions.sh + devops/build_extensions.sh test-cli: @echo "running cli tests"; cd cli && $(MAKE) test diff --git a/README.md b/README.md index 7dafbe592..44ca4fb9a 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ While `mizu`most often works out of the box, you can influence its behavior: 1. [OPTIONAL] Set `KUBECONFIG` environment variable to your Kubernetes configuration. If this is not set, Mizu assumes that configuration is at `${HOME}/.kube/config` 2. `mizu` assumes user running the command has permissions to create resources (such as pods, services, namespaces) on your Kubernetes cluster (no worries - `mizu` resources are cleaned up upon termination) -For detailed list of k8s permissions see [PERMISSIONS](PERMISSIONS.md) document +For detailed list of k8s permissions see [PERMISSIONS](docs/PERMISSIONS.md) document ## How to Run diff --git a/build-agent-ci.sh b/devops/build-agent-ci.sh similarity index 100% rename from build-agent-ci.sh rename to devops/build-agent-ci.sh diff --git a/build-push-featurebranch.sh b/devops/build-push-featurebranch.sh similarity index 100% rename from build-push-featurebranch.sh rename to devops/build-push-featurebranch.sh diff --git a/build_extensions.sh b/devops/build_extensions.sh similarity index 100% rename from build_extensions.sh rename to devops/build_extensions.sh diff --git a/.github/CODEOWNERS b/docs/CODEOWNERS similarity index 100% rename from .github/CODEOWNERS rename to docs/CODEOWNERS diff --git a/.github/CODE_OF_CONDUCT.md b/docs/CODE_OF_CONDUCT.md similarity index 100% rename from .github/CODE_OF_CONDUCT.md rename to docs/CODE_OF_CONDUCT.md diff --git a/.github/CONTRIBUTING.md b/docs/CONTRIBUTING.md similarity index 94% rename from .github/CONTRIBUTING.md rename to docs/CONTRIBUTING.md index 87b43196b..542a66a1f 100644 --- a/.github/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -1,4 +1,4 @@ -![Mizu: The API Traffic Viewer for Kubernetes](assets/mizu-logo.svg) +![Mizu: The API Traffic Viewer for Kubernetes](../assets/mizu-logo.svg) # Contributing to Mizu diff --git a/PERMISSIONS.md b/docs/PERMISSIONS.md similarity index 98% rename from PERMISSIONS.md rename to docs/PERMISSIONS.md index 808b2a232..b65a58e7f 100644 --- a/PERMISSIONS.md +++ b/docs/PERMISSIONS.md @@ -1,4 +1,4 @@ -![Mizu: The API Traffic Viewer for Kubernetes](assets/mizu-logo.svg) +![Mizu: The API Traffic Viewer for Kubernetes](../assets/mizu-logo.svg) # Kubernetes permissions for MIZU This document describes in details all permissions required for full and correct operation of Mizu diff --git a/.github/TESTING.md b/docs/TESTING.md similarity index 100% rename from .github/TESTING.md rename to docs/TESTING.md