| Author | SHA1 | Message | Date |
|---|---|---|---|
|
|
3a614c742d |
Add test .zuul.yaml and playbooks/
Change-Id: I9e56debe21992000dd8061cfbc09f052c7408150 |
6 years ago |
| @ -0,0 +1,19 @@ | |||||
| - job: | |||||
| name: blubber-build | |||||
| run: playbooks/blubber-build.yaml | |||||
| - job: | |||||
| name: blubber-test | |||||
| run: playbooks/blubber-test.yaml | |||||
| - project: | |||||
| check: | |||||
| jobs: | |||||
| - blubber-build | |||||
| - blubber-test | |||||
| gate: | |||||
| jobs: | |||||
| - blubber-build | |||||
| - blubber-test | |||||
| @ -0,0 +1,26 @@ | |||||
| # ansible! | |||||
| - hosts: all | |||||
| environment: | |||||
| GOPATH=/root | |||||
| tasks: | |||||
| - debug: | |||||
| msg: Building Blubber. | |||||
| - name: Install build and test dependencies | |||||
| apt: | |||||
| name: "{{ packages }}" | |||||
| update_cache: yes | |||||
| vars: | |||||
| packages: | |||||
| - golang | |||||
| - golint | |||||
| - build-essential | |||||
| - tree | |||||
| - git | |||||
| - name: Run tree and output | |||||
| # command: ls -lah src | |||||
| command: tree src | |||||
| register: out | |||||
| - debug: var=out.stdout_lines | |||||
| - make: | |||||
| chdir: src/gerrit/blubber | |||||
| @ -0,0 +1,8 @@ | |||||
| # ansible! | |||||
| - hosts: all | |||||
| tasks: | |||||
| - debug: | |||||
| msg: Building Blubber. | |||||
| - make: | |||||
| chdir: src/gerrit/blubber | |||||
| @ -0,0 +1,5 @@ | |||||
| # ansible! | |||||
| - hosts: all | |||||
| tasks: | |||||
| - debug: | |||||
| msg: Running Blubber tests. | |||||
| @ -0,0 +1,5 @@ | |||||
| # ansible! | |||||
| - hosts: all | |||||
| tasks: | |||||
| - debug: | |||||
| msg: Hello world! Hey! | |||||