Skip to content

Commit a3ae4dd

Browse files
committed
edit steps on getting release manifets
1 parent cca7c00 commit a3ae4dd

File tree

1 file changed

+9
-56
lines changed

1 file changed

+9
-56
lines changed

docs/vendor/tutorial-embedded-cluster-automation.mdx

Lines changed: 9 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -94,78 +94,31 @@ Before you begin, do the following to set up your environment:
9494

9595
Setting the `REPLICATED_APP` environment variable allows you to interact with the application using the Replicated CLI without needing to use the `--app` flag with every command.
9696

97-
### Create a Release
97+
### Create a Release
9898

99-
1. Run the following command to download version 1.0.1 of the sample SlackerNews Helm chart to a new `tutorial-headless-install` directory:
100-
101-
```bash
102-
curl -O --create-dirs --output-dir tutorial-headless-install https://docs.replicated.com/slackernews-1.0.1.tar.gz
103-
```
104-
105-
1. Untar the chart:
106-
107-
```bash
108-
tar -xzf tutorial-headless-install/slackernews-1.0.1.tar.gz -C tutorial-headless-install/ && rm tutorial-headless-install/slackernews-1.0.1.tar.gz
109-
```
110-
111-
1. Change to the `slackernews` chart directory:
112-
113-
```bash
114-
cd tutorial-headless-install/chart/slackernews
115-
```
116-
117-
1. List the files in the `slackernews` directory to view the contents of the Helm chart:
118-
```bash
119-
ls
120-
```
121-
```bash
122-
Chart.lock Chart.yaml NOTES.txt README.md templates values.yaml
123-
```
124-
125-
1. Update dependencies and package the Helm chart to a `.tgz` chart archive:
126-
127-
```bash
128-
helm package --dependency-update .
129-
```
130-
Where `--dependency-update` (or `-u`) is an option for the `helm package` command that updates chart dependencies before packaging. For more information, see [Helm Package](https://helm.sh/docs/helm/helm_package/) in the Helm documentation.
131-
132-
The output of this command is a file named `slackernews-1.0.1.tgz`.
133-
134-
1. Change from the `slackernews` chart directory to the `tutorial-headless-install` directory.
99+
1. Run the following command to download a tarball containing the files for the release:
135100

136101
```bash
137-
cd ../../
138-
```
139-
140-
1. Download the release manifests:
141-
142-
```bash
143-
curl -O --create-dirs --output-dir manifests https://docs.replicated.com/slackernews-0.1.0-manifests.tar.gz
102+
curl -O --create-dirs --output-dir tutorial-headless-install https://docs.replicated.com/slackernews-1.0.1-release.tar.gz
144103
```
145104

146105
1. Untar:
147106

148107
```bash
149-
tar -xzf manifests/slackernews-0.1.0-manifests.tar.gz && rm manifests/slackernews-0.1.0-manifests.tar.gz
108+
tar -xzf tutorial-headless-install/slackernews-1.0.1-release.tar.gz && rm manifests/slackernews-1.0.1-release.tar.gz
150109
```
151110

152-
1. Move the `slackernews-1.0.1.tgz` chart archive that you created to the new `manifests` directory:
111+
1. View the contents:
153112

154113
```bash
155-
mv chart/slackernews/slackernews-1.0.1.tgz manifests
156-
```
157-
158-
1. Change to the new `manifests` directory and view the contents:
159-
160-
```bash
161-
cd manifests && ls
114+
ls
162115
```
163116
```bash
164117
config.yaml embedded-cluster.yaml k8s-app.yaml replicated-app.yaml slackernews-1.0.1.tgz slackernews.yaml
165118
```
166-
These are the Replicated manifests that are used to define different aspects of the installation experience for the application.
119+
The contents include the SlackerNews Helm chart archive (`slackernews-1.0.1.tgz`) and various Replicated manifests that are used to define different aspects of the installation experience for the application.
167120

168-
1. Lint the YAML files in the `manifests` directory:
121+
1. Lint the YAML files in the directory:
169122

170123
```bash
171124
replicated release lint --yaml-dir .
@@ -174,7 +127,7 @@ Before you begin, do the following to set up your environment:
174127
You can ignore `info` or `warn` messages for the purpose of this tutorial.
175128
:::
176129

177-
1. From the `manifests` directory, create a release and promote it to the Unstable channel:
130+
1. From the `tutorial-headless-install` directory, create a release and promote it to the Unstable channel:
178131

179132
```bash
180133
replicated release create --yaml-dir . --promote Unstable

0 commit comments

Comments
 (0)