diff --git a/.github/CONTRIBUTING.md b/CONTRIBUTING.md similarity index 100% rename from .github/CONTRIBUTING.md rename to CONTRIBUTING.md diff --git a/.github/PUBLISHING.md b/PUBLISHING.md similarity index 73% rename from .github/PUBLISHING.md rename to PUBLISHING.md index dc23d824..736cc8ea 100644 --- a/.github/PUBLISHING.md +++ b/PUBLISHING.md @@ -4,7 +4,7 @@ This page describes how to publish a new version of plugin and all related artif Steps: -1. Create a PR with version increment in [gradle.properties](../gradle.properties) and in [documentation](../README.adoc). Please follow [semver guidelines](https://semver.org/): +1. Create a PR with version increment in [gradle.properties](./gradle.properties) and in [documentation](./README.md). Please follow [semver guidelines](https://semver.org/): 1. If there are breaking `.api` files - increment the major version (e.g. from `x.y.z` to `x+1.0.0`) 2. If current version is compatible with previous one and there are some notable changes - please increment the minor one (e.g. from `x.y.z` to `x.y+1.0`) 3. Otherwise - please increment the patch version (e.g. from `x.y.z` to `x.y.z+1`). @@ -12,7 +12,7 @@ Steps: follow [the documentation](https://docs.gradle.org/current/userguide/publishing_gradle_plugins.html)) and add them into the project secrets. 3. Run publication workflows: 1. Navigate to [Actions](https://github.com/Citi/gradle-helm-plugin/actions/workflows/) and locate - the [publish workflow](./workflows/publish.yaml) and [publish documentation one](./workflows/publish.yaml). GitHub + the [publish workflow](./.github/workflows/publish.yaml) and [publish documentation one](./.github/workflows/publish.yaml). GitHub documentation: https://docs.github.com/en/actions/using-workflows/manually-running-a-workflow 2. Run both workflows -4. Release [the version on GitHub](https://docs.github.com/en/repositories/releasing-projects-on-github). \ No newline at end of file +4. Release [the version on GitHub](https://docs.github.com/en/repositories/releasing-projects-on-github). diff --git a/README.adoc b/README.adoc deleted file mode 100644 index 8e0ce654..00000000 --- a/README.adoc +++ /dev/null @@ -1,73 +0,0 @@ -ifdef::env-github[] -:tip-caption: :bulb: -:note-caption: :information_source: -:important-caption: :heavy_exclamation_mark: -:caution-caption: :fire: -:warning-caption: :warning: -endif::[] - -= Gradle Helm Plugin -:version: 2.1.0 -:pluginId: com.citi.helm - -image:https://img.shields.io/gradle-plugin-portal/v/{pluginId}?versionPrefix={version}[link=https://plugins.gradle.org/plugin/{pluginId}/{version}] - -This is a suite of Gradle plugins for building, publishing and managing https://www.helm.sh/[Helm] charts. - - -== Features - -* Gradle task types for common Helm CLI commands -* Build, package and publish Helm charts using a declarative Gradle DSL -* Resolve placeholders like `$\{chartVersion}` from chart source files before packaging -* Resolve dependencies between charts using Gradle artifact dependencies -* Install, upgrade and uninstall releases to/from a Kubernetes cluster - - -== Requirements - -* Gradle 7 or higher -* JDK 1.8 or higher (for running Gradle) -* Helm command-line client 3.+ - - -== Quick Start - -Apply the `{pluginId}` plugin to your Gradle project: - -.build.gradle -[source,groovy,subs="attributes"] ----- -plugins { - id '{pluginId}' version '{version}' -} ----- - -.build.gradle.kts -[source,kotlin,subs="attributes"] ----- -plugins { - id("{pluginId}") version "{version}" -} ----- - - -Put your Helm chart sources into `src/main/helm`: - ----- -📂 (project root) - 📂 src - 📂 main - 📂 helm - 📂 templates - 📄 ... - 📄 Chart.yaml - 📄 values.yaml ----- - -Use the `helmPackage` task to build your chart. - - -== Further Documentation - -* https://citi.github.io/gradle-helm-plugin/[User Manual] diff --git a/README.md b/README.md new file mode 100644 index 00000000..6f6eefe4 --- /dev/null +++ b/README.md @@ -0,0 +1,92 @@ +
+ A suite of Gradle Plugins for
building, publishing and managing Helm Charts
+
+