Skip to content
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

Fixes integration tests on noexec mounted directories #1318

Merged
merged 3 commits into from
Sep 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ jobs:
fail-fast: false
matrix:
vm_type:
- cos
# COS testing is disabled until ROX-15295 is completed
# due to noexec flags on the file system mounts
#- cos
- flatcar
- fedora-coreos
- rhel-sap
Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/run-test-target/tasks/build-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
- name: Upload test binary
copy:
src: "{{ integration_tests_root }}/bin/collector-tests"
dest: "{{ remote_tests_root }}"
dest: "{{ remote_tests_root }}/"
mode: '0700'

- name: Upload test files
Expand Down
2 changes: 1 addition & 1 deletion ansible/roles/run-test-target/vars/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---

integration_tests_root: "{{ collector_root }}/integration-tests"
remote_tests_root: /tmp/collector-tests/
remote_tests_root: "{{ ansible_env.HOME }}/collector-tests"
remote_tests_binary: "{{ remote_tests_root }}/collector-tests"
remote_logs_root: "{{ remote_tests_root }}/container-logs"