Skip to content
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

Deploy swck snapshot charts #112

Merged
merged 1 commit into from
Mar 22, 2023
Merged

Deploy swck snapshot charts #112

merged 1 commit into from
Mar 22, 2023

Conversation

kezhenxu94
Copy link
Member

No description provided.

@wu-sheng
Copy link
Member

Why is the helm going to have snapshot now? I don't think we have changes for this frequently.

@kezhenxu94
Copy link
Member Author

Why is the helm going to have snapshot now? I don't think we have changes for this frequently.

  • I plan to migrate our showcase repo to Helm Chart, where we will use snapshot Chart in this repo.
  • I plan to also set up workflow to publish the Helm Chart to Docker, which will leverage the same workflow in this patch.

@@ -14,7 +14,7 @@
# limitations under the License.

apiVersion: v2
name: skywalking-swck-operator
name: skywalking-helm-swck-operator
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We will publish these to hub.docker.io, and to make it clear this is a Helm Chart, not a Docker image, I change the names to be prefixed with skywalking-helm-*, and will ask infra team to create the repositories with the same name prefix

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, this is a helm for swck?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, this is a helm for swck?

Yes, as the title indicates. swck contains two Helm Charts actually, namely, operator and adapter

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't dockerhub directly know that this is a chart type?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't dockerhub directly know that this is a chart type?

Of course it knows, I meant I want to make it clear for our users.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@innerpeacez I think here is about avoiding confusion of another existing repo, https://hub.docker.com/r/apache/skywalking-swck

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

got it.

@@ -23,6 +23,7 @@ on:

env:
HUB: ghcr.io/apache/skywalking-kubernetes
VERSION: 0.0.0-${{ github.sha }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As a snapshot, could we have a version prefix?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As a snapshot, could we have a version prefix?

like this -snapshot?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As a snapshot, could we have a version prefix?

We never have this suffix in all our existing snapshot Docker images, do we want to add it from now?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

prefix, I mean, such as 4.5.0-xxxx

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

prefix, I mean, such as 4.5.0-xxxx

Sure. the rationale here I use 0.0.0-xxx is that, to mimic the same version style as our existing snapshot Docker images, whose version is simply <sha>, without a version prefix like 9.5.0-<sha>, when we want to use a snapshot of a particular commit in the main branch, we don't have to find out what version is it currently, we can just copy the commit sha and use it 0.0.0-<sha>.

The 0.0.0- prefix is just to adhere the version format of Helm Chart, it must be \d+.\d+.\d-\w+ style.

@innerpeacez
Copy link
Member

Why is the helm going to have snapshot now? I don't think we have changes for this frequently.

  • I plan to migrate our showcase repo to Helm Chart, where we will use snapshot Chart in this repo.

I actually have this idea, when I use otel.

@kezhenxu94 kezhenxu94 merged commit 4fc8c74 into master Mar 22, 2023
@kezhenxu94 kezhenxu94 deleted the depl branch March 22, 2023 06:13
@kezhenxu94 kezhenxu94 added this to the 4.5.0 milestone Mar 26, 2023
@kezhenxu94 kezhenxu94 added the enhancement New feature or request label Mar 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
3 participants