Yiyiyimu opened a new pull request #3521:
URL: https://github.com/apache/apisix/pull/3521


   Signed-off-by: yiyiyimu <[email protected]>
   
   ### What this PR does / why we need it:
   fix #3514
   
   So the CI basically do:
   1. Whenever push to branch other than master (for us it's always release 
branch), CI would be triggered.
   2. Make release, remove everything except tarball, `.travis` and `t`. And 
untar for test
   3. Reuse CI in ubuntu for test
   4. Upload tarball as an artifact, so we could directly download it in the 
workflow page 
[Ref](https://docs.github.com/en/actions/managing-workflow-runs/downloading-workflow-artifacts)
   
   Some problems need suggestions:
   1. Github actions provide 
[composite](https://docs.github.com/en/actions/creating-actions/creating-a-composite-run-steps-action)
 run so we could reuse code in other actions. But since it does not support 
matrix yet, so we could not use it in this situation. I just copied `build.yml` 
and it's not so satisfying
   2. Using matrix, one tarball would be created and uploaded for each 
environment. It's not a big deal since they are all the same, but still not 
satisfying.
   
   **TODO**:
   - [ ] Currently for test, it would run on pull request. It should be changed 
to run on push before merge.
   
   ### Pre-submission checklist:
   
   * [x] Did you explain what problem does this PR solve? Or what new features 
have been added?
   * [ ] Have you added corresponding test cases?
   * [ ] Have you modified the corresponding document?
   * [x] Is this PR backward compatible? **If it is not backward compatible, 
please discuss on the [mailing 
list](https://github.com/apache/apisix/tree/master#community) first**
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to