Uploaded image for project: 'IT: Release Engineering'
  1. IT: Release Engineering
  2. RELENG-1572

REVIEW - Add support to lftools nexus command to release a staging repo

Issue XMLXMLWordPrintable

    • RELENG Sprint 40

      This is currently in need of review: https://gerrit.linuxfoundation.org/infra/#/c/13868/

      Original description
      Add a new sub-command `lftools nexus release REPO_ID` to release a staging repo.

      We need to POST this payload to Nexus

      {
          "data": {
              "description": "some description",
              "stagedRepositoryIds": ["thanh-test-1005"]
          }
      }
      

      Example with cURL:

      curl --netrc -X POST -H "Content-Type:application/json" -d "@/tmp/release.json" "https://nexus.opendaylight.org/service/local/staging/bulk/promote"

              eball Eric Ball
              eball Eric Ball
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: