summaryrefslogtreecommitdiff
path: root/.circleci
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2021-10-08 18:18:12 -0400
committerJeff Forcier <jeff@bitprophet.org>2021-10-08 20:40:08 -0400
commit3128fff093f23e063e30330a90777357140b950a (patch)
tree5a3407c91494fc9a64c00981e469686985e9bba1 /.circleci
parent36c8a0e944530efd35f8896223293324cce986e0 (diff)
downloadparamiko-3128fff093f23e063e30330a90777357140b950a.tar.gz
Try getting Kerberos working on Circle
Sadly it fails. Unclear whether I'm missing something, or if this represents a diff between the Ubuntu versions Travis last used and what Circle's images are on. I did get the tests themselves truly running, and while I trimmed back the deps a bit vs Travis, it's only as some of them were redundant/required by other packages we install here. Leaving it defined but not actually used in the workflow.
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index d51b74cf..a0f97621 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -1,8 +1,32 @@
version: 2.1
+
orbs:
orb: invocations/orb@dev:debuggery
+
+jobs:
+ kerberos:
+ executor:
+ name: orb/default
+ version: "3.6"
+ steps:
+ - orb/setup
+ # Required to actually see all of universe/multiverse :(
+ - run: sudo apt update
+ # System reqs to install/build gssapi c-ext & friends (who only
+ # appear to offer wheels for Windows)
+ - run: sudo apt install -y libkrb5-dev krb5-admin-server krb5-kdc
+ # Our gssapi-supporting flavor, eg gssapi, pyasn1 etc
+ - run: pip install -e '.[gssapi]'
+ # Test-only deps for Kerberos (if they are importable it triggers
+ # running the kerberos tests instead of skipping them)
+ - run: pip install k5test
+ # Do the thing, win the points!
+ - run: inv test
+ - orb/debug
+
+
workflows:
main:
jobs:
@@ -23,6 +47,11 @@ workflows:
# TODO: I don't see a nicer way to do this that doesn't require
# making the orb know too much about its client code...
pip-overrides: ["cryptography==2.5", "cryptography==3.4"]
+ # Kerberos tests. Currently broken :(
+ #- kerberos:
+ # name: Test 3.6 w/ Kerberos support
+ # # No point testing k5 if base tests already fail
+ # requires: ["Test 3.6 (w/ coverage, latest crypto)"]
- orb/test-release:
name: Release test
- orb/test: