Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

Commit

Permalink
update chart for helm v3
Browse files Browse the repository at this point in the history
  • Loading branch information
alexnuttinck committed Feb 25, 2020
1 parent aeafeb9 commit f564041
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 12 deletions.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ jobs:
environment:
- GITHUB_PAGES_REPO: cetic/helm-charts
- HELM_CHART: adminer
command: wget -O - https://raw.githubusercontent.com/cetic/helm-adminer/develop/publish.sh | sh
- HELM_VERSION: 3.1.0
command: wget -O - https://raw.githubusercontent.com/cetic/helm-adminer/develop/publish.sh | sh
8 changes: 6 additions & 2 deletions Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
apiVersion: "v2"
name: adminer
appVersion: "4.7.5"
version: 0.1.2
appVersion: "4.7.6"
version: 0.1.3
description: Adminer is a full-featured database management tool written in PHP. Conversely to phpMyAdmin, it consist of a single file ready to deploy to the target server. Adminer is available for MySQL, MariaDB, PostgreSQL, SQLite, MS SQL, Oracle, Firebird, SimpleDB, Elasticsearch and MongoDB
home: https://www.adminer.org
icon: https://raw.githubusercontent.com/Kong/docker-official-docs/master/adminer/logo.png
Expand All @@ -17,3 +19,5 @@ source:
- https://github.com/cetic/helm-adminer
maintainers:
- name: alexnuttinck
email: [email protected]
url: https://github.com/alexnuttinck
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ The following table lists the configurable parameters of the Adminer chart and t
| --------------------------------- | ----------------------------------------------------------------------- | --------------------------- |
| **Image** |
| `image.repository` | Image | `adminer` |
| `image.tag` | Image tag | `4.7.5-standalone` |
| `image.tag` | Image tag | `4.7.6-standalone` |
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
| **Config** |
| `config.plugins` | List of plugins to install. You can find the list of plugins on [GitHub](https://github.com/vrana/adminer/tree/master/plugins)| ``|
Expand Down
13 changes: 7 additions & 6 deletions publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ WORKING_DIRECTORY="$PWD"
echo "ERROR: Could not find Helm charts in $WORKING_DIRECTORY"
exit 1
}
[ -z "$HELM_VERSION" ] && HELM_VERSION=2.8.1
[ "$HELM_VERSION" ] || {
echo "ERROR: Environment variable HELM_VERSION is required"
exit 1
}
[ "$CIRCLE_BRANCH" ] || {
echo "ERROR: Environment variable CIRCLE_BRANCH is required"
exit 1
Expand Down Expand Up @@ -46,12 +49,11 @@ apk add ca-certificates git openssh

echo '>> Installing Helm...'
cd /tmp/helm/bin
wget "https://storage.googleapis.com/kubernetes-helm/helm-v${HELM_VERSION}-linux-amd64.tar.gz"
wget "https://get.helm.sh/helm-v${HELM_VERSION}-linux-amd64.tar.gz"
tar -zxf "helm-v${HELM_VERSION}-linux-amd64.tar.gz"
chmod +x linux-amd64/helm
alias helm=/tmp/helm/bin/linux-amd64/helm
helm version -c
helm init -c
helm version

echo ">> Checking out $GITHUB_PAGES_BRANCH branch from $GITHUB_PAGES_REPO"
cd /tmp/helm/publish
Expand Down Expand Up @@ -89,5 +91,4 @@ git config user.name CircleCI
git add .
git status
git commit -m "Published by CircleCI $CIRCLE_BUILD_URL"
git push origin "$GITHUB_PAGES_BRANCH"

git push origin "$GITHUB_PAGES_BRANCH"
4 changes: 2 additions & 2 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ replicaCount: 1

image:
repository: adminer
tag: 4.7.5-standalone
tag: 4.7.6-standalone
pullPolicy: IfNotPresent

# See envs from https://hub.docker.com/_/adminer/
config:
plugins: ""
design: ""
design: "pepa-linha"
externalserver: ""

nameOverride: ""
Expand Down

0 comments on commit f564041

Please sign in to comment.