Use environment variables for proxy address

This commit is contained in:
2021-05-02 22:06:26 +12:00
parent 35944646d5
commit fa94f36fb1
3 changed files with 3 additions and 2 deletions

View File

@@ -28,3 +28,4 @@ jobs:
molecule test --all
env:
MOLECULE_DISTRO: ${{ matrix.molecule_distro }}
EPEL_MIRROR_URL: https://pproxy.guise.net.nz

View File

@@ -7,4 +7,4 @@
name: "{{ lookup('env', 'MOLECULE_PROJECT_DIRECTORY') | basename }}"
vars:
epel_specify_mirror: true
epel_mirror_url: https://pproxy.guise.net.nz
epel_mirror_url: "{{ lookup('env', 'EPEL_MIRROR_URL')"

View File

@@ -22,4 +22,4 @@
- name: mirror is specified correctly
assert:
that:
- "'https://someproxyormirror.org.nz' in repofile.stdout"
- "{{ lookup('env', 'EPEL_MIRROR_URL') in repofile.stdout"