Details

    • Type: Sub-task
    • Status: Closed (View Workflow)
    • Priority: Medium
    • Resolution: Done
    • Labels:
      None

      Description

      note that the CI environment must have node.js 8.4+ and npm 5.3+ installed

      the CI capabilities to support node.js chaincode:

      • run unit tests using 'gulp test-headless' command, which generates cubertura coverage report
      • set up the integration test environment:
        • clone fabric-samples so it's a peer directory to fabric-chaincode-node
        • run 'DEVMODE=false gulp channel-init'
      • run integration tests using 'gulp test-e2e' command
      • on merge, publish to npm based on the version string in src/package.json (NOT package.json in the root directory of the repo), similarly to how the CI is set up for fabric-sdk-node repo
      • if `m.n.p-snapshot`, then publish to the "unstable" stream
      • if `m.n.p-<suffix>` or `m.n.p`, and the suffix is anything other than `snapshot`, then publish to the main stream

      Reference: https://jira.hyperledger.org/browse/FAB-2802

      Finally, need merge CIs that will publish the API Reference to fabric-shim.github.io like is done for fabric-sdk-node.github.io

        Attachments

          Activity

            People

            • Assignee:
              rameshthoomu Ramesh Babu Thoomu
              Reporter:
              jimthematrix Jim Zhang
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2 days
                2d
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 days
                2d

                  Git Integration