File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33.gitignore
44.github /
55.local /
6- bin /
6+ / bin /
77testbin /
8- build /
9- dist /
10- yamls /
11- config /
12- docs /
13- hack /
14- Makefile
15- LICENSE
8+ /build /
9+ /dist /
10+ /dist- * /
11+ /config /
12+ /docs /
13+ /examples /
14+ /hack /
15+ /Makefile
16+ /LICENSE
1617* .md
1718* .yaml
1819* .yml
Original file line number Diff line number Diff line change @@ -51,10 +51,10 @@ jobs:
5151 username : ${{ github.actor }}
5252 password : ${{ secrets.GITHUB_TOKEN }}
5353 - name : Run goreleaser
54- uses : goreleaser/goreleaser-action@v2
54+ uses : goreleaser/goreleaser-action@v6
5555 with :
5656 distribution : goreleaser
57- version : latest
57+ version : " ~> v2 "
5858 args : release --clean
5959 env :
6060 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -30,6 +30,6 @@ testbin/*
3030.local
3131
3232# Build output
33- build /
34- dist /
35- yamls /
33+ / build /
34+ / dist /
35+ / dist- * /
Original file line number Diff line number Diff line change 1+ version : 2
2+
13# Package the YAML manifests.
24before :
35 hooks :
@@ -62,14 +64,15 @@ archives:
6264 - id : furiko-cli
6365 builds :
6466 - furiko-cli
65- format : binary
67+ formats :
68+ - binary
6669 name_template : >-
6770 {{ .Binary }}_{{ .Os }}_{{ .Arch }}{{ with .Arm }}v{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ if not (eq .Amd64 "v1") }}{{ .Amd64 }}{{ end }}
6871
6972checksum :
7073 name_template : ' checksums.txt'
7174snapshot :
72- name_template : " {{ incpatch .Version }}-next"
75+ version_template : " {{ incpatch .Version }}-next"
7376changelog :
7477 use : github-native
7578
@@ -245,4 +248,4 @@ release:
245248 draft : true
246249 extra_files :
247250 # Add all YAML manifests to release as well
248- - glob : ./yamls/*.yaml
251+ - glob : ./dist- yamls/*.yaml
Original file line number Diff line number Diff line change @@ -135,11 +135,11 @@ install-furiko-cli: ## Install furiko-cli to PATH.
135135# #@ YAML Configuration
136136
137137# # Location to write YAMLs to
138- YAML_DEST ?= $(shell pwd) /yamls
138+ YAML_DEST ?= $(shell pwd) /dist- yamls
139139$(YAML_DEST ) : # # Ensure that the directory exists
140140 mkdir -p $(YAML_DEST )
141141
142- KUSTOMIZE_DEST ?= $(shell pwd) /dist/ kustomize
142+ KUSTOMIZE_DEST ?= $(shell pwd) /dist- kustomize
143143$(KUSTOMIZE_DEST ) :
144144 mkdir -p $(KUSTOMIZE_DEST )
145145
@@ -148,7 +148,7 @@ yaml: yaml-execution ## Build kustomize configs. Outputs to dist folder.
148148
149149.PHONY : yaml-execution
150150yaml-execution : manifests kustomize $(YAML_DEST ) $(KUSTOMIZE_DEST ) # # Build furiko-execution.yaml with Kustomize.
151- DEST_DIR=$(KUSTOMIZE_DEST ) ./hack/generate-kustomization.sh " $( IMAGE_NAME_PREFIX) " " $( IMAGE_TAG) "
151+ DEST_DIR=$(KUSTOMIZE_DEST ) BASE_CONFIG=../config/default ./hack/generate-kustomization.sh " $( IMAGE_NAME_PREFIX) " " $( IMAGE_TAG) "
152152 $(KUSTOMIZE ) build $(KUSTOMIZE_DEST ) -o $(YAML_DEST ) /furiko-execution.yaml
153153
154154.PHONY : manifests
Original file line number Diff line number Diff line change @@ -50,11 +50,11 @@ spec:
5050 subPath : config.yaml
5151 resources :
5252 limits :
53- cpu : 4
54- memory : 2Gi
53+ cpu : " 4 "
54+ memory : " 2Gi"
5555 requests :
56- cpu : 500m
57- memory : 512Mi
56+ cpu : " 500m"
57+ memory : " 512Mi"
5858 - name : kube-rbac-proxy
5959 image : gcr.io/kubebuilder/kube-rbac-proxy:v0.8.0
6060 args :
@@ -68,11 +68,11 @@ spec:
6868 name : https
6969 resources :
7070 limits :
71- cpu : 500m
72- memory : 128Mi
71+ cpu : " 500m"
72+ memory : " 128Mi"
7373 requests :
74- cpu : 5m
75- memory : 64Mi
74+ cpu : " 5m "
75+ memory : " 64Mi"
7676 volumes :
7777 - name : controller-config
7878 configMap :
Original file line number Diff line number Diff line change @@ -53,11 +53,11 @@ spec:
5353 readOnly : true
5454 resources :
5555 limits :
56- cpu : 4
57- memory : 2Gi
56+ cpu : " 4 "
57+ memory : " 2Gi"
5858 requests :
59- cpu : 500m
60- memory : 512Mi
59+ cpu : " 500m"
60+ memory : " 512Mi"
6161 - name : kube-rbac-proxy
6262 image : gcr.io/kubebuilder/kube-rbac-proxy:v0.8.0
6363 args :
@@ -74,11 +74,11 @@ spec:
7474 protocol : TCP
7575 resources :
7676 limits :
77- cpu : 500m
78- memory : 128Mi
77+ cpu : " 500m"
78+ memory : " 128Mi"
7979 requests :
80- cpu : 5m
81- memory : 64Mi
80+ cpu : " 5m "
81+ memory : " 64Mi"
8282 volumes :
8383 - name : webhook-config
8484 configMap :
Original file line number Diff line number Diff line change @@ -24,11 +24,11 @@ spec:
2424 - " --secret-name=execution-webhook-certs"
2525 resources :
2626 requests :
27- cpu : 10m
28- memory : 64Mi
27+ cpu : " 10m"
28+ memory : " 64Mi"
2929 limits :
30- cpu : 500m
31- memory : 512Mi
30+ cpu : " 500m"
31+ memory : " 512Mi"
3232 securityContext :
3333 allowPrivilegeEscalation : false
3434 readOnlyRootFilesystem : true
@@ -47,11 +47,11 @@ spec:
4747 - " --webhook-name=furiko-execution-validating-webhook-configuration"
4848 resources :
4949 requests :
50- cpu : 10m
51- memory : 64Mi
50+ cpu : " 10m"
51+ memory : " 64Mi"
5252 limits :
53- cpu : 500m
54- memory : 512Mi
53+ cpu : " 500m"
54+ memory : " 512Mi"
5555 securityContext :
5656 allowPrivilegeEscalation : false
5757 readOnlyRootFilesystem : true
@@ -67,11 +67,11 @@ spec:
6767 - " --webhook-name=furiko-execution-mutating-webhook-configuration"
6868 resources :
6969 requests :
70- cpu : 10m
71- memory : 64Mi
70+ cpu : " 10m"
71+ memory : " 64Mi"
7272 limits :
73- cpu : 500m
74- memory : 512Mi
73+ cpu : " 500m"
74+ memory : " 512Mi"
7575 securityContext :
7676 allowPrivilegeEscalation : false
7777 readOnlyRootFilesystem : true
Original file line number Diff line number Diff line change 5353# Optional environment variables
5454DEST_DIR=" ${DEST_DIR:- $(pwd)} "
5555KUSTOMIZE=" ${KUSTOMIZE:- $(pwd)/ bin/ kustomize} "
56- BASE_CONFIG=" ${BASE_CONFIG:- $(realpath --relative-to= " ${DEST_DIR} " " $( pwd ) /config/default" )} " # NOTE: Cannot be absolute, otherwise kustomize will complain
56+ BASE_CONFIG=" ${BASE_CONFIG:- . / config/ default} "
5757
5858# Get path to image names.
5959DOCKER_IMAGES=" $( pwd) /hack/docker-images.txt"
You can’t perform that action at this time.
0 commit comments