Blob Blame History Raw
document: modularity-testing
version: 1
name: nginx
modulemd-url: http://raw.githubusercontent.com/container-images/nginx/master/nginx.yaml
service:
    port: 80
packages:
    rpms:
        - nginx
testdependecies:
    rpms:
        - curl
module:
    docker:
        start: "docker run --rm -p 80:80 nginx"
        source: https://github.com/container-images/nginx.git
        container: docker.io/modularitycontainers/nginx
    rpm:
        start: systemctl start nginx
        stop: systemctl stop nginx
        status: systemctl status nginx
        repos:
            - http://mirror.vutbr.cz/fedora/releases/25/Everything/x86_64/os/
test:
    processrunning:
        - 'ls  /proc/*/exe -alh | grep nginx'
testhost:
    basic:
        - 'curl localhost | grep "Welcome to nginx!"'