Commit f69c700
committed
Fix CloudFoundry protocol compliance in finalize phase
- Add stager.SetStagingEnvironment() call before finalize logic
- Add stager.StagingComplete() call at end of finalize
- Remove unnecessary calls (CheckBuildpackValid, SetAppCacheDir, WriteConfigYml, CleanupAppCache)
- Align exit codes with reference buildpacks (go-buildpack, ruby-buildpack)
Fixes ensure proper CloudFoundry lifecycle signaling1 parent f0bca05 commit f69c700
1 file changed
Lines changed: 8 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | 39 | | |
49 | 40 | | |
50 | 41 | | |
51 | 42 | | |
52 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
53 | 49 | | |
54 | 50 | | |
55 | 51 | | |
| |||
59 | 55 | | |
60 | 56 | | |
61 | 57 | | |
62 | | - | |
| 58 | + | |
63 | 59 | | |
64 | 60 | | |
65 | 61 | | |
| |||
69 | 65 | | |
70 | 66 | | |
71 | 67 | | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
| 68 | + | |
78 | 69 | | |
79 | 70 | | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
| 71 | + | |
84 | 72 | | |
0 commit comments