File tree Expand file tree Collapse file tree 1 file changed +17
-16
lines changed Expand file tree Collapse file tree 1 file changed +17
-16
lines changed Original file line number Diff line number Diff line change @@ -3,24 +3,25 @@ name: Test contest deployment (ansible scripts)
3
3
on : [push,pull_request]
4
4
5
5
jobs :
6
- build :
6
+ # build:
7
+ # runs-on: ubuntu-latest
8
+ # steps:
9
+ # - name: Checkout repo
10
+ # uses: actions/checkout@v2
11
+ # - name: Install ansible lint tools
12
+ # run: sudo apt update; sudo apt install ansible-lint
13
+ # - name: Lint the different scripts
14
+ # run: cd icpc-wf/ansible; ansible-lint .
15
+ Test judgedaemon role :
7
16
runs-on : ubuntu-latest
8
17
steps :
9
18
- name : Checkout repo
10
19
uses : actions/checkout@v2
11
20
- name : Install ansible lint tools
12
- run : sudo apt install ansible-lint
13
- - name : Lint the different scripts
14
- run : cd icpc-wf/ansible; ansible-lint .
15
- # deployAnsible:
16
- # needs: build
17
- # runs-on: ubuntu-latest
18
- # steps:
19
- # - uses: actions/checkout@v1
20
- # - uses: ./.github/actions/ansible
21
- #
22
- # with:
23
- # playbook: playbook.yml
24
- # inventory: localhost
25
- #
26
- #
21
+ run : sudo apt update; sudo apt install ansible
22
+ - name : Move to new working directory
23
+ run : cd icpc-wf/ansible
24
+ - name : Setup the hosts file
25
+ run : printf '[judgehost] \n github-action\tansible_host=localhost' > hosts
26
+ - name : Run the default deployment method
27
+ run : make judgehost
You can’t perform that action at this time.
0 commit comments