-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI-1389: push.artifact.destination_git_urls in acquia cli config #1789
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1789 +/- ##
============================================
+ Coverage 92.22% 92.23% +0.01%
Complexity 1817 1817
============================================
Files 121 121
Lines 6813 6823 +10
============================================
+ Hits 6283 6293 +10
Misses 530 530 ☔ View full report in Codecov by Sentry. |
Try the dev build for this PR: https://acquia-cli.s3.amazonaws.com/build/pr/1789/acli.phar
|
dbe2043
to
3a5e367
Compare
It looks like datastore support for Git URLs was added in #733 but we weren't doing schema validation of the yaml store at that time. When we added the config tree validator I'm not sure why tests kept passing 🤷 |
This looks good but we need to figure out why tests didn't catch this to prevent it from regressing again. Let me know if that's something you can figure out, or we can try to get this into an upcoming sprint. |
I think command failing and test not failing because -
and given in project repo, this acli config file already exists and thus validation fails while building the tree on container load / initialize
SO in https://github.com/acquia/cli/blob/main/tests/phpunit/src/TestBase.php#L75, I changed this to
and test failed . This is called from https://github.com/acquia/cli/blob/main/tests/phpunit/src/TestBase.php#L428
|
@joshirohit100 thanks a lot for diving into that, I think you're right, the problem is we used |
Fix #1788
Fix CLI-1389