Step 4: Create a Release
Now that you have the manifest files for the sample Kubernetes application, you can create a release for the
cli-tutorial application and promote the release to the Unstable channel.
By default, the vendor portal includes Unstable, Beta, and Stable release channels. The Unstable channel is intended for software vendors to use for internal testing, before promoting a release to the Beta or Stable channels for distribution to customers. For more information about channels, see About Channels and Releases.
To create and promote a release to the Unstable channel:
replicated-cli-tutorialdirectory, lint the application manifest files and ensure that there are no errors in the YAML:
replicated release lint --yaml-dir=manifests
If there are no errors, an empty list is displayed with a zero exit code:
RULE TYPE FILENAME LINE MESSAGE
For a complete list of the possible error, warning, and informational messages that can appear in the output of the
release lintcommand, see Linter Rules.
Initialize the project as a Git repository:
git add .
git commit -m "Initial Commit: CLI Tutorial"
Initializing the project as a Git repository allows you to track your history. The replicated CLI also reads Git metadata to help with the generation of release metadata, such as version labels.
replicated-cli-tutorialdirectory, create a release with the default settings:
replicated release create --auto
--autoflag generates release notes and metadata based on the Git status.
• Reading Environment ✓
Prepared to create release with defaults:
release-notes "CLI release of master triggered by exampleusername [SHA: d4173a4] [31 Oct 22 08:51 MDT]"
Create with these properties? [Y/n]
yand press Enter to confirm the prompt.
• Reading manifests from ./manifests ✓
• Creating Release ✓
• SEQUENCE: 1
• Promoting ✓
• Channel VEr0nhJBBUdaWpPvOIK-SOryKZEwa3Mg successfully set to release 1
The release is created and promoted to the Unstable channel.
Verify that the release was promoted to the Unstable channel:
replicated release ls
SEQUENCE CREATED EDITED ACTIVE_CHANNELS
1 2022-10-31T14:55:35Z 0001-01-01T00:00:00Z Unstable
Continue to Step 5: Create a Customer to create a customer license file that you will upload when installing the application.