Skip to content

Commit

Permalink
Apply chart title (#50)
Browse files Browse the repository at this point in the history
* Add versioned chart schema titles

* Set default versions

* Add CI step to set release
  • Loading branch information
marcelldls authored Feb 4, 2025
1 parent 44cb1d0 commit cd64505
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/schema_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@ jobs:
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Set schema versions
run: |
if [ "${GITHUB_REF_TYPE}" == "tag" ] ; then
TAG=${GITHUB_REF_NAME}
for schema in Schemas/*.schema.json; do
(
sed -i 's/0.0.0-b0/'"$TAG"'/' $schema
)
done
fi
- name: Github Release
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v0.1.15
with:
Expand Down
2 changes: 1 addition & 1 deletion Schemas/argocd-apps.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"services",
"ec-services"
],
"title": "Values",
"title": "argocd-apps 0.0.0-b0",
"type": "object"
}

2 changes: 1 addition & 1 deletion Schemas/ioc-instance.schema.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"title": "Values",
"title": "ioc-instance 0.0.0-b0",
"type": "object",
"$schema": "http://json-schema.org/schema#",
"$ref": "#/$defs/service",
Expand Down

0 comments on commit cd64505

Please sign in to comment.