Sha256: 7d22ca475e34796503a27729f31f2cb50acf1966acbf6e6d74db8cb0f69170c1

Contents?: true

Size: 1.65 KB

Versions: 11

Compression:

Stored size: 1.65 KB

Contents

# Publishing the CLI

We distribute the Conjur CLI as a package for Ubuntu, Centos, OSX and also as a rubygem.

Steps to publish a new version of the CLI:

1. Update `VERSION` in [lib/conjur/version.rb](lib/conjur/version.rb)
2. Update the [CHANGELOG.md](CHANGELOG.md) with any changes for this version
3. Commit these changes with the message `"v#{VERSION}"`, where `VERSION` = the new version
4. Go to the specific build page for the commit [in Jenkins](https://jenkins.conjur.net/job/cli-ruby/)
5. In the left sidebar, open `Promotion Status`
6. Click `Approve` for the "rubygems" promotion and wait for it to finish
7. Click `Approve` for the "packages" promotion, this will kick off the [omnibus-conjur](https://jenkins.conjur.net/job/omnibus-conjur/) build flow [1](#ref1).
8. Download the [deb](https://jenkins.conjur.net/job/omnibus-conjur-ubuntu/), [rpm](https://jenkins.conjur.net/job/omnibus-conjur-centos/) and [pkg](https://jenkins.conjur.net/job/omnibus-conjur-osx/) packages from their build pages in Jenkins.
9. Move the downloaded files to the `pkg` folder in your local [omnibus-conjur](https://github.com/conjurinc/omnibus-conjur) project.
10. In the `omnibus-conjur` project, upload each file to S3 with `./publish pkg/<filename>`.
11. Update the links on the [CLI page](https://github.com/conjurinc/developer-www/blob/master/app/views/pages/cli/index.html.haml) for the devsite.
12. Promote the devsite to production [in Jenkins](https://jenkins.conjur.net/job/developer-www/) [2](#ref2).

---

<a id="ref1">1</a>:
The packages promotion depends on the new gem version being published.

<a id="ref2">2</a>
After deploy it will take a few minutes for the cache to update.

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
conjur-cli-4.30.1 PUBLISH.md
conjur-cli-4.30.0 PUBLISH.md
conjur-cli-4.29.0 PUBLISH.md
conjur-cli-4.28.2 PUBLISH.md
conjur-cli-4.28.1 PUBLISH.md
conjur-cli-4.28.0 PUBLISH.md
conjur-cli-4.27.0 PUBLISH.md
conjur-cli-4.26.0 PUBLISH.md
conjur-cli-4.25.2 PUBLISH.md
conjur-cli-4.25.1 PUBLISH.md
conjur-cli-4.25.0 PUBLISH.md