Commit graph

82 commits

Author SHA1 Message Date
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