Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
U
uffd-ldapd
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
uffd
uffd-ldapd
Compare revisions
dbe36855764c831b5ba051966b6f0e8b7e349857 to 5354245205010af86fded4939c8d33096bfb175e
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
uffd/uffd-ldapd
Select target project
No results found
5354245205010af86fded4939c8d33096bfb175e
Select Git revision
Branches
dh_installsystemd
group-filter
master
template-unit
Tags
v0.1.0
v0.1.1
v0.2.0
v0.2.1
8 results
Swap
Target
uffd/uffd-ldapd
Select target project
uffd/uffd-ldapd
russ/uffd-ldapd
2 results
dbe36855764c831b5ba051966b6f0e8b7e349857
Select Git revision
Branches
dh_installsystemd
group-filter
master
template-unit
Tags
v0.1.0
v0.1.1
v0.2.0
v0.2.1
8 results
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
Update pylint to v2.16.2 for python3.11 compatibility
· 27b39d01
Julian
authored
1 year ago
27b39d01
CI testing for Debian Bookworm
· 53542452
Julian
authored
1 year ago
53542452
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+28
-3
28 additions, 3 deletions
.gitlab-ci.yml
.pylintrc
+2
-9
2 additions, 9 deletions
.pylintrc
uffd-ldapd
+1
-1
1 addition, 1 deletion
uffd-ldapd
with
31 additions
and
13 deletions
.gitlab-ci.yml
View file @
53542452
image
:
registry.git.cccv.de/uffd/docker-images/b
uster
image
:
registry.git.cccv.de/uffd/docker-images/b
ookworm
variables
:
variables
:
DEBIAN_FRONTEND
:
noninteractive
DEBIAN_FRONTEND
:
noninteractive
GIT_SUBMODULE_STRATEGY
:
normal
GIT_SUBMODULE_STRATEGY
:
normal
APT_API_URL
:
https://packages.cccv.de
APT_API_URL
:
https://packages.cccv.de
APT_REPO
:
uffd
APT_REPO
:
uffd
PYLINT_PIN
:
pylint~=2.1
0.0
PYLINT_PIN
:
pylint~=2.1
6.2
before_script
:
before_script
:
-
python3 -V
-
python3 -V
...
@@ -13,7 +13,6 @@ before_script:
...
@@ -13,7 +13,6 @@ before_script:
-
uname -a
-
uname -a
-
python3 -m pylint --version
-
python3 -m pylint --version
-
python3 -m coverage --version
-
python3 -m coverage --version
-
echo "${CI_COMMIT_TAG}" | grep -qE "v[0-9]+[.][0-9]+[.][0-9]+.*" && export PACKAGE_VERSION="${CI_COMMIT_TAG#v}" || export PACKAGE_VERSION="${CI_COMMIT_SHA}"
.build
:
.build
:
stage
:
build
stage
:
build
...
@@ -62,6 +61,22 @@ linter:bullseye:
...
@@ -62,6 +61,22 @@ linter:bullseye:
reports
:
reports
:
codequality
:
codeclimate.json
codequality
:
codeclimate.json
linter:bookworm
:
image
:
registry.git.cccv.de/uffd/docker-images/bookworm
stage
:
test
script
:
-
pip3 install $PYLINT_PIN pylint-gitlab
# this force-updates jinja2 and some other packages!
-
pip3 install -r requirements.txt
-
python3 -m pylint --exit-zero --rcfile .pylintrc --output-format=pylint_gitlab.GitlabCodeClimateReporter 'uffd-ldapd' > codeclimate.json
-
python3 -m pylint --exit-zero --rcfile .pylintrc --output-format=pylint_gitlab.GitlabPagesHtmlReporter 'uffd-ldapd' > pylint.html
-
python3 -m pylint --rcfile .pylintrc --output-format=text 'uffd-ldapd'
artifacts
:
when
:
always
paths
:
-
pylint.html
reports
:
codequality
:
codeclimate.json
test:package:apt:buster
:
test:package:apt:buster
:
image
:
registry.git.cccv.de/uffd/docker-images/buster
image
:
registry.git.cccv.de/uffd/docker-images/buster
stage
:
test
stage
:
test
...
@@ -80,6 +95,15 @@ test:package:apt:bullseye:
...
@@ -80,6 +95,15 @@ test:package:apt:bullseye:
dependencies
:
dependencies
:
-
build:apt
-
build:apt
test:package:apt:bookworm
:
image
:
registry.git.cccv.de/uffd/docker-images/bookworm
stage
:
test
script
:
-
apt update
-
apt -y install ./*.deb
dependencies
:
-
build:apt
.publish
:
.publish
:
stage
:
deploy
stage
:
deploy
rules
:
rules
:
...
@@ -96,5 +120,6 @@ publish:apt:
...
@@ -96,5 +120,6 @@ publish:apt:
-
echo Update published repo for all distros
-
echo Update published repo for all distros
-
'
curl
--user
"${APTLY_API_USER}:${APTLY_API_PW}"
-X
PUT
-H
"Content-Type:
application/json"
--data
"{
}"
"${APT_API_URL}/api/publish/${APT_REPO}/buster"'
-
'
curl
--user
"${APTLY_API_USER}:${APTLY_API_PW}"
-X
PUT
-H
"Content-Type:
application/json"
--data
"{
}"
"${APT_API_URL}/api/publish/${APT_REPO}/buster"'
-
'
curl
--user
"${APTLY_API_USER}:${APTLY_API_PW}"
-X
PUT
-H
"Content-Type:
application/json"
--data
"{
}"
"${APT_API_URL}/api/publish/${APT_REPO}/bullseye"'
-
'
curl
--user
"${APTLY_API_USER}:${APTLY_API_PW}"
-X
PUT
-H
"Content-Type:
application/json"
--data
"{
}"
"${APT_API_URL}/api/publish/${APT_REPO}/bullseye"'
-
'
curl
--user
"${APTLY_API_USER}:${APTLY_API_PW}"
-X
PUT
-H
"Content-Type:
application/json"
--data
"{
}"
"${APT_API_URL}/api/publish/${APT_REPO}/bookworm"'
dependencies
:
dependencies
:
-
build:apt
-
build:apt
This diff is collapsed.
Click to expand it.
.pylintrc
View file @
53542452
...
@@ -380,13 +380,6 @@ max-line-length=160
...
@@ -380,13 +380,6 @@ max-line-length=160
# Maximum number of lines in a module.
# Maximum number of lines in a module.
max-module-lines=1000
max-module-lines=1000
# List of optional constructs for which whitespace checking is disabled. `dict-
# separator` is used to allow tabulation in dicts, etc.: {1 : 1,\n222: 2}.
# `trailing-comma` allows a space between comma and closing bracket: (a, ).
# `empty-line` allows space-only lines.
no-space-check=trailing-comma,
dict-separator
# Allow the body of a class to be on the same line as the declaration if body
# Allow the body of a class to be on the same line as the declaration if body
# contains single statement.
# contains single statement.
single-line-class-stmt=no
single-line-class-stmt=no
...
@@ -507,5 +500,5 @@ min-public-methods=2
...
@@ -507,5 +500,5 @@ min-public-methods=2
# Exceptions that will emit a warning when being caught. Defaults to
# Exceptions that will emit a warning when being caught. Defaults to
# "BaseException, Exception".
# "BaseException, Exception".
overgeneral-exceptions=BaseException,
overgeneral-exceptions=
builtin.
BaseException,
Exception
builtin.
Exception
This diff is collapsed.
Click to expand it.
uffd-ldapd
View file @
53542452
...
@@ -326,6 +326,6 @@ def main(socket_address, socket_path, socket_fd, api_url, api_user, api_secret,
...
@@ -326,6 +326,6 @@ def main(socket_address, socket_path, socket_fd, api_url, api_user, api_secret,
server
.
serve_forever
()
server
.
serve_forever
()
if
__name__
==
'
__main__
'
:
if
__name__
==
'
__main__
'
:
# Pylint does not seem to understand
the
click's decorators
# Pylint does not seem to understand click's decorators
# pylint: disable=unexpected-keyword-arg,no-value-for-parameter
# pylint: disable=unexpected-keyword-arg,no-value-for-parameter
main
(
auto_envvar_prefix
=
'
SERVER
'
)
main
(
auto_envvar_prefix
=
'
SERVER
'
)
This diff is collapsed.
Click to expand it.