File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -104,8 +104,8 @@ You can now give your repository a version tag like this:
104
104
105
105
` ` ` bash
106
106
# open a terminal in vscode: Menu -> Terminal -> New Terminal
107
- git tag 2024.2 .1
108
- git push origin 2024.2 .1
107
+ git tag 2024.3 .1
108
+ git push origin 2024.3 .1
109
109
` ` `
110
110
111
111
We use ` CalVer` version numbers for beamline repositories and Generic IOCs.
@@ -116,7 +116,7 @@ CalVer is described here: <https://calver.org/> and is used where semantic
116
116
versioning is not appropriate because the repository contains a mix of
117
117
dependencies and does not have a clear API.
118
118
119
- Note that 2024.2 .1 represents the time that this tutorial was last updated.
119
+ Note that 2024.3 .1 represents the time that this tutorial was last updated.
120
120
For completeness you could use the current year and month instead. You
121
121
are also free to choose your own versioning scheme as this is not enforced by
122
122
any of the epics-containers tools.
Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ You can now see the beta IOC instance running with:
114
114
<pre >$ ec ps
115
115
| name | version | running | restarts | deployed |
116
116
|------------------|---------------|---------|----------|---------------------|
117
- | bl01t-ea-test-01 | 2024.2 .8e8b-b | true | 0 | 2024-02 -19 10:08:15 |</pre >
117
+ | bl01t-ea-test-01 | 2024.3 .8e8b-b | true | 0 | 2024-03 -19 10:08:15 |</pre >
118
118
119
119
At the end of the last tutorial we tagged the beamline repository with a
120
120
` CalVer ` version number and pushed it up to GitHub. This means that we
@@ -126,7 +126,7 @@ available in the GitHub repository.
126
126
<pre >$ ec instances bl01t-ea-test-01
127
127
| version |
128
128
|----------|
129
- | 2024.2 .1 |
129
+ | 2024.3 .1 |
130
130
</pre >
131
131
132
132
:::{note}
@@ -156,13 +156,13 @@ This command will extract the IOC instance using the tag from GitHub and deploy
156
156
it to your local machine:
157
157
158
158
``` bash
159
- $ ec deploy bl01t-ea-test-01 2024.2 .1
159
+ $ ec deploy bl01t-ea-test-01 2024.3 .1
160
160
bdbd155d437361fe88bce0faa0ddd3cd225a9026287ac5e73545aeb4ab3a67e9
161
161
162
162
$ ec ps -w
163
163
| name | version | running | restarts | deployed | image |
164
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 |
165
+ | bl01t-ea-test-01 | 2024.3 .1 | true | 0 | 2024-03 -19 11:10:53 | ghcr.io/epics-containers/ioc-adsimdetector-linux-runtime:2024.2.1 |
166
166
```
167
167
168
168
### IMPORTANT: deploy-local vs deploy
Original file line number Diff line number Diff line change @@ -86,10 +86,10 @@ git add .
86
86
git commit -m " Added extra.db"
87
87
git push
88
88
# tag a new version of the beamline repo
89
- git tag 2023.11 .2
90
- git push origin 2023.11 .2
89
+ git tag 2024.3 .2
90
+ git push origin 2024.3 .2
91
91
# deploy the new version of the IOC to the local docker / podman instance
92
- ec deploy bl01t-ea-test-02 2023.11 .2
92
+ ec deploy bl01t-ea-test-02 2024.3 .2
93
93
```
94
94
95
95
You can now see that the versioned IOC instance is running and loading the extra.db by looking at its log with:
You can’t perform that action at this time.
0 commit comments