Skip to content

✨ use cluster stack content hash instead of git commit hash#122

Merged
aniruddha2000 merged 1 commit into
mainfrom
ani/issues/121
May 28, 2024
Merged

✨ use cluster stack content hash instead of git commit hash#122
aniruddha2000 merged 1 commit into
mainfrom
ani/issues/121

Conversation

@aniruddha2000
Copy link
Copy Markdown
Member

What this PR does / why we need it:

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #121

Special notes for your reviewer:

Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

TODOs:

  • squash commits
  • include documentation
  • add unit tests

@aniruddha2000
Copy link
Copy Markdown
Member Author

❯ ./bin/csctl create tests/cluster-stacks/docker/ferrol -m hash -o .test-releases
path "tests/cluster-stacks/docker/ferrol": cluster stack hash: "u2vqtxcihozkxc1ytku5qfwy0ao4foxzgwbgnracc"
Creating output in .test-releases/docker-ferrol-1-27-v0-sha-u2vqtxc
.tmp/cluster-addon/Chart.yaml updating version from v0 to v0-sha.u2vqtxc
.tmp/cluster-class/Chart.yaml updating version from v0 to v0-sha.u2vqtxc
No provider specific configuration in csctl.yaml. No need to call a plugin for provider "docker"
Created .test-releases/docker-ferrol-1-27-v0-sha-u2vqtxc

☸️  kind-cso 📁 csctl on  ani/issues/121 [$?] via  v1.21.6 
❯ ls .test-releases/docker-ferrol-1-27-v0-sha-u2vqtxc                            
cluster-addon-values.yaml  docker-ferrol-1-27-cluster-addon-v0-sha.u2vqtxc.tgz  docker-ferrol-1-27-cluster-class-v0-sha.u2vqtxc.tgz  hashes.json  metadata.yaml

test results

Copy link
Copy Markdown
Member

@janiskemper janiskemper left a comment

Choose a reason for hiding this comment

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

@jschoone can open further issues if he needs it

@janiskemper
Copy link
Copy Markdown
Member

@aniruddha2000 can you rebase? And then let's merge this to not get another conflict

@aniruddha2000 aniruddha2000 merged commit 2182fa7 into main May 28, 2024
@aniruddha2000 aniruddha2000 deleted the ani/issues/121 branch May 28, 2024 09:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

use cluster stack hash instead of git commit hash

2 participants