Skip to content

Commit 7ed3caf

Browse files
Update
1 parent 21107b9 commit 7ed3caf

File tree

9 files changed

+15
-19
lines changed

9 files changed

+15
-19
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ jobs:
2525
tag: "latest"
2626
- os: "fedora33"
2727
tag: "latest"
28-
- os: "ubuntu16"
29-
tag: "latest"
3028
- os: "ubuntu18"
3129
tag: "latest"
3230
- os: "ubuntu20"

CONTRIBUTING.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@ cd ansible-github_actions_runner
3131
molecule test
3232
```
3333

34+
> You will need to edit the files in `molecule/default` directory (please do not commit those changes)
35+
3436
## 5. Create a pull request
3537

3638
Please create a pull request into the `develop` branch. Here is [how to do it](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request-from-a-fork).
3739

38-
3940
Please consider to [sponsor](https://github.com/sponsors/monolithprojects) me :-)

molecule/default/cleanup.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
vars:
77
- runner_user: ansible
88
- github_repo: ansible-github_actions_runner-testrepo
9-
- github_account: monolithprojects
9+
- github_account: monolithprojects-testorg
1010
- runner_state: absent
1111
roles:
1212
- ansible-github_actions_runner

molecule/default/molecule.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ scenario:
2929
name: default
3030
test_sequence:
3131
- dependency
32-
# - lint
32+
- lint
3333
- destroy
3434
- syntax
3535
- create

molecule/default/verify.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
vars:
88
- runner_user: ansible
99
- github_repo: ansible-github_actions_runner-testrepo
10-
- github_account: monolithprojects
10+
- github_account: monolithprojects-testorg
1111
- github_api_url: "https://api.github.com"
1212
- access_token: "{{ lookup('env', 'PERSONAL_ACCESS_TOKEN') }}"
13-
- runner_name: "{{ ansible_hostname }}"
13+
- runner_name: ubuntu16-latest
1414

1515
tasks:
1616
- name: Check currently registered runners
@@ -24,15 +24,12 @@
2424
force_basic_auth: yes
2525
register: registered_runners
2626

27+
- debug:
28+
var: registered_runners.json.runners
29+
2730
- name: Check Runner
2831
assert:
2932
that:
3033
- runner_name in registered_runners.json.runners|map(attribute='name')|list
3134
- registered_runners.json.runners|map(attribute='status') == ["online"]
32-
quiet: true
33-
34-
- debug:
35-
var: registered_runners.json.runners|map(attribute='name')
36-
37-
- debug:
38-
var: registered_runners.json.runners|map(attribute='status')
35+
quiet: true

molecule/org/molecule.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ scenario:
2929
name: org
3030
test_sequence:
3131
- dependency
32-
# - lint
32+
- lint
3333
- destroy
3434
- syntax
3535
- create

molecule/org/verify.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
tasks:
1616
- name: Give the runners a minute
1717
pause:
18-
seconds: 60
18+
seconds: 30
1919

2020
- name: Check currently registered runners
2121
uri:

molecule/repo/molecule.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ scenario:
2929
name: repo
3030
test_sequence:
3131
- dependency
32-
# - lint
32+
- lint
3333
- destroy
3434
- syntax
3535
- create

molecule/repo/verify.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
- runner_name: "{{ ansible_hostname }}"
1414

1515
tasks:
16-
- name: Give the runners a minute
16+
- name: Give the runners some time
1717
pause:
18-
seconds: 60
18+
seconds: 30
1919

2020
- name: Check currently registered runners
2121
uri:

0 commit comments

Comments
 (0)