Skip to content

Commit

Permalink
Update configure runner and opensuse setup scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
szczepax committed Jul 21, 2023
1 parent fafc805 commit 5cf829c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
12 changes: 10 additions & 2 deletions utils/ansible/configure-self-hosted-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
# connection: local
vars:
testUser: pmdkuser
package_url: https://github.com/actions/runner/releases/download/v2.304.0/actions-runner-linux-x64-2.304.0.tar.gz
package_url: https://github.com/actions/runner/releases/download/v2.306.0/actions-runner-linux-x64-2.306.0.tar.gz
runner_folder: /home/{{ testUser }}/actions-runner
repo_url: https://github.com/pmem/pmdk
vars_list: "{{ vars_gha.split(',') }}"
Expand All @@ -59,7 +59,15 @@
remote_src: yes

- name: "Change owner to {{ testUser }}"
shell: chown -R {{ testUser }} {{ runner_folder }}
shell: chown -R $(id -u {{ testUser }}).$(id -g {{ testUser }}) {{ runner_folder }}

# Make sure the following environment variables are present in the env
# to ensure propagation to the actions-runner environment.
- name: "Add env variables into env.sh checklist"
lineinfile:
path: "{{ runner_folder }}/env.sh"
line: " 'PKG_CONFIG_PATH'\n 'HOME'"
insertafter: "^varCheckList=\\("

- name: "Add runner to GHA"
shell: |
Expand Down
3 changes: 0 additions & 3 deletions utils/ansible/opensuse-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,6 @@
- name: "Install valgrind from source"
script: ../docker/images/install-valgrind.sh

- name: "Run the install-libndctl script with arguments"
script: ../docker/images/install-libndctl.sh tags/v70.1

# Disable AppArmor.
# AppArmor may block proper GHA runner installation and startup.
# ==`Suse` condition is inherited from the original version of
Expand Down

0 comments on commit 5cf829c

Please sign in to comment.