Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add workflow to test byzer-lang chart on PR #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chncaesar
Copy link
Contributor

@chncaesar chncaesar commented Mar 15, 2023

Description

This pr introduces a work-flow to test Byzer-lang chart. The test process is as follows:

  1. Install minikube helm kubectl chart-testing
  2. Run chart-testing:
    2.1 Create a namespace and install byzer-lang, and wait for the installation.
    2.2 Run helm test byzer-lang , which runs the pod defined in byzer-lang/templates/tests.

Change Description

cp_write_values_yaml.py : customize values.yaml to make sure byzer-lang run in a resource-constraint minikube.
lint_and_test.yaml: The wrorkflow to auomatically run on each PR
byzer-lang/templates/tests/test-connection.yaml: The testing pod.

Test

image

The workflow log:

------------------------------------------------------------------------------------------------------------------------
 ✔︎ byzer-lang => (version: "0.1.9", path: "byzer-lang")
------------------------------------------------------------------------------------------------------------------------
All charts installed successfully

@chncaesar chncaesar changed the title Add workflow to test byzer-lang chart on PR [WIP]Add workflow to test byzer-lang chart on PR Mar 15, 2023
@chncaesar chncaesar marked this pull request as draft March 15, 2023 07:53
@chncaesar chncaesar marked this pull request as ready for review March 19, 2023 06:32
@chncaesar chncaesar changed the title [WIP]Add workflow to test byzer-lang chart on PR Add workflow to test byzer-lang chart on PR Mar 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant