Compare commits
65 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
59ffdfa590 |
||
|
|
3ba52e0b31 | ||
|
|
a68f842021 | ||
|
|
69ed7cb357 | ||
|
|
0f0bff38d9 | ||
|
|
3e238a10bb | ||
|
|
17ce2c244b | ||
|
|
d4d9b5b2fa | ||
|
|
80923e97ac | ||
|
|
36646eaff0 | ||
|
|
a4e3f9db28 | ||
|
|
fbda2c536f | ||
|
|
71f9f79a99 | ||
|
|
818a896074 | ||
|
|
ac98878b39 | ||
|
|
66ea565cf0 | ||
|
|
eb18a58ada | ||
|
|
1eba9c71f9 | ||
|
|
108ead4180 | ||
|
|
322933688f | ||
|
|
d4b3eac934 | ||
|
|
2ba7f6fdcb | ||
|
|
b7274eed93 | ||
|
|
9460c59b68 | ||
|
|
bd0e101dd5 | ||
|
|
c1a3757bfb | ||
|
|
f2aa535d7f | ||
|
|
9fc118426b | ||
|
|
d3bc37fbe9 | ||
|
|
3246981785 | ||
|
|
676159cdbe | ||
|
|
0206faf851 | ||
|
|
c7bbbb526c | ||
|
|
2038424300 | ||
|
|
0d6dd6c474 | ||
|
|
9c049420f9 | ||
|
|
b571678094 | ||
|
|
21b1db3d05 | ||
|
|
12c57f2822 | ||
|
|
1b6a7a0750 | ||
|
|
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 36 additions and 102 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
|
|
||||||
63
nginx.yaml
63
nginx.yaml
|
|
@ -1,53 +1,38 @@
|
||||||
document: modulemd
|
document: modulemd-packager
|
||||||
version: 1
|
version: 3
|
||||||
data:
|
data:
|
||||||
summary: nginx webserver
|
summary: nginx webserver
|
||||||
description: an initial version of the nginx webserver module
|
description: nginx webserver mainline stream
|
||||||
license:
|
license:
|
||||||
module: [ MIT ]
|
- MIT
|
||||||
dependencies:
|
configurations:
|
||||||
buildrequires:
|
- context: "f38"
|
||||||
base-runtime: master
|
platform: f38
|
||||||
requires:
|
|
||||||
base-runtime: master
|
|
||||||
references:
|
references:
|
||||||
community: https://docs.pagure.org/modularity/
|
documentation: http://nginx.org/en/docs/
|
||||||
documentation: https://github.com/container-images/nginx
|
tracker: https://trac.nginx.org/nginx/
|
||||||
tracker: https://github.com/container-images/nginx
|
|
||||||
profiles:
|
profiles:
|
||||||
default:
|
common:
|
||||||
rpms:
|
rpms:
|
||||||
- nginx
|
- nginx
|
||||||
|
- nginx-all-modules
|
||||||
|
minimal:
|
||||||
|
rpms:
|
||||||
|
- nginx-core
|
||||||
api:
|
api:
|
||||||
rpms:
|
rpms:
|
||||||
- nginx
|
- 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:
|
components:
|
||||||
rpms:
|
rpms:
|
||||||
nginx:
|
nginx:
|
||||||
rationale: Provides API for this module.
|
rationale: nginx package
|
||||||
ref: f26
|
ref: stream-mainline
|
||||||
|
|
||||||
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
|
|
||||||
|
|
|
||||||
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