Skip to content

Commit

Permalink
some more workflow sync
Browse files Browse the repository at this point in the history
  • Loading branch information
maksimov committed Oct 26, 2023
1 parent 90eb6c9 commit db46b8c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 242 deletions.
117 changes: 0 additions & 117 deletions .github/workflows/cluster_endtoend_onlineddl_revert_mysql80.yml

This file was deleted.

117 changes: 0 additions & 117 deletions .github/workflows/cluster_endtoend_onlineddl_vrepl_mysql80.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
- name: Tune the OS
if: steps.changes.outputs.end_to_end == 'true'
run: |
echo '1024 65535' | sudo tee -a /proc/sys/net/ipv4/ip_local_port_range
sudo sysctl -w net.ipv4.ip_local_port_range="22768 65535"
# Increase the asynchronous non-blocking I/O. More information at https://dev.mysql.com/doc/refman/5.7/en/innodb-parameters.html#sysvar_innodb_use_native_aio
echo "fs.aio-max-nr = 1048576" | sudo tee -a /etc/sysctl.conf
sudo sysctl -p /etc/sysctl.conf
Expand Down Expand Up @@ -102,10 +102,8 @@ jobs:
export VTDATAROOT="/tmp/"
source build.env
set -x
set -exo pipefail
# Increase our local ephemeral port range as we could exhaust this
sudo sysctl -w net.ipv4.ip_local_port_range="22768 61999"
# Increase our open file descriptor limit as we could hit this
ulimit -n 65536
cat <<-EOF>>./config/mycnf/mysql80.cnf
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/cluster_endtoend_xb_recovery_mysql57.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ jobs:
launchable verify || true
# Tell Launchable about the build you are producing and testing
launchable record build --name "$GITHUB_RUN_ID" --source .
launchable record build --name "$GITHUB_RUN_ID" --no-commit-collection --source .
- name: Run cluster endtoend test
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true'
Expand All @@ -143,7 +143,7 @@ jobs:
export VTDATAROOT="/tmp/"
source build.env
set -x
set -exo pipefail
# run the tests however you normally do, then produce a JUnit XML file
eatmydata -- go run test.go -docker=false -follow -shard xb_recovery | tee -a output.txt | go-junit-report -set-exit-code > report.xml
Expand All @@ -152,7 +152,10 @@ jobs:
if: steps.skip-workflow.outputs.skip-workflow == 'false' && steps.changes.outputs.end_to_end == 'true' && always()
run: |
# send recorded tests to launchable
launchable record tests --build "$GITHUB_RUN_ID" go-test . || true
if [[ "${{steps.skip-workflow.outputs.is_draft}}" == "false" ]]; then
# send recorded tests to launchable
launchable record tests --build "$GITHUB_RUN_ID" go-test . || true
fi
# print test output
cat output.txt

0 comments on commit db46b8c

Please sign in to comment.