diff --git a/changelog.md b/changelog.md new file mode 100644 index 0000000..48fa243 --- /dev/null +++ b/changelog.md @@ -0,0 +1,19 @@ +### Linux + +```shell +curl -L https://github.com/jenkins-x-plugins/jx-slack/releases/download/v0.0.49/jx-slack-linux-amd64.tar.gz | tar xzv +sudo mv slack /usr/local/bin +``` + +### macOS + +```shell +curl -L https://github.com/jenkins-x-plugins/jx-slack/releases/download/v0.0.49/jx-slack-darwin-amd64.tar.gz | tar xzv +sudo mv slack /usr/local/bin +``` +## Changes + +### Chores + +* smaller base image (James Strachan) +* fix git clone (James Strachan) diff --git a/charts/jx-slack/Chart.yaml b/charts/jx-slack/Chart.yaml index fbcf90a..350a05d 100644 --- a/charts/jx-slack/Chart.yaml +++ b/charts/jx-slack/Chart.yaml @@ -3,7 +3,7 @@ description: A Slack bot for Jenkins X icon: https://raw.githubusercontent.com/jenkins-x/jenkins-x-website/master/images/logo/jenkinsx-icon-color.svg home: https://github.com/jenkins-x-plugins/jx-slack name: jx-slack -version: 0.0.1-SNAPSHOT +version: 0.0.49 appVersion: latest sources: - https://github.com/jenkins-x-plugins/jx-slack \ No newline at end of file diff --git a/charts/jx-slack/README.md b/charts/jx-slack/README.md index b478810..b52a1db 100755 --- a/charts/jx-slack/README.md +++ b/charts/jx-slack/README.md @@ -1 +1,62 @@ -# Slack application for Jenkins X \ No newline at end of file +# jx-slack + +![Version: 0.0.1-SNAPSHOT](https://img.shields.io/badge/Version-0.0.1--SNAPSHOT-informational?style=flat-square) ![AppVersion: latest](https://img.shields.io/badge/AppVersion-latest-informational?style=flat-square) + +A Slack bot for Jenkins X + +**Homepage:** + +## Source Code + +* + +## Values + +| Key | Type | Default | Description | +|-----|------|---------|-------------| +| gitSecretName | string | `"tekton-git"` | | +| image.pullPolicy | string | `"IfNotPresent"` | | +| image.repository | string | `"jenkinsxio/jx-slack"` | | +| image.tag | string | `"dev"` | | +| jxRequirements.cluster.gitKind | string | `"github"` | | +| jxRequirements.cluster.gitServer | string | `"https://github.com"` | | +| nameOverride | string | `"jx-slack"` | | +| podAnnotations.myannotation | string | `"abcd"` | | +| replicaCount | int | `1` | | +| resources.limits.cpu | string | `"100m"` | | +| resources.limits.memory | string | `"256Mi"` | | +| resources.requests.cpu | string | `"80m"` | | +| resources.requests.memory | string | `"128Mi"` | | +| role.rules[0].apiGroups[0] | string | `"jenkins.io"` | | +| role.rules[0].resources[0] | string | `"pipelineactivities"` | | +| role.rules[0].verbs[0] | string | `"watch"` | | +| role.rules[0].verbs[1] | string | `"update"` | | +| role.rules[0].verbs[2] | string | `"list"` | | +| role.rules[1].apiGroups[0] | string | `"jenkins.io"` | | +| role.rules[1].resources[0] | string | `"environments"` | | +| role.rules[1].verbs[0] | string | `"get"` | | +| role.rules[1].verbs[1] | string | `"list"` | | +| role.rules[2].apiGroups[0] | string | `""` | | +| role.rules[2].resources[0] | string | `"secrets"` | | +| role.rules[2].resources[1] | string | `"configmaps"` | | +| role.rules[2].resources[2] | string | `"namespaces"` | | +| role.rules[2].resources[3] | string | `"serviceaccounts"` | | +| role.rules[2].verbs[0] | string | `"get"` | | +| role.rules[2].verbs[1] | string | `"list"` | | +| role.rules[3].apiGroups[0] | string | `"extensions"` | | +| role.rules[3].apiGroups[1] | string | `"networking.k8s.io"` | | +| role.rules[3].resources[0] | string | `"ingresses"` | | +| role.rules[3].verbs[0] | string | `"get"` | | +| role.rules[3].verbs[1] | string | `"watch"` | | +| role.rules[3].verbs[2] | string | `"list"` | | +| role.rules[4].apiGroups[0] | string | `""` | | +| role.rules[4].resourceNames[0] | string | `"plugins"` | | +| role.rules[4].resources[0] | string | `"configmaps"` | | +| role.rules[4].verbs[0] | string | `"watch"` | | +| role.rules[4].verbs[1] | string | `"get"` | | +| role.rules[4].verbs[2] | string | `"update"` | | +| secrets.token | string | `""` | | +| terminationGracePeriodSeconds | int | `10` | | + +---------------------------------------------- +Autogenerated from chart metadata using [helm-docs v1.4.0](https://github.com/norwoodj/helm-docs/releases/v1.4.0) diff --git a/charts/jx-slack/jx-slack-0.0.49.tgz b/charts/jx-slack/jx-slack-0.0.49.tgz new file mode 100644 index 0000000..d139d46 Binary files /dev/null and b/charts/jx-slack/jx-slack-0.0.49.tgz differ diff --git a/charts/jx-slack/templates/release.yaml b/charts/jx-slack/templates/release.yaml new file mode 100644 index 0000000..2b23e23 --- /dev/null +++ b/charts/jx-slack/templates/release.yaml @@ -0,0 +1,47 @@ +{{- if .Capabilities.APIVersions.Has "jenkins.io/v1/Release" }} +apiVersion: jenkins.io/v1 +kind: Release +metadata: + creationTimestamp: "2021-02-22T09:34:09Z" + deletionTimestamp: null + name: '{{ .Chart.Name }}-{{ .Chart.Version | replace "+" "_" }}' +spec: + commits: + - author: + email: james.strachan@gmail.com + name: James Strachan + branch: master + committer: + email: james.strachan@gmail.com + name: James Strachan + message: | + chore: smaller base image + sha: 44af5ca3a1f9ddb7eccf70780112508c71e7b71c + - author: + email: james.strachan@gmail.com + name: James Strachan + branch: master + committer: + email: james.strachan@gmail.com + name: James Strachan + message: | + chore: fix git clone + sha: 2e77321448cb977e2f0dec66e7d87c55a7e18a45 + - author: + email: james.strachan@gmail.com + name: James Strachan + branch: master + committer: + email: james.strachan@gmail.com + name: James Strachan + message: | + chore: fix git clone + sha: 1ec6d60180b8ffa7006071be9db3b15ac8c658cf + gitHttpUrl: https://github.com/jenkins-x-plugins/jx-slack + gitOwner: jenkins-x-plugins + gitRepository: jx-slack + name: '{{ .Chart.Name }}' + version: 0.0.49 +status: {} + +{{- end }} diff --git a/charts/jx-slack/values.yaml b/charts/jx-slack/values.yaml index 8b14fdd..fbab02d 100755 --- a/charts/jx-slack/values.yaml +++ b/charts/jx-slack/values.yaml @@ -3,8 +3,8 @@ # Declare variables to be passed into your templates. replicaCount: 1 image: - repository: jenkinsxio/jx-slack - tag: dev + repository: gcr.io/jenkinsxio/jx-slack + tag: 0.0.49 pullPolicy: IfNotPresent nameOverride: jx-slack