Pre deploy actions

Change-Id: I2e6b5f33c68124422f49248c07893cabad4c4e4f
Related-Bug: #1364068
Merge "Pre deploy actions"