Skip to content

Commit

Permalink
Move docker image to own dockerhub account.
Browse files Browse the repository at this point in the history
  • Loading branch information
quintush committed Feb 27, 2023
1 parent a1c249f commit 0f70f6b
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
12 changes: 6 additions & 6 deletions DOCKER_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ More information on how to use the helm unittest plugin see https://github.com/h

The latest docker tag is the latest helm release (https://github.com/helm/helm/releases/latest) containing the latest helm unittest plugin (https://github.com/helm-unittest/helm-unittest/releases/latest)

Please be aware to use the latest tag, as it can change the helm client and the helm unittest plugin version. Tag with the right versions is the proper way, such as ``` helm-unittest/helm-unittest:3.10.0-1.0.0 ```
Please be aware to use the latest tag, as it can change the helm client and the helm unittest plugin version. Tag with the right versions is the proper way, such as ``` helmunittest/helm-unittest:3.11.1-0.3.0 ```

## Github Repo ##

Expand All @@ -17,25 +17,25 @@ https://github.com/helm-unittest/helm-unittest/ </br>

## Docker image tags ##

https://hub.docker.com/r/helm-unittest/helm-unittest/tags/ </br>
https://hub.docker.com/r/helmunittest/helm-unittest/tags/ </br>
*Overview of the available version combinations*

# Usage #
```
# run help of latest helm with latest helm unittest plugin
docker run -ti --rm -v $(pwd):/apps helm-unittest/helm-unittest .
docker run -ti --rm -v $(pwd):/apps helmunittest/helm-unittest .
# run help of specific helm version with specific helm unittest plugin version
docker run -ti --rm -v $(pwd):/apps helm-unittest/helm-unittest:3.10.0-1.0.0 .
docker run -ti --rm -v $(pwd):/apps helmunittest/helm-unittest:3.11.1-0.3.0 .
# run unittests of a helm 3 chart
# make sure to mount local folder to /apps in container
docker run -ti --rm -v $(pwd):/apps helm-unittest/helm-unittest:3.10.0-1.0.0 .
docker run -ti --rm -v $(pwd):/apps helmunittest/helm-unittest:3.11.1-0.3.0 .
# run unittests of a helm 3 chart with Junit output for CI validation
# make sure to mount local folder to /apps in container
# the test-output.xml will be available in the local folder.
docker run -ti --rm -v $(pwd):/apps helm-unittest/helm-unittest:3.10.0-1.0.0 -o test-output.xml .
docker run -ti --rm -v $(pwd):/apps helmunittest/helm-unittest:3.11.1-0.3.0 -o test-output.xml .
```
*More information on how to use the helm unittest plugin see https://github.com/helm-unittest/helm-unittest/blob/main/DOCUMENT.md*

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ HELM_PLUGIN_DIR := $(HELM_3_PLUGINS)/helm-unittest
VERSION := $(shell sed -n -e 's/version:[ "]*\([^"]*\).*/\1/p' plugin.yaml)
DIST := ./_dist
LDFLAGS := "-X main.version=${VERSION} -extldflags '-static'"
DOCKER ?= "quintush/helm-unittest"
DOCKER ?= "helmunittest/helm-unittest"

.PHONY: install
install: bootstrap build
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,19 @@ It will install the latest version of binary into helm plugin directory.

```
# run help of latest helm with latest helm unittest plugin
docker run -ti --rm -v $(pwd):/apps quintush/helm-unittest
docker run -ti --rm -v $(pwd):/apps helmunittest/helm-unittest
# run help of specific helm version with specific helm unittest plugin version
docker run -ti --rm -v $(pwd):/apps quintush/helm-unittest:3.10.0-1.0.0
docker run -ti --rm -v $(pwd):/apps helmunittest/helm-unittest:3.11.1-0.3.0
# run unittests of a helm 3 chart
# make sure to mount local folder to /apps in container
docker run -ti --rm -v $(pwd):/apps quintush/helm-unittest:3.10.0-1.0.0 .
docker run -ti --rm -v $(pwd):/apps helmunittest/helm-unittest:3.11.1-0.3.0 .
# run unittests of a helm 3 chart with Junit output for CI validation
# make sure to mount local folder to /apps in container
# the test-output.xml will be available in the local folder.
docker run -ti --rm -v $(pwd):/apps quintush/helm-unittest:3.10.0-1.0.0 -o test-output.xml -t junit .
docker run -ti --rm -v $(pwd):/apps helmunittest/helm-unittest:3.11.1-0.3.0 -o test-output.xml -t junit .
```

The docker container contains the fully installed helm client, including the helm-unittest plugin.
Expand Down
4 changes: 2 additions & 2 deletions docker-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# DOCKER_PASSWORD
# GITHUB_TOKEN

# set -ex
set -ex

build() {

Expand Down Expand Up @@ -35,7 +35,7 @@ build() {
fi
}

image="quintush/helm-unittest"
image="helmunittest/helm-unittest"
helmRepo="helm/helm"
pluginRepo="helm-unittest/helm-unittest"

Expand Down

0 comments on commit 0f70f6b

Please sign in to comment.