Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
PyRmin
pyrmin
Commits
3fb29015
Commit
3fb29015
authored
Mar 03, 2021
by
Recteur LP
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fedora 34 Base Image
parent
ccb12a26
Pipeline
#1640
passed with stages
in 9 minutes and 53 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
14 deletions
+14
-14
Makefile
Makefile
+11
-11
container/pyrmin.container
container/pyrmin.container
+1
-1
container/tests.container
container/tests.container
+1
-1
pyrmin/plugins.py
pyrmin/plugins.py
+1
-1
No files found.
Makefile
View file @
3fb29015
...
...
@@ -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
...
...
container/pyrmin.container
View file @
3fb29015
FROM registry.fedoraproject.org/fedora:3
3
FROM registry.fedoraproject.org/fedora:3
4
MAINTAINER pyrmin.io <support@pyrmin.io>
RUN dnf -v -y install \
...
...
container/tests.container
View file @
3fb29015
FROM registry.fedoraproject.org/fedora:3
3
FROM registry.fedoraproject.org/fedora:3
4
MAINTAINER pyrmin.io <support@pyrmin.io>
ENV TERM xterm
...
...
pyrmin/plugins.py
View file @
3fb29015
...
...
@@ -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
():
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment