├── .github ├── dependabot.yml └── workflows │ ├── codeql-analysis.yaml │ ├── pr-validation.yaml │ ├── release-container-image.yaml │ └── trivy.yaml ├── .gitignore ├── .golangci.yaml ├── Dockerfile ├── LICENSE ├── Makefile ├── README.md ├── SECURITY.md ├── action-entrypoint.sh ├── action.yaml ├── assets └── kustomization-checks.png ├── go.mod ├── go.sum ├── main.go ├── main_test.go ├── pkg ├── command │ ├── command.go │ ├── feature.go │ ├── new.go │ ├── promote.go │ └── status.go ├── config │ ├── config.go │ └── config_test.go ├── git │ ├── azdo.go │ ├── git.go │ ├── github.go │ ├── github_test.go │ ├── provider.go │ ├── provider_test.go │ ├── pull_request.go │ ├── pull_request_test.go │ ├── util.go │ └── util_test.go └── manifest │ ├── image.go │ ├── image_test.go │ ├── kustomization.go │ ├── kustomization_fs.go │ ├── kustomization_test.go │ ├── testdata │ └── duplicate-application │ │ └── apps │ │ ├── base │ │ ├── deployment.yaml │ │ ├── kustomization.yaml │ │ └── service.yaml │ │ └── dev │ │ ├── existing-feature │ │ ├── deployment.yaml │ │ ├── kustomization.yaml │ │ └── service.yaml │ │ └── kustomization.yaml │ ├── util.go │ └── util_test.go └── tests ├── e2e_test.go └── helpers_test.go /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/codeql-analysis.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/.github/workflows/codeql-analysis.yaml -------------------------------------------------------------------------------- /.github/workflows/pr-validation.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/.github/workflows/pr-validation.yaml -------------------------------------------------------------------------------- /.github/workflows/release-container-image.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/.github/workflows/release-container-image.yaml -------------------------------------------------------------------------------- /.github/workflows/trivy.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/.github/workflows/trivy.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/.gitignore -------------------------------------------------------------------------------- /.golangci.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/.golangci.yaml -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/SECURITY.md -------------------------------------------------------------------------------- /action-entrypoint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/action-entrypoint.sh -------------------------------------------------------------------------------- /action.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/action.yaml -------------------------------------------------------------------------------- /assets/kustomization-checks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/assets/kustomization-checks.png -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/go.sum -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/main.go -------------------------------------------------------------------------------- /main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/main_test.go -------------------------------------------------------------------------------- /pkg/command/command.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/pkg/command/command.go -------------------------------------------------------------------------------- /pkg/command/feature.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/pkg/command/feature.go -------------------------------------------------------------------------------- /pkg/command/new.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/pkg/command/new.go -------------------------------------------------------------------------------- /pkg/command/promote.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/pkg/command/promote.go -------------------------------------------------------------------------------- /pkg/command/status.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/pkg/command/status.go -------------------------------------------------------------------------------- /pkg/config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/pkg/config/config.go -------------------------------------------------------------------------------- /pkg/config/config_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/pkg/config/config_test.go -------------------------------------------------------------------------------- /pkg/git/azdo.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/pkg/git/azdo.go -------------------------------------------------------------------------------- /pkg/git/git.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/pkg/git/git.go -------------------------------------------------------------------------------- /pkg/git/github.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/pkg/git/github.go -------------------------------------------------------------------------------- /pkg/git/github_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/pkg/git/github_test.go -------------------------------------------------------------------------------- /pkg/git/provider.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/pkg/git/provider.go -------------------------------------------------------------------------------- /pkg/git/provider_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/pkg/git/provider_test.go -------------------------------------------------------------------------------- /pkg/git/pull_request.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/pkg/git/pull_request.go -------------------------------------------------------------------------------- /pkg/git/pull_request_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/pkg/git/pull_request_test.go -------------------------------------------------------------------------------- /pkg/git/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/pkg/git/util.go -------------------------------------------------------------------------------- /pkg/git/util_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/pkg/git/util_test.go -------------------------------------------------------------------------------- /pkg/manifest/image.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/pkg/manifest/image.go -------------------------------------------------------------------------------- /pkg/manifest/image_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/pkg/manifest/image_test.go -------------------------------------------------------------------------------- /pkg/manifest/kustomization.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/pkg/manifest/kustomization.go -------------------------------------------------------------------------------- /pkg/manifest/kustomization_fs.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/pkg/manifest/kustomization_fs.go -------------------------------------------------------------------------------- /pkg/manifest/kustomization_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/pkg/manifest/kustomization_test.go -------------------------------------------------------------------------------- /pkg/manifest/testdata/duplicate-application/apps/base/deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/pkg/manifest/testdata/duplicate-application/apps/base/deployment.yaml -------------------------------------------------------------------------------- /pkg/manifest/testdata/duplicate-application/apps/base/kustomization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/pkg/manifest/testdata/duplicate-application/apps/base/kustomization.yaml -------------------------------------------------------------------------------- /pkg/manifest/testdata/duplicate-application/apps/base/service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/pkg/manifest/testdata/duplicate-application/apps/base/service.yaml -------------------------------------------------------------------------------- /pkg/manifest/testdata/duplicate-application/apps/dev/existing-feature/deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/pkg/manifest/testdata/duplicate-application/apps/dev/existing-feature/deployment.yaml -------------------------------------------------------------------------------- /pkg/manifest/testdata/duplicate-application/apps/dev/existing-feature/kustomization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/pkg/manifest/testdata/duplicate-application/apps/dev/existing-feature/kustomization.yaml -------------------------------------------------------------------------------- /pkg/manifest/testdata/duplicate-application/apps/dev/existing-feature/service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/pkg/manifest/testdata/duplicate-application/apps/dev/existing-feature/service.yaml -------------------------------------------------------------------------------- /pkg/manifest/testdata/duplicate-application/apps/dev/kustomization.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/pkg/manifest/testdata/duplicate-application/apps/dev/kustomization.yaml -------------------------------------------------------------------------------- /pkg/manifest/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/pkg/manifest/util.go -------------------------------------------------------------------------------- /pkg/manifest/util_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/pkg/manifest/util_test.go -------------------------------------------------------------------------------- /tests/e2e_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/tests/e2e_test.go -------------------------------------------------------------------------------- /tests/helpers_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/XenitAB/gitops-promotion/HEAD/tests/helpers_test.go --------------------------------------------------------------------------------