Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Decide on approach to take around resource heavy parts of the process:
    • Can we use an external ledger to eliminate the need for spinning up a ledger for Indy SDK tests?
    • Can we use version controlled docker images with pre-loaded dependencies to reduce build times?
    • What platforms will we prioritize?
      • Notably, we'll do one first (Linux, likely), and then likely MacOS, followed by Windows. The community will decide what to do (or not do) after that.
    • Can we eliminate some of the artifacts - e.g. indy-crypto?
  • Convert from Jenkins to either (TBD) GHA or AZP. Decision: Per Brett Loganit's super easy to switch between the two (just key names are different) and admin overhead is less with GHA.
    • This is the big effort - lots of detail and tasking to be done.
      • Given the scope of the indy-sdk CI/CD scripts - does anyone know the ballpark effort of this?  Best approach to sharing (or not) the work?
    • Iteratively complete the tasks
  • Evaluate the best platform (GHA or AZP or similar) for different pipelines to use long term based on their the pipeline requirements.
  • Tune the scripts to the selected platform

Tentative Plan for indy-sdk migration:

  • Migrate CI Linux
  • Evaluate/possibly refactor ledger interactions (depends on effort of changes per test case)
  • Evaluate/possible refactor docker images approach
  • Migrate CD Linux
  • Migrate Linux artifact publishing
  • Migrate MacOS CI
  • Migrate MacOS CD
  • Migrate Windows CI
  • Migrate Windows CD

Ideally, one person does the first four steps, supported through questions to others, and with reviews with a group at the end of each step. After that, we can expand out the work to more people, and we can apply the same approach to the other repos.

Hyperledger Paid For Resources

Migration Scope: (from this list)

Jenkins:

Nexus:

  • rpm publishing

Debian Publishing - repo.sovrin.org

...

  • This sprint demo reviews Evernym's evaluation of options for CI / CD (tracked in this JIRA issue - login required) where we recommended GitHub Actions based on this presentation summaryDiscussed on this Indy Contributors call (with a failed recording).
    • Recommendation was GitHub Actions (and Azure Pipelines where necessary/useful).
    • Additional recommendation from that was to drop the number of supported platforms, particularly in the mobile area.
  • Anticipated impacts of moving to GitHub Actions:
    • The approach to running a pool for testing will need to be very different from that taken by Jenkins, so the scripts will have to be reworked.
    • Indy SDK currently supports a broad range of environments (Ubuntu, RedHat, Windows, OSX, iOS, Android), but we agreed that we can reduce the number of environments and people who miss those artifacts can contribute those build resources.
    • The testing pipeline takes a long time because there are a lot of tests–was 3.5 hours per PR with full AWS set of machines, now at 5 hours with reduced AWS machines, and GitHub Actions is likely to be slower.
    • This document covers findings about using GitHub actions with some useful links as we begin implementations, with expected positives and only technical negative related to managing a docker repo.
  • Feel free to test here

Hyperledger Fabric Experience - from Brett Logan

...