19 lines
589 B
YAML
19 lines
589 B
YAML
- hosts: "gitea"
|
|
tasks:
|
|
- name: Test base jobs project was created in gitea
|
|
uri:
|
|
url: "https://localhost:3000/opendev/base-jobs"
|
|
validate_certs: false
|
|
status_code: 200
|
|
- name: Test zuul project was created in gitea
|
|
uri:
|
|
url: "https://localhost:3000/zuul/zuul"
|
|
validate_certs: false
|
|
status_code: 200
|
|
return_content: yes
|
|
register: zuul_content
|
|
- name: Assert description updated
|
|
fail:
|
|
msg: Zuul description was not updated
|
|
when: '"Zuuls new description" not in zuul_content.content'
|