File tree Expand file tree Collapse file tree 2 files changed +28
-2
lines changed
Expand file tree Collapse file tree 2 files changed +28
-2
lines changed Original file line number Diff line number Diff line change 9191 with :
9292 go-version-file : go.mod
9393
94+ - name : Verify
95+ run : |
96+ make verify
97+
9498 - name : Cross Build
9599 if : ${{ env.SKIP != 'true' }}
96100 run : |
@@ -141,6 +145,12 @@ jobs:
141145 echo "$binfiles"
142146 echo "EOF"
143147 } >> $GITHUB_ENV
148+
149+ - name : Run Integration Tests
150+ if : ${{ env.SKIP != 'true' }}
151+ run : |
152+ .ci/dev_integration_test TARGET_CLUSTERNAME=cli-re
153+
144154 - name : Check if VERSION is already tagged
145155 id : check_tag
146156 run : |
@@ -174,6 +184,21 @@ jobs:
174184 git push origin "${MODULE}/${{ env.version }}"
175185 done
176186
187+ - name : Generate docs
188+ needs : [verify]
189+ run : |
190+ # Assuming a task or script exists to generate docs
191+ make generate_docs || true
192+
193+ - name : Publish docs to source branch (optional)
194+ if : github.ref == 'refs/heads/main' || github.event_name == 'workflow_dispatch'
195+ run : |
196+ # Commit or push docs if required
197+ # git config user.name "github-actions"
198+ # git config user.email "[email protected] " 199+ # git add docs && git commit -m "docs: update" || true
200+ echo "Docs generated."
201+
177202 - name : Build Changelog
178203 if : ${{ env.SKIP != 'true' }}
179204 id : github_release
@@ -190,8 +215,9 @@ jobs:
190215 body_path : ./CHANGELOG.md
191216 draft : true
192217 prerelease : false
218+ # Newline-delimited globs of paths to assets to upload for release, set by cross-build
193219 files : |
194- ${{ env.BIN_BUILDS }}
220+ ${{ env.BIN_BUILDS }}
195221 env :
196222 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
197223
Original file line number Diff line number Diff line change 55REPO_ROOT := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST ) ) ) )
66EFFECTIVE_VERSION := $(shell $(REPO_ROOT ) /hack/get-version.sh)
77
8- CODE_DIRS := $(REPO_ROOT ) /cmd/... $(REPO_ROOT ) /pkg/... $(REPO_ROOT ) /landscaper-cli /... $(REPO_ROOT ) /integration-test/...
8+ CODE_DIRS := $(REPO_ROOT ) /cmd/... $(REPO_ROOT ) /pkg/... $(REPO_ROOT ) /cmd/landscapercli /... $(REPO_ROOT ) /integration-test/...
99
1010
1111# #@ General
You can’t perform that action at this time.
0 commit comments