mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1203596: Remove .userconfig after run build.sh. r=jlund
If we keep the userconfig file inside B2G shared cache, it may cause build bustage in other branches.
This commit is contained in:
parent
15b91024c3
commit
07c171dd06
@ -37,6 +37,7 @@ from mozharness.base.python import VirtualenvMixin
|
||||
from mozharness.base.python import InfluxRecordingMixin
|
||||
from mozharness.mozilla.building.buildbase import MakeUploadOutputParser
|
||||
from mozharness.mozilla.building.buildb2gbase import B2GBuildBaseScript, B2GMakefileErrorList
|
||||
from mozharness.base.script import PostScriptRun
|
||||
|
||||
|
||||
class B2GBuild(LocalesMixin, PurgeMixin,
|
||||
@ -1130,6 +1131,13 @@ class B2GBuild(LocalesMixin, PurgeMixin,
|
||||
|
||||
self.submit_balrog_updates(product='b2g')
|
||||
|
||||
@PostScriptRun
|
||||
def _remove_userconfig(self):
|
||||
self.info("Cleanup .userconfig file.")
|
||||
dirs = self.query_abs_dirs()
|
||||
userconfig_path = os.path.join(dirs["work_dir"], ".userconfig")
|
||||
os.remove(userconfig_path)
|
||||
|
||||
# main {{{1
|
||||
if __name__ == '__main__':
|
||||
myScript = B2GBuild()
|
||||
|
Loading…
Reference in New Issue
Block a user