Skip to content

Commit 3f7bb82

Browse files
.
1 parent ff80fe7 commit 3f7bb82

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

.github/workflows/test-install.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ jobs:
2929
- name: Set environment variable
3030
run: echo "RUNNING_ON_GITHUB=${{ env.RUNNING_ON_GITHUB_ACTIONS }}" >> $GITHUB_ACTIONS
3131
- name: do test install in case of merged pull request
32-
run: cd /home/runner/work/firewall-orchestrator/firewall-orchestrator && ansible-playbook -e force_install=true site.yml -K
32+
run: cd /home/runner/work/firewall-orchestrator/firewall-orchestrator && ansible-playbook -e force_install=true site.yml -K --extra-vars "RUNNING_ON_GITHUB=${{ env.RUNNING_ON_GITHUB_ACTIONS }}"
3333
- name: switch to fworch user for c# unit tests
3434
run: sudo su -l fworch && cd ~/test/csharp/FWO.Test && dotnet test

inventory/group_vars/all.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ fworch_conf_dir: "{{ fworch_home }}/etc"
3737
fworch_conf_file: "{{ fworch_conf_dir }}/fworch.json"
3838
fworch_secrets_dir: "{{ fworch_conf_dir }}/secrets"
3939

40-
github_actions: "{{ lookup('env','RUNNING_ON_GITHUB_ACTIONS') }}"
41-
4240
# setting default proxy (may be overwritten via --extra-vars)
4341
http_proxy: "{{ lookup('env','http_proxy') }}"
4442
https_proxy: "{{ lookup('env','https_proxy') }}"

roles/tests-unit/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
become_user: "{{ fworch_user }}"
1717
register: csharp_tests
1818
ignore_errors: false
19-
environment: "{{ github_actions }}"
19+
environment: "{{ proxy_env }}"
2020

2121
- name: show csharp test results in case of errors
2222
debug:

0 commit comments

Comments
 (0)