Skip to content

Commit e275a34

Browse files
committed
ci: add call to check-config.sh
This is done to make sure the script is working correctly in different environments (distro and kernel versions). In addition, we can see in test logs which kernel features are enabled. Note that I didn't want to have a separate job for GHA CI, so I just added this to the end of shellcheck one. Signed-off-by: Kir Kolyshkin <[email protected]> (cherry picked from commit cacc823) Signed-off-by: Kir Kolyshkin <[email protected]>
1 parent 0fc1561 commit e275a34

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.cirrus.yml

+4
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ task:
5151
vagrant ssh-config >> /root/.ssh/config
5252
guest_info_script: |
5353
ssh default 'sh -exc "uname -a && systemctl --version && df -T && cat /etc/os-release && go version"'
54+
check_config_script: |
55+
ssh default /vagrant/script/check-config.sh
5456
unit_tests_script: |
5557
ssh default 'sudo -i make -C /vagrant localunittest'
5658
integration_systemd_script: |
@@ -152,6 +154,8 @@ task:
152154
df -T
153155
echo "-----"
154156
systemctl --version
157+
check_config_script: |
158+
/home/runc/script/check-config.sh
155159
unit_tests_script: |
156160
ssh -tt localhost "make -C /home/runc localunittest"
157161
integration_systemd_script: |

.github/workflows/validate.yml

+2
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ jobs:
8787
- name: shellcheck
8888
run: |
8989
make shellcheck
90+
- name: check-config.sh
91+
run : ./script/check-config.sh
9092

9193
deps:
9294
runs-on: ubuntu-20.04

0 commit comments

Comments
 (0)