Compare commits
45 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
316deb48d3 | ||
|
|
267c831d98 | ||
|
|
a9d4181f45 | ||
|
|
34621e4545 | ||
|
|
ec8bffb865 | ||
| 463ba509ec | |||
| b5cf1647f6 | |||
| 72ba87cd0f | |||
| 6aaf1e591f | |||
| fa555f6a56 | |||
| 16434df23e | |||
| bb1a5e32ca | |||
| 2db36b997b | |||
| bc34923895 | |||
| f68186efff | |||
|
|
f24dff7b21 | ||
|
|
f05a0c7dbf | ||
|
|
8105bca205 | ||
|
|
e5816af0a9 |
||
| 58468d00f8 | |||
| a065141dbb | |||
| 8aa91020d1 | |||
|
|
6a6fc06ff7 | ||
|
|
952fb8a15b | ||
| df24325229 | |||
| a6ec0ec1fe | |||
| 8e45eed80b | |||
| 725dfb3a7e | |||
| ce8f547877 | |||
| ea628f2d57 | |||
| af96a8c5bc | |||
| 924abe06db | |||
|
|
041e89cfde | ||
|
|
fbaec0b099 | ||
| bced01ea08 | |||
| 007a48ee4e | |||
|
|
874f02e92d | ||
| a5f7be7fa8 | |||
|
|
cc67efb9ca | ||
|
|
c26170f23c | ||
|
|
54c81875cc | ||
|
|
eadc7ab4e5 | ||
|
|
e40f03de14 | ||
|
|
4da90d45b6 | ||
|
|
edf2779f23 |
5 changed files with 44 additions and 103 deletions
15
Makefile
15
Makefile
|
|
@ -1,15 +0,0 @@
|
|||
IMAGE_NAME = nginx
|
||||
|
||||
MODULEMDURL=file://nginx.yaml
|
||||
|
||||
default: run
|
||||
|
||||
build:
|
||||
docker build --tag=$(IMAGE_NAME) .
|
||||
|
||||
run: build
|
||||
docker run -d $(IMAGE_NAME)
|
||||
|
||||
test: build
|
||||
cd tests; MODULE=docker MODULEMD=$(MODULEMDURL) URL="docker=$(IMAGE_NAME)" make all
|
||||
cd tests; MODULE=rpm MODULEMD=$(MODULEMDURL) URL="docker=$(IMAGE_NAME)" make all
|
||||
96
nginx.yaml
96
nginx.yaml
|
|
@ -1,53 +1,45 @@
|
|||
document: modulemd
|
||||
version: 1
|
||||
document: modulemd-packager
|
||||
version: 3
|
||||
data:
|
||||
summary: nginx webserver
|
||||
description: an initial version of the nginx webserver module
|
||||
license:
|
||||
module: [ MIT ]
|
||||
dependencies:
|
||||
buildrequires:
|
||||
base-runtime: master
|
||||
requires:
|
||||
base-runtime: master
|
||||
references:
|
||||
community: https://docs.pagure.org/modularity/
|
||||
documentation: https://github.com/container-images/nginx
|
||||
tracker: https://github.com/container-images/nginx
|
||||
profiles:
|
||||
default:
|
||||
rpms:
|
||||
- nginx
|
||||
api:
|
||||
rpms:
|
||||
- nginx
|
||||
components:
|
||||
rpms:
|
||||
nginx:
|
||||
rationale: Provides API for this module.
|
||||
ref: f26
|
||||
|
||||
gperftools:
|
||||
rationale: dependency
|
||||
ref: f26
|
||||
libmnl:
|
||||
rationale: dependency
|
||||
ref: f26
|
||||
libnetfilter_conntrack:
|
||||
rationale: dependency
|
||||
ref: f26
|
||||
libnfnetlink:
|
||||
rationale: dependency
|
||||
ref: f26
|
||||
libunwind:
|
||||
rationale: dependency
|
||||
ref: f26
|
||||
libxkbcommon:
|
||||
rationale: dependency
|
||||
ref: f26
|
||||
mailcap:
|
||||
rationale: dependency
|
||||
ref: f26
|
||||
xkeyboard-config:
|
||||
rationale: dependency
|
||||
ref: f26
|
||||
summary: nginx webserver
|
||||
description: nginx webserver 1.20 stream
|
||||
license:
|
||||
- MIT
|
||||
configurations:
|
||||
- context: "8b234a03"
|
||||
platform: eln
|
||||
- context: "5e5ad4a0"
|
||||
platform: f36
|
||||
- context: "9e842022"
|
||||
platform: f37
|
||||
- context: "f38"
|
||||
platform: f38
|
||||
- context: "f39"
|
||||
platform: f39
|
||||
references:
|
||||
documentation: http://nginx.org/en/docs/
|
||||
tracker: https://trac.nginx.org/nginx/
|
||||
profiles:
|
||||
common:
|
||||
rpms:
|
||||
- nginx
|
||||
- nginx-all-modules
|
||||
minimal:
|
||||
rpms:
|
||||
- nginx-core
|
||||
api:
|
||||
rpms:
|
||||
- nginx
|
||||
- nginx-all-modules
|
||||
- nginx-core
|
||||
- nginx-filesystem
|
||||
- nginx-mod-http-image-filter
|
||||
- nginx-mod-http-perl
|
||||
- nginx-mod-http-xslt-filter
|
||||
- nginx-mod-mail
|
||||
- nginx-mod-stream
|
||||
components:
|
||||
rpms:
|
||||
nginx:
|
||||
rationale: nginx package
|
||||
ref: stream-1.20
|
||||
|
|
|
|||
0
sources
0
sources
|
|
@ -1,7 +0,0 @@
|
|||
MODULE_LINT=/usr/share/moduleframework/tools/modulelint.py
|
||||
CMD=python -m avocado run --filter-by-tags=-WIP $(MODULE_LINT) *.py
|
||||
|
||||
#
|
||||
all:
|
||||
generator
|
||||
$(CMD)
|
||||
|
|
@ -1,29 +0,0 @@
|
|||
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!"'
|
||||
Loading…
Add table
Add a link
Reference in a new issue