Skip to content

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

Open
chncaesar wants to merge 1 commit intobyzer-org:masterfrom
chncaesar:zjc
Open

Add workflow to test byzer-lang chart on PR#3
chncaesar wants to merge 1 commit intobyzer-org:masterfrom
chncaesar:zjc

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 force-pushed the zjc branch 4 times, most recently from 8407acc to e450d9e Compare March 15, 2023 07:25
@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 force-pushed the zjc branch 7 times, most recently from 350e751 to 657f73a Compare March 19, 2023 06:30
@chncaesar chncaesar marked this pull request as ready for review March 19, 2023 06:32
@chncaesar chncaesar requested a review from allwefantasy March 19, 2023 06:48
@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