Commit 3fb29015 authored by Recteur LP's avatar Recteur LP

Fedora 34 Base Image

parent ccb12a26
Pipeline #1640 passed with stages
in 9 minutes and 53 seconds
......@@ -21,27 +21,27 @@ test-build: auto-proxy
@buildah bud --pull --no-cache -f container/tests.container -t localhost/pyrmin:tests .
vendor:
@npm install
@grunt copy
npm install
grunt copy
build: vendor auto-proxy
@buildah bud --pull --no-cache --format docker -f container/pyrmin.container -v $(shell pwd):/opt/tmp -t docker.io/pyrmin/pyrmin
@buildah tag docker.io/pyrmin/pyrmin docker.io/pyrmin/pyrmin:$(CI_COMMIT_TAG)
buildah bud --pull --no-cache --format docker -f container/pyrmin.container -v "$(shell pwd)":/opt/tmp -t docker.io/pyrmin/pyrmin
buildah tag docker.io/pyrmin/pyrmin docker.io/pyrmin/pyrmin:$(CI_COMMIT_TAG)
build-el8: vendor auto-proxy
@buildah bud --pull --no-cache --format docker -f container/el8/pyrmin.container -v $(shell pwd):/opt/tmp -t docker.io/pyrmin/pyrmin:el8-latest
@buildah tag docker.io/pyrmin/pyrmin:el8-latest docker.io/pyrmin/pyrmin:el8-$(CI_COMMIT_TAG)
buildah bud --pull --no-cache --format docker -f container/el8/pyrmin.container -v "$(shell pwd)":/opt/tmp -t docker.io/pyrmin/pyrmin:el8-latest
buildah tag docker.io/pyrmin/pyrmin:el8-latest docker.io/pyrmin/pyrmin:el8-$(CI_COMMIT_TAG)
start:
@podman run --rm -p 8080 -e DEBUG=true -it docker.io/pyrmin/pyrmin
podman run --rm -p 8080 -e DEBUG=true -it docker.io/pyrmin/pyrmin
goss: test-build
@pgoss run localhost/pyrmin
pgoss run localhost/pyrmin
tests: test-build
@podman run --rm -t localhost/pyrmin:tests python3
@podman run --rm -t localhost/pyrmin:tests pycodestyle
@podman run --rm -t localhost/pyrmin:tests grunt
podman run --rm -t localhost/pyrmin:tests python3
podman run --rm -t localhost/pyrmin:tests pycodestyle
podman run --rm -t localhost/pyrmin:tests grunt
csscomb:
@csscomb -v src/css
......
FROM registry.fedoraproject.org/fedora:33
FROM registry.fedoraproject.org/fedora:34
MAINTAINER pyrmin.io <support@pyrmin.io>
RUN dnf -v -y install \
......
FROM registry.fedoraproject.org/fedora:33
FROM registry.fedoraproject.org/fedora:34
MAINTAINER pyrmin.io <support@pyrmin.io>
ENV TERM xterm
......
......@@ -86,7 +86,7 @@ class Plugins():
if not os.path.exists(self.plugins_path):
log.warning("Plugins directory does not exist ({})".format(self.plugins_path))
elif name not in [x.lower() for x in os.listdir(self.plugins_path)]:
log.debug('Local plugin {} not found'.format(name))
log.debug('Local plugin override not found for: {}'.format(name))
else:
for dir in os.listdir(self.plugins_path):
if dir.lower() == name.lower():
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment