Skip to content

Commit eb0b7c0

Browse files
Merge branch 'main' into feature/hedera-evm-pectra-support
Signed-off-by: Lukasz Gasior <[email protected]>
2 parents 74bc9fb + dd12bcc commit eb0b7c0

File tree

934 files changed

+51154
-20981
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

934 files changed

+51154
-20981
lines changed

.github/workflows/docs/citr-test-config.md

Lines changed: 314 additions & 0 deletions
Large diffs are not rendered by default.

.github/workflows/docs/workflow-manifest.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
| zxcron-auto-namespaces-delete.yaml | Delete automation Latitude Namespaces | | |
99
| node-zxcron-main-fsts-regression.yaml | ZXCron: [Node] Main JRS Tests | | |
1010
| node-zxcron-release-fsts-regression.yaml | ZXCron: [Node] Release JRS Tests | | |
11-
| platform-zxcron-main-jrs-regression.yaml | ZXCron: [Platform] Main JRS Regression | | |
1211
| platform-zxcron-release-jrs-regression.yaml | ZXCron: [Platform] Release JRS Regression | | |
1312
| | | | |
1413
| # REUSABLE | | | |
@@ -25,10 +24,14 @@
2524
| node-zxc-build-release-artifact.yaml | ZXC: [Node] Deploy Release Artifacts | | |
2625
| node-zxc-compile-application-code.yaml | ZXC: [Node] Compile Application Code | | |
2726
| node-zxc-deploy-preview.yaml | ZXC: [Node] Deploy Preview Network Release | | |
27+
| zxc-xts-tests.yaml | ZXC: Executable XTS Tests | | |
28+
| zxc-mats-tests.yaml | ZXC: Executable MATS Tests | | |
29+
| zxc-create-github-release.yaml | ZXC: Create Github Release | | |
2830
| | | | |
2931
| # CICD | | | |
3032
| zxf-collect-workflow-logs.yaml | ZXF: Collect Workflow Run Logs | | |
3133
| zxf-dry-run-extended-test-suite.yaml | ZXF: [CITR] XTS Dry Run | | |
34+
| zxf-dry-run-mats-suite.yaml | ZXF: [CITR] MATS Dry Run | | |
3235
| zxf-prepare-extended-test-suite.yaml | ZXF: [CITR] Prepare Extended Test Suite | | |
3336
| zxf-single-day-canonical-test.yaml | ZXF: [CITR] Single Day Canonical Test (SDCT) | | |
3437
| zxf-single-day-longevity-test-controller-adhoc.yaml | ZXF: [CITR] Adhoc - Single Day Longevity Test Controller | | |
@@ -68,14 +71,6 @@
6871
| node-flow-fsts-daily-interval-05.yaml | ZXF: [Node] FSTS Daily (Interval: 5) | | |
6972
| node-flow-fsts-daily-interval-06.yaml | ZXF: [Node] FSTS Daily (Interval: 6) | | |
7073
| node-flow-fsts-daily-regression.yaml | Node: FSTS Daily Regression | | |
71-
| platform-flow-jrs-custom-regression.yaml | Platform: JRS Custom Regression | | |
72-
| platform-flow-jrs-daily-regression.yaml | Platform: JRS Daily Regression | | |
73-
| platform-zxf-jrs-daily-interval-01.yaml | ZXF: [Platform] JRS Daily (Interval: 1) | | |
74-
| platform-zxf-jrs-daily-interval-02.yaml | ZXF: [Platform] JRS Daily (Interval: 2) | | |
75-
| platform-zxf-jrs-daily-interval-03.yaml | ZXF: [Platform] JRS Daily (Interval: 3) | | |
76-
| platform-zxf-jrs-daily-interval-04.yaml | ZXF: [Platform] JRS Daily (Interval: 4) | | |
77-
| platform-zxf-jrs-daily-interval-05.yaml | ZXF: [Platform] JRS Daily (Interval: 5) | | |
78-
| platform-zxf-jrs-daily-interval-06.yaml | ZXF: [Platform] JRS Daily (Interval: 6) | | |
7974
| | | | |
8075
| # QOL | | | |
8176
| zxf-update-gs-state-variable.yaml | ZXF: Update GS_STATE Variable | | |

.github/workflows/flow-generate-release-notes.yaml

Lines changed: 18 additions & 155 deletions
Original file line numberDiff line numberDiff line change
@@ -10,166 +10,29 @@ on:
1010
description: "Release Version Number (ex: 0.59.2):"
1111
type: string
1212
required: true
13+
dry-run-enabled:
14+
description: "Perform Dry Run"
15+
type: boolean
16+
required: false
17+
default: false
1318

1419
defaults:
1520
run:
1621
shell: bash
1722

1823
permissions:
19-
contents: read
24+
id-token: write
25+
contents: write
26+
actions: read
2027

2128
jobs:
22-
validate-input-version:
23-
name: Validate Input Version
24-
runs-on: hiero-network-node-linux-medium
25-
outputs:
26-
release-identifier: ${{ steps.validate.outputs.release-identifier }}
27-
steps:
28-
- name: Harden Runner
29-
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
30-
with:
31-
egress-policy: audit
32-
33-
- name: Extract the Input Version
34-
id: extract-version
35-
run: |
36-
echo "version=${{ github.event_name == 'workflow_dispatch' && github.event.inputs.version || github.ref_name }}" >> "${GITHUB_OUTPUT}"
37-
38-
- name: Validate and Correct Release Identifier
39-
id: validate
40-
run: |
41-
release_identifier="${{ steps.extract-version.outputs.version }}"
42-
43-
echo "Input release identifier: '${release_identifier}'"
44-
45-
is_valid=$(semver validate "${release_identifier}")
46-
47-
if [[ "$is_valid" != "valid" ]]; then
48-
echo "Invalid semantic version: ${release_identifier}"
49-
exit 1
50-
fi
51-
52-
cleaned="${release_identifier#v}"
53-
54-
echo "Release identifier is valid: ${cleaned}"
55-
echo "release-identifier=${cleaned}" >> "${GITHUB_OUTPUT}"
56-
echo "Validated Input: ${cleaned}" >> "${GITHUB_STEP_SUMMARY}"
57-
58-
- name: Skip Autogen Release Notes on Release Candidate Tag
59-
run: |
60-
tag="v${{ steps.validate.outputs.release-identifier }}"
61-
if [[ "${{ github.event_name }}" == "push" && ! "$tag" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
62-
echo "Skipping prerelease tag: $tag" | tee -a "${GITHUB_STEP_SUMMARY}"
63-
exit 1
64-
fi
65-
66-
- name: Checkout Code
67-
id: checkout_code
68-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
69-
with:
70-
fetch-depth: "0"
71-
token: ${{ secrets.GH_ACCESS_TOKEN }}
72-
73-
- name: Validate Tag Exists
74-
run: |
75-
tag="v${{ steps.validate.outputs.release-identifier }}"
76-
77-
echo "Checking if tag ${tag} exists..."
78-
79-
if git rev-parse "${tag}" >/dev/null 2>&1; then
80-
echo "Tag ${tag} found in repo." >> "${GITHUB_STEP_SUMMARY}"
81-
else
82-
echo "Error: Tag ${tag} does not exist in repo." >> "${GITHUB_STEP_SUMMARY}"
83-
exit 1
84-
fi
85-
86-
fixes-and-feats-release-notes:
87-
name: Create Fixes and Feats Release Notes
88-
needs: validate-input-version
89-
runs-on: hiero-network-node-linux-medium
90-
steps:
91-
- name: Harden Runner
92-
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
93-
with:
94-
egress-policy: audit
95-
96-
- name: Checkout Code
97-
id: checkout_code
98-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
99-
with:
100-
fetch-depth: "0"
101-
token: ${{ secrets.GH_ACCESS_TOKEN }}
102-
103-
- name: Git-Semver Setup Action
104-
uses: PandasWhoCode/setup-git-semver@91baf2ca207495aa35db3441038ddeae2b6904c7 # v1.0.2
105-
106-
- name: Create Release Notes - Feats and Fixes Only Markdown Format
107-
run: |
108-
echo "Release Notes - Feats and Fixes Only Markdown Format" | tee -a "${GITHUB_STEP_SUMMARY}"
109-
echo "" | tee -a "${GITHUB_STEP_SUMMARY}"
110-
echo "## Release Notes" | tee -a "${GITHUB_STEP_SUMMARY}"
111-
echo "" | tee -a "${GITHUB_STEP_SUMMARY}"
112-
113-
git-semver log --markdown "${{ needs.validate-input-version.outputs.release-identifier }}" | tee -a "${GITHUB_STEP_SUMMARY}"
114-
115-
full-release-notes:
116-
name: Create Full Release Notes
117-
needs: validate-input-version
118-
runs-on: hiero-network-node-linux-medium
119-
steps:
120-
- name: Harden Runner
121-
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
122-
with:
123-
egress-policy: audit
124-
125-
- name: Checkout Code
126-
id: checkout_code
127-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
128-
with:
129-
fetch-depth: "0"
130-
token: ${{ secrets.GH_ACCESS_TOKEN }}
131-
132-
- name: Git-Semver Setup Action
133-
uses: PandasWhoCode/setup-git-semver@91baf2ca207495aa35db3441038ddeae2b6904c7 # v1.0.2
134-
135-
- name: Get All Changes in JSON Format
136-
run: |
137-
echo "Create Release Notes of Conventional Commits"
138-
git-semver log --conventional-commits "${{ needs.validate-input-version.outputs.release-identifier }}" | tee changes.json
139-
140-
- name: Process All Changes to Markdown File
141-
id: generate-md
142-
run: python3 .github/workflows/support/scripts/process_json_release_notes.py ./changes.json ./RELEASE_NOTES.md
143-
144-
- name: Create Release Notes - Full Markdown Format
145-
run: |
146-
echo "Release Notes - Full Markdown Format" | tee -a "${GITHUB_STEP_SUMMARY}"
147-
echo "" | tee -a "${GITHUB_STEP_SUMMARY}"
148-
echo "## Release Notes" | tee -a "${GITHUB_STEP_SUMMARY}"
149-
echo "" | tee -a "${GITHUB_STEP_SUMMARY}"
150-
cat RELEASE_NOTES.md | tee -a "${GITHUB_STEP_SUMMARY}"
151-
152-
full-commit-history:
153-
name: Full Commit History
154-
needs: validate-input-version
155-
runs-on: hiero-network-node-linux-medium
156-
steps:
157-
- name: Harden Runner
158-
uses: step-security/harden-runner@ec9f2d5744a09debf3a187a3f4f675c53b671911 # v2.13.0
159-
with:
160-
egress-policy: audit
161-
162-
- name: Checkout Code
163-
id: checkout_code
164-
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
165-
with:
166-
fetch-depth: "0"
167-
token: ${{ secrets.GH_ACCESS_TOKEN }}
168-
169-
- name: Git-Semver Setup Action
170-
uses: PandasWhoCode/setup-git-semver@91baf2ca207495aa35db3441038ddeae2b6904c7 # v1.0.2
171-
172-
- name: Create Full List of Git History Commits
173-
run: |
174-
echo "Create Full List of Git History Commits:"
175-
git-semver log "${{ needs.validate-input-version.outputs.release-identifier }}"
29+
generate-release-notes:
30+
name: Generate Release Notes
31+
uses: ./.github/workflows/zxc-create-github-release.yaml
32+
with:
33+
release-version: ${{ github.event_name == 'push' && github.ref_name || github.event.inputs.version }}
34+
create-release-notes: true
35+
create-release: false
36+
dry-run: ${{ inputs.dry-run-enabled }}
37+
secrets:
38+
gh-access-token: ${{ secrets.GH_ACCESS_TOKEN }}

0 commit comments

Comments
 (0)