Skip to content

Commit 24d5255

Browse files
committed
Update codeblocks to reflect to latest CLI
1 parent 87b68e1 commit 24d5255

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

docs/tutorials/deploy_example.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,9 @@ number to indicate that they are not permanent.
112112
You can now see the beta IOC instance running with:
113113

114114
<pre>$ ec ps
115-
name version state image
116-
bl01t-ea-test-01 2024.2.16-b15.11 running ghcr.io/epics-containers/ioc-adsimdetector-linux-runtime:2024.2.1</pre>
115+
| name | version | running | restarts | deployed |
116+
|------------------|---------------|---------|----------|---------------------|
117+
| bl01t-ea-test-01 | 2024.2.8e8b-b | true | 0 | 2024-02-19 10:08:15 |</pre>
117118

118119
At the end of the last tutorial we tagged the beamline repository with a
119120
`CalVer` version number and pushed it up to GitHub. This means that we
@@ -123,8 +124,9 @@ command lists all of the tagged versions of the IOC instance that are
123124
available in the GitHub repository.
124125

125126
<pre>$ ec instances bl01t-ea-test-01
126-
Available instances for bl01t-ea-test-01:
127-
2024.2.1
127+
| version |
128+
|----------|
129+
| 2024.2.1 |
128130
</pre>
129131

130132
:::{note}
@@ -142,9 +144,8 @@ ec supports command line completion, which means that entering `<tab> <tab>` wil
142144
$ ec <tab> <tab>
143145
attach deploy exec list logs start template
144146
delete deploy-local instances log-history restart stop validate
145-
$ ec instances <tab> <tab>
146-
$ ec instances bl01t-ea-ioc-0 <tab> <tab>
147-
bl01t-ea-test-01 bl01t-ea-test-02
147+
$ ec instances b<tab> <tab>
148+
$ ec instances bl01t-ea-ioc-01
148149
```
149150

150151
To enable this behavior in your shell run the command `ec --install-completion`
@@ -158,9 +159,10 @@ it to your local machine:
158159
$ ec deploy bl01t-ea-test-01 2024.2.1
159160
bdbd155d437361fe88bce0faa0ddd3cd225a9026287ac5e73545aeb4ab3a67e9
160161

161-
$ ec ps
162-
IOC NAME VERSION STATUS IMAGE
163-
bl01t-ea-test-01 2024.2.1 Up 4 seconds ghcr.io/epics-containers/ioc-adsimdetector-linux-runtime:2023.10.5
162+
$ ec ps -w
163+
| name | version | running | restarts | deployed | image |
164+
|------------------|----------|---------|----------|---------------------|-------------------------------------------------------------------|
165+
| bl01t-ea-test-01 | 2024.2.1 | true | 0 | 2024-02-19 11:10:53 | ghcr.io/epics-containers/ioc-adsimdetector-linux-runtime:2024.2.1 |
164166
```
165167

166168
### IMPORTANT: deploy-local vs deploy

0 commit comments

Comments
 (0)