Skip to content

Commit 1d29dee

Browse files
authored
build and deploy instructions (#13)
1 parent 6cf6c48 commit 1d29dee

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

README_EC.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Instructions for building and deploying a new image
2+
3+
4+
In all the following replace `<HASH>` with latest commit hash.
5+
6+
7+
## Build and push new image
8+
9+
```
10+
docker build -t us-east4-docker.pkg.dev/elementalcognition-app-source/docker-all/lyft/flinkk8soperator:<HASH> --progress=plain .
11+
```
12+
13+
```
14+
docker push us-east4-docker.pkg.dev/elementalcognition-app-source/docker-all/lyft/flinkk8soperator:<HASH>
15+
```
16+
17+
## Edit the deployment directly, for testing
18+
```
19+
kubectl edit deploy lyft-flink-flink-operator -n lyft-flink-operator
20+
```
21+
22+
And change the previous hash to the new one (I changed two locations - one in the image name and one elsewhere).
23+
24+
## Update the infrastructure repo
25+
26+
Once changes are tested, to make them permanent, merge a PR in the infrastrucutre repo, for example:
27+
https://github.com/ElementalCognition/infrastructure/commit/875ed9c6f657300d2ca221ff11c610d63368e918
28+
29+

0 commit comments

Comments
 (0)