File tree Expand file tree Collapse file tree 13 files changed +25
-21
lines changed Expand file tree Collapse file tree 13 files changed +25
-21
lines changed Original file line number Diff line number Diff line change 6363 MOLECULE_DOCKER_CGROUPS_MODE : ${{ matrix.config.cgroup_mode }}
6464 MOLECULE_DOCKER_VOLUMES : ${{ matrix.config.volumes }}
6565 PERSONAL_ACCESS_TOKEN : ${{ secrets.PERSONAL_ACCESS_TOKEN }}
66+ GITHUB_ACCOUNT : monolithprojects-testorg
67+ GITHUB_REPO : ansible-github_actions_runner-testrepo
6668
6769 org :
6870 name : Test Org Runner
@@ -104,3 +106,5 @@ jobs:
104106 MOLECULE_DOCKER_CGROUPS_MODE : ${{ matrix.config.cgroup_mode }}
105107 MOLECULE_DOCKER_VOLUMES : ${{ matrix.config.volumes }}
106108 PERSONAL_ACCESS_TOKEN : ${{ secrets.PERSONAL_ACCESS_TOKEN }}
109+ GITHUB_ACCOUNT : monolithprojects-testorg
110+ GITHUB_REPO : ansible-github_actions_runner-testrepo
Original file line number Diff line number Diff line change 55 become : yes
66 vars :
77 runner_user : ansible
8- github_repo : ansible-github_actions_runner-testrepo
9- github_account : monolithprojects-testorg
8+ github_repo : " {{ lookup('env', 'GITHUB_REPO') }} "
9+ github_account : " {{ lookup('env', 'GITHUB_ACCOUNT') }} "
1010 runner_state : absent
1111 roles :
1212 - monolithprojects.github_actions_runner
Original file line number Diff line number Diff line change 66 become : yes
77 vars :
88 runner_user : ansible
9- github_repo : ansible-github_actions_runner-testrepo
10- github_account : monolithprojects-testorg
9+ github_repo : " {{ lookup('env', 'GITHUB_REPO') }} "
10+ github_account : " {{ lookup('env', 'GITHUB_ACCOUNT') }} "
1111 runner_version : " latest"
1212 runner_labels :
1313 - label1
Original file line number Diff line number Diff line change 66 become : yes
77 vars :
88 runner_user : ansible
9- github_repo : ansible-github_actions_runner-testrepo
10- github_account : monolithprojects-testorg
9+ github_repo : " {{ lookup('env', 'GITHUB_REPO') }} "
10+ github_account : " {{ lookup('env', 'GITHUB_ACCOUNT') }} "
1111 github_api_url : " https://api.github.com"
1212 access_token : " {{ lookup('env', 'PERSONAL_ACCESS_TOKEN') }}"
1313 runner_name : ubuntu16-latest
Original file line number Diff line number Diff line change 55 become : yes
66 vars :
77 runner_user : ansible
8- github_repo : ansible-github_actions_runner-testrepo
9- github_account : monolithprojects-testorg
8+ github_repo : " {{ lookup('env', 'GITHUB_REPO') }} "
9+ github_account : " {{ lookup('env', 'GITHUB_ACCOUNT') }} "
1010 runner_state : absent
1111 runner_name : test_name
1212 roles :
Original file line number Diff line number Diff line change 66 become : yes
77 vars :
88 runner_user : ansible
9- github_repo : ansible-github_actions_runner-testrepo
10- github_account : monolithprojects-testorg
9+ github_repo : " {{ lookup('env', 'GITHUB_REPO') }} "
10+ github_account : " {{ lookup('env', 'GITHUB_ACCOUNT') }} "
1111 runner_version : " latest"
1212 runner_name : test_name
1313 runner_on_ghes : yes
Original file line number Diff line number Diff line change 66 become : yes
77 vars :
88 runner_user : ansible
9- github_repo : ansible-github_actions_runner-testrepo
10- github_account : monolithprojects-testorg
9+ github_repo : " {{ lookup('env', 'GITHUB_REPO') }} "
10+ github_account : " {{ lookup('env', 'GITHUB_ACCOUNT') }} "
1111 github_api_url : " https://api.github.com"
1212 access_token : " {{ lookup('env', 'PERSONAL_ACCESS_TOKEN') }}"
1313 runner_name : ubuntu16-latest
Original file line number Diff line number Diff line change 55 become : yes
66 vars :
77 runner_user : ansible
8- github_account : monolithprojects-testorg
8+ github_account : " {{ lookup('env', 'GITHUB_ACCOUNT') }} "
99 runner_org : yes
1010 runner_state : absent
1111 roles :
Original file line number Diff line number Diff line change 55 become : yes
66 vars :
77 runner_user : ansible
8- github_account : monolithprojects-testorg
8+ github_account : " {{ lookup('env', 'GITHUB_ACCOUNT') }} "
99 runner_org : yes
1010 runner_state : " stopped"
1111 runner_version : " 2.303.0"
Original file line number Diff line number Diff line change 66 become : yes
77 vars :
88 runner_user : ansible
9- github_account : monolithprojects-testorg
9+ github_account : " {{ lookup('env', 'GITHUB_ACCOUNT') }} "
1010 runner_org : yes
1111 github_api_url : " https://api.github.com"
1212 access_token : " {{ lookup('env', 'PERSONAL_ACCESS_TOKEN') }}"
You can’t perform that action at this time.
0 commit comments