[CI] move drone config to starlark and .yml format#237
Conversation
|
the acceptance test pipelines are not running with this config format. The result should have been identified as drone generates .yml file from the .star file in runtime but something is different when I generate the .drone.yml file locally. |
|
https://drone.owncloud.com/owncloud/encryption/1668 CI from a normal PR ran lots of acceptance tests a few days ago. |
|
This will be related to the use of then it does not know what the the build event is. I will think what the logic should be for running locally to generate the |
|
And the locally-generated YML ends up with stuff like: The local starlark of course has no idea about |
94c8231 to
d4732b9
Compare
|
All is green but not sonarcloud, seems it is not happy... |
37d1ad3 to
9d770ca
Compare
9d770ca to
1aca2a3
Compare
phil-davis
left a comment
There was a problem hiding this comment.
Note: the cache for the unit test coverage ends up in a folder like cache/cache/encryption/1aca2a32c81002fdcc78d538fe924d567940ea79-1691
It used to be like https://drone.owncloud.com/owncloud/encryption/1668/14/5 cache/cache/owncloud/encryption/bb82610f5118d451d03640fdd2b5eafb21e12c95-1668
(It had an extra owncloud in the path)
But really that does not matter. The results get purged after being used for SonarCloud analysis.
|
The merge CI is drone job https://drone.owncloud.com/owncloud/encryption/1692 That is OK for now. It might be rather challenging to run the acceptance tests just on pull-request and nightly, but not on the merge CI. |
move ci config to
.drone.starlark+.drone.yml