-
Notifications
You must be signed in to change notification settings - Fork 0
Building
To build the agent, you must specify the platform to build for, and must build tarballs / installers in separate steps.
To build the agent for a specific platform, run the following command:
oclif pack tarballs --targets=<platform>-<arch>For example, to build the agent for Linux x64, run the following command:
oclif pack tarballs --targets=linux-x64To build tarballs for all platforms, run the following command:
oclif pack tarballsTo build installers for MacOS, run the following command:
oclif pack macosThis requires that the Apple Developer certificate specified in the package.json file is installed on your system. You will be prompted to unlock your keychain to sign the installer.
To build installers for Windows, run the following command:
oclif pack windowsSigning with the Certum certificate cannot be performed via oclif and must be done manually. To sign the installers, run the following command:
signtool sign /n "Carter Roeser" /fd SHA256 /tr http://time.certum.pl /td sha256 /v <path-to-installer>To build Debian packages, first, set the RMAGENT_DEB_KEY environment variable to the GPG key ID to sign the package with. Then run the following command:
oclif pack debThis requires that the GPG key specified in the RMAGENT_DEB_KEY environment variable is installed on your system. You will be prompted to enter the passphrase for the key.
Debian packages must be built on a Debian-based system, such as Ubuntu.
Rack Manage • Website • Support • Getting Started