Edit icon Edit This Page

Update rp and docker-credential-repsy to the latest release

Update rp to the latest release of https://cli.repsy.io (or the one –version names).

rp reads latest.json, downloads the archive of this platform and checksums.txt, verifies the signature of checksums.txt with cosign when cosign is installed (the identity of the release workflow of that version, as install.sh does), checks the SHA-256 of the archive, and replaces rp and docker-credential-repsy next to the running rp with a rename. On Windows the running files are moved aside to <name>.old first; the next update removes them.

An rp installed by Homebrew, Scoop, a deb or rpm package, the Docker image or go install belongs to that tool: rp update refuses and names the command that upgrades it.

rp also prints a one line notice, at most once a day, when a newer release exists. It reads latest.json in the background (never more than once a day) and never delays a command. It is shown only on a terminal, never in CI, with –no-input or with –output json|yaml or –jq. Turn it off with REPSY_NO_UPDATE_NOTICE=1 or ‘rp config set update_notice false’.

rp update [flags]

Examples

rp update --check
  rp update
  rp update --version 0.3.1 --require-signature

Options

      --check               Only report the installed and the latest version; change nothing
      --require-signature   Fail unless the signature of checksums.txt is verified (needs cosign)
      --version string      Install this version (X.Y.Z) instead of the latest; also a downgrade

Options inherited from parent commands

      --api-url string           Panel API URL of the profile, overrides the stored value
      --ca-file string           PEM file with extra trusted CA certificates
      --debug                    Print debug output with secrets redacted
      --hostname string          Repsy host to use instead of the current profile
      --insecure                 Do not verify TLS certificates (unsafe; plain http is chosen with the URL, not with this flag)
      --insecure-storage         Keep credentials in a plain 0600 file instead of the OS keyring (unsafe; a warning is printed once per command)
      --jq string                Filter JSON output with a jq expression (implies --output json)
      --no-color                 Disable colored output
      --no-input                 Never prompt; fail when input is needed
      --output table|json|yaml   Output format: table, json or yaml (default table; json when --jq is given)
      --owner string             Owner segment of Cloud URLs (default: your account, or the one account that shares a repository of that name with you); --owner= means none
      --registry-url string      Protocol host URL of the profile, overrides the stored value
      --type os|cloud            Product of the host, overrides detection
      --web-url string           Panel UI URL of the profile (where /cli/auth lives), overrides the stored value
      --yes                      Answer yes to confirmation prompts

See also

  • rp - Command line client for Repsy OS and Repsy Cloud
Found a problem with this page?