Skip to content

Commit

Permalink
fix: regenerate manifests
Browse files Browse the repository at this point in the history
Add dirtiness check so that we will never have outdated manifests.

Signed-off-by: Andrey Smirnov <andrey.smirnov@talos-systems.com>
  • Loading branch information
smira committed Oct 28, 2021
1 parent 2a4115f commit f6dc0a3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ steps:
PLATFORM: linux/amd64,linux/arm64
commands:
- make
- make check-dirty
when:
event:
include:
Expand Down Expand Up @@ -116,6 +117,7 @@ steps:
pull: always
commands:
- make release
- make check-dirty
when:
event:
- tag
Expand Down Expand Up @@ -181,6 +183,6 @@ depends_on:

---
kind: signature
hmac: 405eea502f51dfc9368f81971ca97c96ac99f5fff6ddc1afa613894e80dd67c2
hmac: 08c8794304be76a3ddf7d3fd138b79c792dd747c9d57004e7836363fb0985e32

...
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ run: install ## Run the controller locally. This is for testing purposes only.
clean:
@rm -rf $(ARTIFACTS)

check-dirty: ## Verifies that source tree is not dirty
@if test -n "`git status --porcelain`"; then echo "Source tree is dirty"; git status; exit 1 ; fi

conformance: ## Performs policy checks against the commit and source code.
docker run --rm -it -v $(PWD):/src -w /src ghcr.io/talos-systems/conform:v0.1.0-alpha.23 enforce

Expand Down
5 changes: 3 additions & 2 deletions config/crd/bases/bootstrap.cluster.x-k8s.io_talosconfigs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,9 @@ spec:
consumed
type: boolean
talosConfig:
description: Talos config will be a string containing the config for
download
description: "Talos config will be a string containing the config
for download. \n Deprecated: please use `<cluster>-talosconfig`
secret."
type: string
type: object
type: object
Expand Down

0 comments on commit f6dc0a3

Please sign in to comment.