Commit graph

114 commits

Author SHA1 Message Date
James Hodgkinson fa905a60d5
fixing up auto-merge (#1519) 2023-04-03 21:56:58 +10:00
James Hodgkinson 7a3b176c18
Adding an auto-merger for dependabot updates (#1486) 2023-03-28 09:11:36 +10:00
Firstyear e33beea89d
1399 cleanup cli docs (#1413)
* Cleanup cli args
* Update book
* Update wasm
* making the CI happy


---------

Co-authored-by: James Hodgkinson <james@terminaloutcomes.com>
2023-03-02 12:47:23 +10:00
dependabot[bot] d6dac938a6
chore(deps): bump docker/build-push-action from 3 to 4 (#1360) 2023-02-13 15:08:07 +01:00
Yuxuan Lu 251feac7cb
Fix debian build path (#1331)
* Update CONTRIBUTORS
* Fix debian & ubuntu packaging
* Use standard way to install pam config
* Fix simple_pkg.sh & add pam nss instructions
* Merge ssh with unixd; update CI to build for multiple os versions; upload packages to artifacts
2023-01-25 09:45:55 +10:00
James Hodgkinson 964853dd0d
making the robots easier and happier (#1343) 2023-01-24 09:38:19 +10:00
James Hodgkinson 421344c347
less lint more bark, ruff ruff (#1341) 2023-01-23 19:56:49 +10:00
James Hodgkinson b8dcb47f93
Spell checking and stuff (#1314)
* codespell run and spelling fixes
* some clippying
* minor fmt fix
* making yamllint happy
* adding codespell github action
2023-01-10 13:50:53 +10:00
Jan Christoph Ebersbach fd8afa065f
docs: reformat book and introduce workflow to ensure it stays formatted (#1286) 2022-12-27 08:52:03 +10:00
dependabot[bot] 5dd69fa989
Bump jetli/wasm-pack-action from 0.3.0 to 0.4.0 (#1231)
Bumps [jetli/wasm-pack-action](https://github.com/jetli/wasm-pack-action) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/jetli/wasm-pack-action/releases)
- [Commits](https://github.com/jetli/wasm-pack-action/compare/v0.3.0...v0.4.0)

---
updated-dependencies:
- dependency-name: jetli/wasm-pack-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-28 08:18:36 +10:00
James Hodgkinson 74765bab63
fixing up automation (#1230)
* concurrency fail
* dependency fail
2022-11-23 23:30:38 +10:00
dependabot[bot] 9c37160f8b
Bump actions/dependency-review-action from 2 to 3 (#1187)
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 2 to 3.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](https://github.com/actions/dependency-review-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-14 08:58:47 +10:00
James Hodgkinson 9196807fdb
Workflow tweaks (#1186)
* let's cache some stuff
2022-11-14 08:57:05 +10:00
James Hodgkinson 048aa0dfb5
Fixing a derp (#1089) 2022-10-07 19:03:25 +10:00
James Hodgkinson 48451150aa
Resolving WASM build issues (#1099)
* removing deflate because it is just shit gzip
2022-10-07 15:42:13 +10:00
James Hodgkinson f0caec57a2
Python updoots (#1081) 2022-09-29 10:08:15 +10:00
James Hodgkinson 446e06d5f6
Fixing the CI failures (#1080) 2022-09-28 10:31:19 +10:00
James Hodgkinson 5c5b2d6c94
Initial admin UI things (#1044)
* wireframed up the admin menu and components
* banner-shaped yak shaving
* making some nicer messages in the cert script
* removing wee_alloc
* adding admin_groups ui
* adding oauth2 basics
* added group view page
* changing to expect_throw
* serde-wasm-bindgen fixes
* adding view person and view service account basics
* adding basic testy things
* dropping breadcrumbs all over the place
* minor changes to oauth2 admin interface, adding automation around wasm testing
2022-09-20 14:23:54 +10:00
dependabot[bot] 99b7d8e297
Bump docker/setup-qemu-action from 1 to 2 (#1059)
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 1 to 2.
- [Release notes](https://github.com/docker/setup-qemu-action/releases)
- [Commits](https://github.com/docker/setup-qemu-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-19 07:27:52 +10:00
dependabot[bot] 353af9bd5d
Bump docker/setup-buildx-action from 1 to 2 (#1060)
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 1 to 2.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-19 07:27:38 +10:00
dependabot[bot] 6d0f10d65a
Bump docker/login-action from 1 to 2 (#1061)
Bumps [docker/login-action](https://github.com/docker/login-action) from 1 to 2.
- [Release notes](https://github.com/docker/login-action/releases)
- [Commits](https://github.com/docker/login-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: docker/login-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-19 07:27:24 +10:00
James Hodgkinson 9ca7993397
fixing up the automation tooling (#1027) 2022-09-08 16:40:58 +10:00
James Hodgkinson 4d3e3765bd
Version argument for kanidm and kanidmd (#991) 2022-08-18 10:36:45 +10:00
James Hodgkinson f0e96b9ff5
Published 0.0.3 of kanidm python module (#995)
* kanidm python 0.0.3
2022-08-17 21:35:06 +10:00
James Hodgkinson 60f9541cdd
RADIUS fixes (#942)
* actually writing cert files properly now
* Updated readme with config file, fixed check for config file.
* minor tweaks to actions, removing job limits and skipping login to registry if not going to push
* removing old config.ini file
* temporarily adding Williams fixed package
2022-07-22 13:04:36 +10:00
James Hodgkinson b249747e55
.deb packaging config and scripting (#920)
* working on debian builds again
* github actions tweaks
* fixed a ref in the build script
* updating makefile targets to include build profile env
* updates to docs and makefiles
2022-07-20 17:21:40 +10:00
James Hodgkinson d2ea936b16
Domain Display Name (#872) 2022-07-07 13:03:08 +10:00
James Hodgkinson 9cf4e180dc
one day james, one day. (#907) 2022-07-06 13:04:08 +10:00
James Hodgkinson fedc21ddca
Windows build support (#903)
`kanidmd` builds and runs in Windows now. Currently skipping file permissions checks on startup, but it's tested OK on a Windows 10 box.
2022-07-06 10:53:43 +10:00
dependabot[bot] b34e0b05eb
Bump actions/setup-python from 2 to 4 (#900)
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 4.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2...v4)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-05 17:40:37 +10:00
dependabot[bot] 24a9d5ca0d
Bump docker/build-push-action from 2 to 3 (#899)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2 to 3.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-05 17:34:23 +10:00
dependabot[bot] dd973eb0ec
Bump actions/checkout from 2 to 3 (#898)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-05 17:33:53 +10:00
dependabot[bot] 897faeb4fc Bump actions/dependency-review-action from 1 to 2
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 1 to 2.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](https://github.com/actions/dependency-review-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: actions/dependency-review-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-05 02:32:11 +00:00
James Hodgkinson f664971acf
Building kanidm cli in docker, disabling ARM kanidmd (#879)
* adding kanidm image and config
* removing npm deps from build and dockerfiles
* moving to a non-root user in the dockerfile
2022-07-05 11:39:38 +10:00
James Hodgkinson d56715444a
moving pull request template (#856)
Moving it under the `.github` path.
2022-06-26 18:09:07 +10:00
James Hodgkinson dc42bd9ee8
Package Updates 2022-06-20 (#848)
* updates to a bunch of packages
* fixing an unforced error which only github actions cared about
* stopping docker build on pushes to not-master
2022-06-21 10:16:00 +10:00
James Hodgkinson 805ac2dd16
Python module and rewritten RADIUS integration (#826)
* added python kanidm module
* rewrote RADIUS integration
* updated the documentation
* updating github actions to run more often
* BLEEP BLOOP ASYNCIO IS GR8
* adding config to makefile to run pykanidm tests

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Firstyear <william@blackhats.net.au>
2022-06-20 20:16:55 +10:00
James Hodgkinson 0d510baebb
Updating build profiles for containers (#811) 2022-06-05 15:30:47 +10:00
James Hodgkinson 7d27612174
Windows automagical buildingtons (#798)
* windows build automation
* making fmt happy, fixing windows-related bug
* disabled cargo_incremental when using `sccache`, added build options ARG to Dockerfile, limit docker build to one job
2022-05-31 14:13:21 +10:00
James Hodgkinson b6d3a0511f
Yak shaving 2343443 (#779) 2022-05-26 14:58:53 +10:00
James Hodgkinson c8a1b7b605
fixing up typo and tagging on docker build (#751) 2022-05-17 20:57:09 +10:00
James Hodgkinson 8ec09db170
Update issue templates (#754)
* Update issue templates to add an idea/question
2022-05-11 11:01:11 +10:00
James Hodgkinson bbf074ee8c
Ok dependabot I will do the thing 2022-05-09 (#749)
* updating rust packages
* fixing some minor clippy lints
* adding more targets for dependabot
2022-05-10 13:07:20 +10:00
James Hodgkinson 5dc17c0c74
Dockerized containerybuilds (#741)
* let us see if we can dockerize this crab
2022-05-08 13:00:34 +10:00
James Hodgkinson 475ada3d6c
Docs updates to push all tagged versions + dev (#720)
* docs magic
* more docs magic
* did I mention I really dislike YAML?
* updatey scripty boopydoopy
* lock docs down to master
* put the symlinked versions up the top of the list
* updated readme
2022-04-28 13:45:48 +10:00
James Hodgkinson 0aa0163ced
Fixes 710 - limit github actions runs based on source (#717)
* breaking workflows out, adding clippy
* adding dependency review
2022-04-27 13:02:54 +10:00
James Hodgkinson 9fa3de059d
adding issue templates and security policy docs (#676)
* adding issue templates and security policy docs

* adding python dependency checking config
2022-04-17 09:08:53 +10:00
James Hodgkinson 58fb559262
Docs build cleanup for #646 (#647)
* moving docs build to makefile
2022-03-10 08:55:44 +10:00
James Hodgkinson 18aa4e0525
removing book runs on pull_request (#537) 2021-07-24 18:20:36 +10:00
James Hodgkinson a621cbc6a7
Fixing #521 - Documenting the server role (#535) 2021-07-24 15:00:08 +10:00
James Hodgkinson 6ff74c976e
Auto-publishing the book and rustdoc. (#534) 2021-07-24 11:12:35 +10:00
James Hodgkinson 7994ec24d8
fixing broken action (#405)
* fixing broken action

* seems you need passwordless sudo in this here container
2021-04-13 11:02:46 +10:00
William Brown a008ca3cf1 Follow up on ci fixes 2020-12-08 17:33:27 +10:00
Pando85 c554a0ce03 Update CI base image to ubuntu 20.04
Unit tests were failing cause sqlite version is 3.22 and `ubuntu-latest`
was poiting to Ubuntu 18.04. Also remove libssl because it is included.
2020-12-08 10:54:53 +10:00
Pando85 bdf5d20f8a Add libudev to ci
Tests were broken cause authenticator library needs it.
2020-12-08 10:54:53 +10:00
Firstyear 4bed9c87bf
Improve errors, tagging, logging and more across the codebase. (#243) 2020-06-05 14:01:20 +10:00
Firstyear 923cf6c0f8
99 p3 clean up sensitive log data (#239)
Fix logging of potentially sensitive data.

* Disable docker automation
2020-05-29 18:13:54 +10:00
Pando85 2670b6ae83 CI update all kanidm component version and tag
Add make entry to have all cargo versions updated from VERSION file.
Add `tag_version` github action to update all cargo.toml and tag it and
push it.
Remove cargo fmt check from CI because we have problems with different
versions and fails continually. Instead, we use cargo-husky to ensure
that all people run it automatically in its local, but this is not
obligatory.
Update to version 1.0.0-rc10, according to packages published.

In future cargo will support managing all dependencies from main
Cargo.toml. Ref: https://github.com/rust-lang/cargo/issues/3931

Resolve #225
2020-05-13 15:56:44 +10:00
Pando85 8a4d524d54 Apply cargo fmt and docker images fix wrong target 2020-05-12 08:18:46 +10:00
Pando85 7687791466 Merge docker image github actions into unique
Use matrix and Makefile to build both images in the same workflow.

Kanidmd image remove muslc version and come back to SUSE version because
performance problems.

Also fix a typo bug with kanidmd image build on CI.
2020-05-07 12:37:14 +10:00
Pando85 c2f77a47f3 Create light images with static binaries
- Change base builder image to `ekidd/rust-musl-builder` for create static
binaries.
- Add two flavours: alpine and stand alone binary.
- Add makefile commands for build, test and push kanidmd images and
  refactor previous code.
- Add missing things to `.dockerignore`.
- Refactor CI to use Makefile.
2020-05-06 11:07:01 +10:00
Pando85 d6acffd869 Fix sqlite fails in CI tests and fmt error
Add `libsqlite3-sys` crate to avoid sqlite3 missmatching version.

From [https://lib.rs/crates/libsqlite3-sys](https://lib.rs/crates/libsqlite3-sys)
> If you use the bundled feature, libsqlite3-sys will use the cc crate to compile SQLite from source and link against that. This source is embedded in the libsqlite3-sys crate and is currently SQLite 3.30.1 (as of rusqlite 0.21.0 / libsqlite3-sys 0.17.0). This is probably the simplest solution to any build problems.

Remove sqlite OS packages dependencies for build.

Also, we fix a format error to allow CI tests to pass again.
2020-05-06 10:16:26 +10:00
Pando85 b75f433293 Fix: change image names to go to kanidm repository 2020-04-27 16:03:37 +10:00
Pando85 911b5983aa Add github actions:
- Add linter with `cargo fmt`
- Add tests
- Add kanidmd docker build
- Add kanidm_rlm_python docker build
- Fix kanidm_unix_int format to pass tests
2020-04-27 15:01:56 +10:00