@config_ctx()def kitchen(c):c.base_paths['root'] = c.CURRENT_WORKING_DIRc.base_paths['slave_build'] = c.CURRENT_WORKING_DIR# TODO(phajdan.jr): have one cache dir, let clients append suffixes.# TODO(phajdan.jr): set persistent cache path for remaining platforms.# NOTE: do not use /b/swarm_slave here - it gets deleted on bot redeploy,# and may happen even after a reboot.if c.PLATFORM == 'linux':c.base_paths['cache'] = ('/', 'b', 'cache', 'chromium')c.base_paths['git_cache'] = ('/', 'b', 'cache', 'chromium', 'git_cache')c.base_paths['goma_cache'] = ('/', 'b', 'cache', 'chromium', 'goma_cache')else:c.base_paths['cache'] = c.base_paths['root'] + ('cache',)c.base_paths['git_cache'] = c.base_paths['root'] + ('cache_dir',)c.base_paths['goma_cache'] = c.base_paths['root'] + ('goma_cache',)c.dynamic_paths['checkout'] = NoneWDYT?Paweł
--
You received this message because you are subscribed to the Google Groups "infra-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to infra-dev+...@chromium.org.
To post to this group, send email to infr...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/infra-dev/CAATLsPZ0k7gD8rBqz0HthC65sT8MdYMw2nQySjTFzRQH2fx1mg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/infra-dev/CANAQWOXpvYVwp2wsS%3DUcR%2BmhsFq%2BMXMSOUwuKqwLw9JYDG5G%3DQ%40mail.gmail.com.
Moving that stuff out of recipes-py sounds good to me.
I do think that all of those things will eventually be replaced with actual recipe module dependencies as the recipes-in-repos sort of untangle from the current recipes-in-a-giant-ball situation. But moving infra specific stuff out of recipes-py always sgtm.
Yeah what you say has worried me a bit too. Path config is really a product of the runtime environment, not a property of the recipe. I think there is a good solution, but I'm not sure what it is yet.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/infra-dev/CAATLsPY6JbM0TNooD0-BeRP6pqW%2BQVqC8ish6byN_h4w5-iEFQ%40mail.gmail.com.
Jam said this on the initial attempt to land this in https://codereview.chromium.org/1919193002, which I want to echo:"this also broke the infra cq. i.e. see https://codereview.chromium.org/1914243002/#ps1 why was this manually landed? i realize there are merge conflicts, but seems like a hinderance and a price to pay for large cl's"Looking at the second patchset, almost every tryjob is red, including the recipe try tests, like https://build.chromium.org/p/tryserver.infra/builders/Build%20Try%20Recipe%20Test%20Trusty64/builds/1201, which did break once this CL landed.This was also a pain to revert. Tandrii did some of the reverting, and I ended up doing the rest of it; recipes should finally be rolling ok.Is there a postmortem on this? There are some good lessons learned and next steps we should take about how to revert cross repo recipe changes.