-
Notifications
You must be signed in to change notification settings - Fork 7
Versioning stack artifacts
Adam Wisniewski edited this page Feb 5, 2021
·
24 revisions
- Devfile -> Stack Image A1.B1 Docker image/tag (devfile OL version takes precedence over stack image OL, but lose out on caching)
- Devfile -> Outer Loop A2.B2 - GitHub Release HTTPS URL (devfile OL should match outer loop OL version)
- Outer Loop -> Stack Image A3.B3 Docker image/tag (No identified cases were OL version should matter)
- stack yaml -> Devfile URL - GitHub Release HTTPS URL
In the future, there should be a preferred Open Liberty version that is cached in a given version of the stack image, but the version should be customizable and parameterizable on the outer loop build).
-
https://github.com/OpenLiberty/application-stack
- stack image: image-0.3.0
- devfile: devfile-0.3.0
- Outer loop (Dockerfile, deploy yaml): outer-loop-0.3.0
-
https://github.com/OpenLiberty/application-stack-starters
- default-0.3.0
-
https://github.com/OpenLiberty/application-stack-intro
- 0.3.0
- Commit source changes (obviously), push
- Submit PR, merge PR
-
git tag xxxxx(for any/all of devfile-x.y.z, stackimage-x.y.z, outer-loop-x.y.z. which apply) Then push tag. For example:
- git tag devfile-x.x.x
- git push origin --tags
- Run build.sh (and use the locally-generated outputs as the input for creating the releases).
- Create GitHub releases (for any/all of stackimage-x.y.z, outer-loop-x.y.z. which apply)
- (IBM team only) - For stack image build, use GHE build-java-openliberty-stack-image repo
- For Devfile change, PR to https://github.com/odo-devfiles/registry/
- put tag in pom.xml
- commit
- tag with mentioned tag, push tag
- Increment version in devfile
- Send PR to https://github.com/odo-devfiles/registry/
- At this point it can be used unofficially as (e.g.)
odo registry update DefaultDevfileRegistry https://github.com/scottkurz/registry
- Tag repo with devfile number
If this ends up being too loose, we could modify this so that we only check in x.y.z-rc1 into our own repo, and then have the PR to the official odo registry use x.y.z
- Test simple-jaxrs with no devfile
- With hot tests
- with debug, then odo test
- Update content
- Update devfile version, increment Dockerfile version in devfile
- Commit devfile referencing next tag
- build image with latest, major.minor, major.minor.micro
- Test simple-jaxrs with no devfile
- Test simple-jaxrs with specific version of devfile (but newer image)
- Consider devfile registry Travis test
- Other odo tests?
- Consider if it should be merged into 'kctr' branch for CP4A Knowledge Center (try to keep fast-forwarding branch)