{"id":21971294,"url":"https://github.com/eldada/helm-test-travisci","last_synced_at":"2026-05-09T01:04:44.056Z","repository":{"id":114564329,"uuid":"144828730","full_name":"eldada/helm-test-travisci","owner":"eldada","description":"Using TravisCI for testing a helm chart","archived":false,"fork":false,"pushed_at":"2018-08-21T11:34:09.000Z","size":20,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-28T02:34:45.066Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eldada.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-15T08:45:07.000Z","updated_at":"2018-08-21T11:34:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"f7c211b4-9dbb-49b3-8bfe-160eadc894ca","html_url":"https://github.com/eldada/helm-test-travisci","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eldada%2Fhelm-test-travisci","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eldada%2Fhelm-test-travisci/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eldada%2Fhelm-test-travisci/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eldada%2Fhelm-test-travisci/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eldada","download_url":"https://codeload.github.com/eldada/helm-test-travisci/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245031509,"owners_count":20549925,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-29T14:49:54.819Z","updated_at":"2026-05-09T01:04:39.008Z","avatar_url":"https://github.com/eldada.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Helm Chart testing with TravisCI\nThis repository is an example for testing a [helm](https://www.helm.sh/) chart with [TravisCI](https://travis-ci.org/)\n\nThe testing is made up of two stages:\n1. Running a `helm lint` on the chart\n2. Deploying chart to a running minikube Kubernetes cluster and validating http response code\n\n## TravisCI build status\n[![Build Status](https://travis-ci.org/eldada/helm-test-travisci.svg?branch=master)](https://travis-ci.org/eldada/helm-test-travisci)\n\n## Requirements\nYou must have a GitHub and TravisCI accounts. See [setup instructions](https://docs.travis-ci.com/user/getting-started/).\n\n## High level\nThe two important parts of this repository are the `test.sh` script and `.travis.yml` file.\n- `test.sh` - this has all the test flow as a shell script\n- `.travis.yml` - this describes the test stages for travisCI\n\n## Demo Helm Chart\nThe included helm chart is a default output of the `helm create demo` command that generates a simple nginx Helm chart example.\n\n## Running locally\nLocal execution of the tests supports Linux only!\n\n### Vagrant for local testing\nIf on a non Linux OS (like Windows or Mac OS), you can use [vagrant](https://www.vagrantup.com/) to spin up an Ubuntu Linux VM.\n```bash\n# Spin up the Ubuntu Linux VM\n$ vagrant up\n\n# SSH into the VM\n$ vagrant ssh\n\n# Go to directory with the sources\n$ cd /vagrant_data\n```\n\n### Running the tests\nRun the test by executing the `test.sh` script (as root or with sudo)\n```bash\n$ sudo ./test.sh\n```\n\n## TravisCI tests\nThe TravisCI test calls the `test.sh` script which\n- Sets up `kubectl` and `helm`\n- Runs a `helm lint` on the `demo` chart\n- Starts a local minikube\n- Deploys `demo` chart\n\n## Thanks\nThis repository is using examples from\n- https://github.com/LiliC/travis-minikube. Thanks [Lili Cosic](https://github.com/LiliC)!\n- https://gist.github.com/mbn18/0d6ff5cb217c36419661 Thank [Michael Ben-Nes](https://gist.github.com/mbn18)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feldada%2Fhelm-test-travisci","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feldada%2Fhelm-test-travisci","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feldada%2Fhelm-test-travisci/lists"}