From 3128fff093f23e063e30330a90777357140b950a Mon Sep 17 00:00:00 2001 From: Jeff Forcier Date: Fri, 8 Oct 2021 18:18:12 -0400 Subject: 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. --- .circleci/config.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to '.circleci') 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: -- cgit v1.2.1