Versions Compared

Key

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

Proposed Approach:

  • 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 Logan (Deactivated)it'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 – GHA or AZPterm based on 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

  • repo.sovrin.org provides debian packages that are used by the Sovrin Stewards to install Indy Node and a Maven interface for developers.  The former use will need to shift to whatever Steward organization forms as a fallout of the Sovrin Foundation transition. The latter us can be transitioned to Hyperledger resources, with a transition notification to the developer community.
  •  Stephen Curran Let the MainNet transition team (headed by Riley Hughes) that this is an issue that will need to be addressed by that group.

...

CI/CD Platform Evaluation:

  • 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 (Deactivated)

Hyperledger Fabric Experience - Azure Pipelines vs GitHub Actions

...