-
Notifications
You must be signed in to change notification settings - Fork 8
25.6 Pipeline cleanup #925
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
2198b6a
7012970
3a18fc3
91e36d3
de3e358
6f02da8
055a38b
f0c65d7
c5811fb
e0b3a9a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -448,47 +448,6 @@ jobs: | |
python3 -m praktika run 'Build (arm_release)' --workflow "ReleaseBranchCI" --ci |& tee ./ci/tmp/job.log | ||
fi | ||
|
||
build_arm_asan: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So, we are removing some builds with sanitizers? Why? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We only use x86 builders and the ARM ASAN build is very difficult to cross-compile. |
||
runs-on: [self-hosted, altinity-on-demand, altinity-builder] | ||
needs: [config_workflow, dockers_build_amd, dockers_build_arm] | ||
if: ${{ !failure() && !cancelled() && !contains(fromJson(needs.config_workflow.outputs.data).cache_success_base64, 'QnVpbGQgKGFybV9hc2FuKQ==') }} | ||
name: "Build (arm_asan)" | ||
outputs: | ||
data: ${{ steps.run.outputs.DATA }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ env.CHECKOUT_REF }} | ||
|
||
- name: Setup | ||
uses: ./.github/actions/runner_setup | ||
|
||
- name: Prepare env script | ||
run: | | ||
rm -rf ./ci/tmp ./ci/tmp ./ci/tmp | ||
mkdir -p ./ci/tmp ./ci/tmp ./ci/tmp | ||
cat > ./ci/tmp/praktika_setup_env.sh << 'ENV_SETUP_SCRIPT_EOF' | ||
export PYTHONPATH=./ci:.: | ||
cat > ./ci/tmp/workflow_config_releasebranchci.json << 'EOF' | ||
${{ needs.config_workflow.outputs.data }} | ||
EOF | ||
cat > ./ci/tmp/workflow_status.json << 'EOF' | ||
${{ toJson(needs) }} | ||
EOF | ||
ENV_SETUP_SCRIPT_EOF | ||
|
||
- name: Run | ||
id: run | ||
run: | | ||
. ./ci/tmp/praktika_setup_env.sh | ||
set -o pipefail | ||
if command -v ts &> /dev/null; then | ||
python3 -m praktika run 'Build (arm_asan)' --workflow "ReleaseBranchCI" --ci |& ts '[%Y-%m-%d %H:%M:%S]' | tee ./ci/tmp/job.log | ||
else | ||
python3 -m praktika run 'Build (arm_asan)' --workflow "ReleaseBranchCI" --ci |& tee ./ci/tmp/job.log | ||
fi | ||
|
||
build_amd_darwin: | ||
runs-on: [self-hosted, altinity-on-demand, altinity-builder] | ||
needs: [config_workflow, dockers_build_amd, dockers_build_arm] | ||
|
@@ -1637,47 +1596,6 @@ jobs: | |
python3 -m praktika run 'Stress test (amd_tsan)' --workflow "ReleaseBranchCI" --ci |& tee ./ci/tmp/job.log | ||
fi | ||
|
||
stress_test_arm_asan: | ||
runs-on: [self-hosted, altinity-on-demand, altinity-func-tester-aarch64] | ||
needs: [config_workflow, dockers_build_amd, dockers_build_arm, build_arm_asan] | ||
if: ${{ !failure() && !cancelled() && !contains(fromJson(needs.config_workflow.outputs.data).cache_success_base64, 'U3RyZXNzIHRlc3QgKGFybV9hc2FuKQ==') }} | ||
name: "Stress test (arm_asan)" | ||
outputs: | ||
data: ${{ steps.run.outputs.DATA }} | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ env.CHECKOUT_REF }} | ||
|
||
- name: Setup | ||
uses: ./.github/actions/runner_setup | ||
|
||
- name: Prepare env script | ||
run: | | ||
rm -rf ./ci/tmp ./ci/tmp ./ci/tmp | ||
mkdir -p ./ci/tmp ./ci/tmp ./ci/tmp | ||
cat > ./ci/tmp/praktika_setup_env.sh << 'ENV_SETUP_SCRIPT_EOF' | ||
export PYTHONPATH=./ci:.: | ||
cat > ./ci/tmp/workflow_config_releasebranchci.json << 'EOF' | ||
${{ needs.config_workflow.outputs.data }} | ||
EOF | ||
cat > ./ci/tmp/workflow_status.json << 'EOF' | ||
${{ toJson(needs) }} | ||
EOF | ||
ENV_SETUP_SCRIPT_EOF | ||
|
||
- name: Run | ||
id: run | ||
run: | | ||
. ./ci/tmp/praktika_setup_env.sh | ||
set -o pipefail | ||
if command -v ts &> /dev/null; then | ||
python3 -m praktika run 'Stress test (arm_asan)' --workflow "ReleaseBranchCI" --ci |& ts '[%Y-%m-%d %H:%M:%S]' | tee ./ci/tmp/job.log | ||
else | ||
python3 -m praktika run 'Stress test (arm_asan)' --workflow "ReleaseBranchCI" --ci |& tee ./ci/tmp/job.log | ||
fi | ||
|
||
stress_test_amd_ubsan: | ||
runs-on: [self-hosted, altinity-on-demand, altinity-func-tester] | ||
needs: [config_workflow, dockers_build_amd, dockers_build_arm, build_amd_ubsan] | ||
|
@@ -1842,7 +1760,6 @@ jobs: | |
- build_amd_msan | ||
- build_amd_ubsan | ||
- build_arm_release | ||
- build_arm_asan | ||
- build_amd_darwin | ||
- build_arm_darwin | ||
- docker_server_image | ||
|
@@ -1871,7 +1788,6 @@ jobs: | |
- integration_tests_tsan_6_6 | ||
- stress_test_amd_debug | ||
- stress_test_amd_tsan | ||
- stress_test_arm_asan | ||
- stress_test_amd_ubsan | ||
- stress_test_amd_msan | ||
- SignRelease | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why remove the update?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It triggered an auto-update, which occasionally caused the setup step to fail. I have addressed this on the runner side, so this change could be reverted.