Skip to content

Commit b08a2f0

Browse files
committed
Test directly
1 parent a628359 commit b08a2f0

File tree

1 file changed

+17
-16
lines changed

1 file changed

+17
-16
lines changed

.github/workflows/ansible-deployments.yml

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,25 @@ name: Test contest deployment (ansible scripts)
33
on: [push,pull_request]
44

55
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:
716
runs-on: ubuntu-latest
817
steps:
918
- name: Checkout repo
1019
uses: actions/checkout@v2
1120
- 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

0 commit comments

Comments
 (0)