faas-netes icon indicating copy to clipboard operation
faas-netes copied to clipboard

Test the image we build in the GitHub Action

Open alexellis opened this issue 4 years ago • 3 comments

Test the image we build in the GitHub Action

Expected Behaviour

As we run e2e tests upon commit, this should test the operator image that we've just built.

Current Behaviour

Instead we test whatever is in the chart, which probably still needs to be tested separately for each chart change.

Possible Solution

Side-load the image with kind as per https://github.com/alexellis/registry-creds/blob/master/.github/workflows/ci-only.yaml

Add a new job that only tests the chart.

alexellis avatar Nov 11 '20 17:11 alexellis

I made a drafty PR that tests the image in the PR, and hopefully solves this issue.

I also added a load testing script in the build just to show how you can replicate a scenario which gives some 404s as discussed in a separate issue. I added in this PR and CI to show the reproducibility steps.

matzhaugen avatar Feb 19 '21 16:02 matzhaugen

/add label: help wanted

alexellis avatar Jun 23 '21 15:06 alexellis

~Hi @alexellis , Is there still a problem here?if so, I can try to solve it

zhangwinning avatar Oct 15 '21 06:10 zhangwinning