-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: merge develop into main (#1096)
- Loading branch information
Showing
61 changed files
with
2,581 additions
and
1,897 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,10 @@ on: | |
tags: | ||
- "v[0-9]+.[0-9]+.[0-9]+" | ||
pull_request: | ||
branches: [ main, develop, "release/**" ] | ||
branches: | ||
- "main" | ||
- "develop" | ||
- "release/**" | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} | ||
|
@@ -52,7 +55,7 @@ jobs: | |
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.7" | ||
- uses: pre-commit/[email protected].0 | ||
- uses: pre-commit/[email protected].1 | ||
|
||
semgrep: | ||
runs-on: ubuntu-latest | ||
|
@@ -210,20 +213,22 @@ jobs: | |
github.ref_name == 'main' || | ||
github.base_ref == 'develop' || | ||
github.ref_name == 'develop' || | ||
startsWith(github.ref_name, 'release') || | ||
startsWith(github.base_ref, 'release') || | ||
contains(github.event.pull_request.labels.*.name, 'run-ui-tests') | ||
runs-on: ubuntu-latest | ||
permissions: | ||
id-token: write | ||
contents: read | ||
checks: write | ||
continue-on-error: true | ||
needs: | ||
- meta | ||
- build-test-addon | ||
- build | ||
- test-unit | ||
- test-smoke | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
splunk: ${{ fromJson(needs.meta.outputs.matrix_supportedSplunk) }} | ||
test-mark: | ||
|
@@ -300,6 +305,33 @@ jobs: | |
appinspect_manual_checks: tests/testdata/expected_addons/expected_output_global_config_everything/.appinspect.manualcheck.yaml | ||
appinspect_expected_failures: tests/testdata/expected_addons/expected_output_global_config_everything/.appinspect.expect.yaml | ||
|
||
all-checks: | ||
if: ${{ !cancelled() }} | ||
needs: | ||
- test-ui | ||
- build-test-addon-openapi-client | ||
- storybook-screenshots | ||
runs-on: ubuntu-latest | ||
env: | ||
NEEDS: ${{ toJson(needs) }} | ||
steps: | ||
- name: check if tests have passed or skipped | ||
id: check | ||
shell: bash | ||
run: | | ||
ALL_JOBS_PASSED=$(echo "$NEEDS" | jq "all(.[]; .result == \"success\" or .result == \"skipped\")") | ||
if [[ "$ALL_JOBS_PASSED" == "true" ]] | ||
then | ||
echo "all-checks=true" >> "$GITHUB_OUTPUT" | ||
else | ||
echo "all-checks=false" >> "$GITHUB_OUTPUT" | ||
fi | ||
- name: Fail job if something failed | ||
if: ${{ steps.check.outputs.all-checks == 'false' }} | ||
run: | | ||
echo "Some check failed" | ||
exit 1 | ||
release: | ||
needs: | ||
- build | ||
|
@@ -311,6 +343,7 @@ jobs: | |
- appinspect-for-expected-outputs | ||
- semgrep | ||
- pre-commit | ||
- all-checks | ||
runs-on: ubuntu-latest | ||
if: "! github.event.pull_request.head.repo.fork " | ||
steps: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
# `additional_packaging.py` file | ||
|
||
To extend the build process, you can create `additional_packaging.py` file in the same file level where you have your globalConfig file. | ||
To extend the build process, you can create a `additional_packaging.py` file in the same file level where you have your globalConfig file. | ||
|
||
This file should have `additional_packaging` function which accepts 1 argument: add-on name. | ||
This file should have the `additional_packaging` function, which accepts add-on name as its only argument. | ||
|
||
Example of how to utilize it: | ||
See the following example for proper usage: | ||
|
||
* Build custom UI after `ucc-gen` finishes all its necessary steps. | ||
* Workaround a `ucc-gen` feature which was not implemented. | ||
* Use a workaround for a `ucc-gen` feature that has not been implemented. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.