File tree Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Expand file tree Collapse file tree 3 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change @@ -37,8 +37,6 @@ fworch_conf_dir: "{{ fworch_home }}/etc"
3737fworch_conf_file : " {{ fworch_conf_dir }}/fworch.json"
3838fworch_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)
4341http_proxy : " {{ lookup('env','http_proxy') }}"
4442https_proxy : " {{ lookup('env','https_proxy') }}"
Original file line number Diff line number Diff line change 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 :
You can’t perform that action at this time.
0 commit comments