Page MenuHomeDevCentral

Avoid to mark a site initialized on failure
ClosedPublic

Authored by dereckson on Apr 14 2023, 21:11.
Tags
None
Referenced Files
F24301924: D3015.diff
Fri, Feb 13, 09:00
Unknown Object (File)
Tue, Feb 10, 23:48
Unknown Object (File)
Tue, Feb 10, 19:15
Unknown Object (File)
Tue, Feb 10, 13:13
Unknown Object (File)
Tue, Feb 10, 12:54
Unknown Object (File)
Tue, Feb 10, 11:20
Unknown Object (File)
Tue, Feb 10, 09:39
Unknown Object (File)
Tue, Feb 10, 08:13
Subscribers
None

Details

Summary

Check the recipe status to be successful, and if not, don't mark
as initialized.

Init script should be documented to use the following exit codes:

  • Success: 0
  • Failure: 2
Test Plan

alkane init

Diff Detail

Repository
rALK Alkane
Lint
No Lint Coverage
Unit
No Test Coverage
Branch
dont-initialize-too-soon
Build Status
Buildable 4765
Build 5046: arc lint + arc unit

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Apr 14 2023, 21:12