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

[Feature] container image auto-release scripts #70

Closed
1 of 2 tasks
Jeffwan opened this issue Oct 16, 2021 · 3 comments
Closed
1 of 2 tasks

[Feature] container image auto-release scripts #70

Jeffwan opened this issue Oct 16, 2021 · 3 comments
Labels
ci enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@Jeffwan
Copy link
Collaborator

Jeffwan commented Oct 16, 2021

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

Create a script to automate image release process.

  • for master image: nightly
  • for testing image: ${commit_hash}
  • for release branch image: v0.1.0 etc.

Use case

Currently, we build image manually and retag the image and then publish to docker hub. this is too much manual work and error-prone.

Related issues

#68
#69

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!
@Jeffwan Jeffwan added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Oct 16, 2021
@Jeffwan Jeffwan changed the title [Feature] container Image auto-release scripts [Feature] container image auto-release scripts Oct 16, 2021
@Jeffwan Jeffwan added this to the v0.2.0 release milestone Oct 19, 2021
@Jeffwan Jeffwan added the ci label Jan 17, 2022
@Jeffwan
Copy link
Collaborator Author

Jeffwan commented Jan 17, 2022

/cc @wilsonwang371 if you are interested in it.

@Jeffwan
Copy link
Collaborator Author

Jeffwan commented Feb 23, 2022

for master image: nightly
for testing image: ${commit_hash}
for release branch image: v0.1.0 etc.

docker push kuberay/operator:${{ steps.vars.outputs.sha_short }};
docker image tag kuberay/operator:${{ steps.vars.outputs.sha_short }} kuberay/operator:nightly;
docker push kuberay/operator:nightly

Here we already build nightly and ${commit_hash}, we still need a tool to help us manually release images.

For each release,

  1. We should check if post submit job success or not. If not, fix it.
  2. Find the most recent commit hash and retag to tag version like v0.2.0 etc, push images to registry
  3. Update documentation and manifests
  4. Cut release and tag

We need a release process doc and scripts or commands

@Jeffwan Jeffwan assigned Jeffwan and unassigned Jeffwan Feb 23, 2022
@Jeffwan
Copy link
Collaborator Author

Jeffwan commented Feb 23, 2022

Since we don't use cloud build or some other pipelines to release the process, there's some manual steps.

scripts here are extremely easy and I think we can use command lines directly rather that tools.

docker tag kuberay/operator:${commit_hash} 
docker push kuberay/operator:v0.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant