-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add CICD #11
add CICD #11
Conversation
ec8cd6a
to
c7cb02b
Compare
a8310fc
to
15ef67f
Compare
.github/workflows/webhook.yml
Outdated
@@ -0,0 +1,105 @@ | |||
name: webhook-workflo |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❓ Should this be webhook-workflow instead of webhook-workflo?
@@ -15,6 +15,7 @@ | |||
|
|||
<properties> | |||
<docker.registry>ghcr.io/octoconsulting</docker.registry> | |||
<image-name>keip/${project.artifactId}</image-name> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❓ Do we need the version here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No because the version is at the top above properties and we set the tag for the image version here
<image>${docker.registry}/${image-name}</image>
<tags>
<tag>${project.version}</tag>
</tags>
@@ -115,7 +116,7 @@ | |||
</labels> | |||
</container> | |||
<to> | |||
<image>${docker.registry}/keip/${project.artifactId}</image> | |||
<image>${docker.registry}/${image-name}</image> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❓ Do we need the version here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope, the tag is added to the version. You can see it built and uploaded the correct image tag here.
https://github.com/OctoConsulting/keip/pkgs/container/keip%2Fminimal-app/176007969?tag=0.0.2
prep-release: | ||
rm -rf output | ||
mkdir output | ||
kustomize build ./controller > ./output/controller.yaml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❓ For the release, are we expecting to deliver to one yaml file or multiple as shown here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The release is made up of 3 files that are the output of kustomize build
on those 3 directories. This follows the same pattern that metacontroller uses so people can include things separately as needed.
https://github.com/OctoConsulting/keip/releases/tag/operator_v0.1.0
Changes:
Artifacts are currently pushed up to view what they would look like. They will be deleted prior to merging.
Release details:
Right before merging:
Followup after PR: