hyperweb-io / hyperweb-io/starship

improvements: Spinup infra within TestSetup

Open
#80 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
77
Forks
39
PR merge metrics
No merged PRs in 30d

Description

## Overview
Currently we first spin up the kubernetes environment from `make start` command which first installs the helm chart on the kubernetes cluster and then run port-forwarding.

This is kinda of annoying when running tests, user has to do following
```bash
make start
# Wait time is long, anywhere from 5 mins to 20mins....

# Run if helm timeouts, else `start` command will also perform port-forward
make port-forward

# After the above two are done, only then test can be run, test could be golang or npm
go test .
# or
npm e2e:test
```

## Proposal
Not sure how to fix this. Infra setup since takes time, should be setup once per testing batch. If setup per test, it would take too long.

Might want to comeup with better ways about this.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.