Commit Graph

  • 562ff78a17 Accepting request 1288354 from network:samba:CONTAINERS factory Ana Guerrero 2025-06-24 18:50:54 +00:00
  • 5d8718f251 - Update to version v0.6+git.60.2f89a38: * tests: add a test case for the ensure_ctdb_port_in_services func * sambacc: add a function to alter /etc/services for ctdb port * sambacc: add a ctdb port configuration value * samba_cmds: Switch ctdb to CommandArgs type * samba_cmds: Switch wbinfo to CommandArgs type * samba_cmds: Modify execute() to accept CommandArgs * tests: test session crypto info fetched from grpc server * grpc: add session crypto information to grpc server * grpc: add session crypto message to control.proto * tests: add test coverage for backend session crypto * grpc: add support for session crypto info to backend.py * grpc: remove junk values from backend Versions object * mergify: Restrict the addition of "priority-review" label * github: Update mergify rules with symbolic fedora test jobs * workflows: Dynamically detect fedora versions for test matrix * extras: update python-sambacc.spec for new grpc extra * tox.ini: include grpc libs for unit tests * setup.cfg: add new modules, entrypoint, extras * commands/remotecontrol: create remote control command * tests: add test_grpc_backend.py to test server backend module * tests: add test_grpc_server.py to test grpc server behavior * grpc: add server.py for managing the grpc server * grpc: add backend.py for interfacing with samba commands * grpc/generated: add generated grpc files * tox.ini: add new environments for generating grpc related files * grpc/protobufs: add initial .proto file * grpc: establish a location for grpc related code and files * tox.ini: support mypy checking for files using grpc libs * pyproject.toml: exclude generated files from mypy check David Mulder 2025-06-24 16:29:36 +00:00
  • ded3c978f3 Accepting request 1277770 from network:samba:CONTAINERS Ana Guerrero 2025-05-15 15:03:10 +00:00
  • 616f839b18 - Update to version v0.6+git.5.aa9a005: * commands: fix a mypy failure in the ctdb commands module * tests/container: update base image to fedora 41 * github: update mergify rules to use fedora 41, not 39 * workflows: update test matrix to use fedora 41 * ctdb: handle nodes with "GONE" state when listing CTDB nodes * ctdb: Leave CTDB log levels at their original defaults * commands: add retries to ctdb-must-have-nodes command * ctdb: improve hostname lookup for ctdb nodes * tests/container: add rhel support to rpm builds * sambacc: fix constructing interface list for ctdb public_addresses * commands: pass instance config to ctdb etc setup * sambacc: add public addresses support to ctdb module * sambacc: add config placeholder for ctdb public address config * sambacc: avoid logging an error if cluster is being torn down * github: Update mergify config to replace deprecated attributes * sambacc: add a retry loop to ctdb.monitor_cluster_meta_changes * commands: time out waiting for conditions after 5min * commands: add ability to wait for ctdb when running smbd/winbindd * sambacc: move ctdb pnn fetching commands into functions * commands: add ctdb-list-nodes subcommand * sambacc: add nodes command to ctdb configuration if needed * sambacc: add ability to write to an open file to cluster_meta_to_nodes * commands: add ctdb-monitor-nodes command * sambacc: add monitor_cluster_meta_changes function * sambacc: simplify _cluster_meta_to_ctdb_nodes function * sambacc: split out some potentially common ctdb logic into funcs * commands: improve ctdb_manage_nodes doc comment * sambacc: rename function to manage_cluster_meta_updates * commands: encapsulate retry logic David Mulder 2025-05-15 13:56:37 +00:00
  • c460cdb088 Accepting request 1153034 from network:samba:CONTAINERS leap-16.1 leap-16.0 Dominique Leuenberger 2024-02-29 20:49:29 +00:00
  • 292d5ea7c5 Accepting request 1153033 from home:jaimeMF:branches:network:samba:CONTAINERS David Mulder 2024-02-28 21:00:33 +00:00
  • 53eb4e60ab Accepting request 1086073 from network:samba:CONTAINERS Dominique Leuenberger 2023-05-10 14:20:10 +00:00
  • 339f55c1ed - Update to version v0.2+git.108.e7850e0: * docs: document the availability of yaml and toml formatted confs * extras: have rpm spec recommend extras on fedora 37 & later * extras: add our toml and yaml extras to the rpm spec * tox: get all test envs that install via pip working with extras * setup: add extras for toml and yaml * tests: support testing toml with tomli or tomllib * sambacc: support tomli for reading toml on older versions * tests: add test cases for yaml formatted configuration * sambacc: add support for reading YAML formatted configs * tests: add test cases for toml formatted configuration * sambacc: add support for reading TOML formatted configs * copr: add .copr/Makefile for building in COPR system * container: default to dnf in build script * container: more granular controls of build script behavior * container: generate a more robust rpm spec file * container: make build script a tad more consistent * extras: fix a typo in the rpm spec * extras: add additional build deps to the rpm spec file * extras: add validation extra as an rpm sub package * sambacc: make config module robust to unexpected jsonschema versions David Mulder 2023-05-10 11:27:34 +00:00
  • f59a50223c Accepting request 1080186 from network:samba:CONTAINERS Dominique Leuenberger 2023-04-19 15:42:51 +00:00
  • 3885e7c585 - Update to version v0.2+git.88.c81c65a: * workflows: add a job to check commit messages * gitlint: add a .gitlint configuration file * tox: add a gitlint environment * tox: add an 'extras' to the python package * extras: fix a warning when building on fc37 * extras: use the new py3-sys tox env in the rpm spec file * tox: create a new py3-sys environment * workflows: do not run push job if test job fails * workflows: add test runs for centos stream9 and fedora 37 * workflows: use non-shallow git checkout to please setuptools_scm * container: inform git that our repo path is acceptable * container: always run rpm build as part of a normal build * tox: remove jsonschema from the tox deps list * sambacc: ignore mypy errors if it can't import jsonschema * setup.cfg: add sambacc.schema to package list * tox: add schemacheck to verify that generated schema data matches yaml * tests: add initial tests of json schema validation * commands: extend the context protocol with a require_validation method * commands: add cli option & env var to control config validation * sambacc: add support for json schema based validation of the config * tox: add type definition packages for mypy testing with json schema * pyproject: do not require typing in the schema dir * schema: commit generated python * schema: add a python tool to manage schema files * schema: add new json-schema based schema files to the tree * tests: supply invalid configuration to GloalConfig directly * sambacc: add an initial_data argument to GlobalConfig class * sambacc: add a JSONData type for convenience * tests: fix a typo in a test name David Mulder 2023-04-18 20:07:14 +00:00
  • bb7bf195ea Accepting request 1077724 from home:dimstar:Factory David Mulder 2023-04-18 20:05:12 +00:00
  • e4ff98c869 Accepting request 1063470 from network:samba:CONTAINERS Dominique Leuenberger 2023-02-07 17:48:58 +00:00
  • 26b2c2d288 - Update to version v0.2+git.56.9d8b892: * container: parameterize the sambacc containerfile * container: update build.sh with ability to install dependencies David Mulder 2023-02-06 16:46:54 +00:00