timfeirg / lain-cli

DevOps with minimum effort.
https://lain-cli.readthedocs.io/en/latest/
MIT License
31 stars 9 forks source link

Faster e2e test #10

Closed hongqn closed 2 years ago

hongqn commented 2 years ago

Change terminationGracePeriodSeconds of deployments to 1 after calling lain init.

This change speeds up the e2e test job from ~20 minutes to ~8m in our GitLab-CI environment.

timfeirg commented 2 years ago

这件事提醒了我,dummy的测试流程有一些smell,老是要不断地写文件+改文件。我有一些别的想法,大致上就是让dummy values参数化(或者作为fixture)地管理,我先看看这个方向好不好做。

timfeirg commented 2 years ago

closed in favor of https://github.com/timfeirg/lain-cli/pull/15