Skip to content

Conversation

shlomi-noach
Copy link

@shlomi-noach shlomi-noach commented Mar 7, 2021

Hooks can now utilize GH_OST_ETA_SECONDS environment variable, populated with an integer value of ETA seconds.

A negative value stands for unknown ETA, as is the case at the very beginning of the migration.
The value is 0 when cut-over is imminent.

@shlomi-noach shlomi-noach changed the title hooks: reporting GH_OST_ETA_SECONDS. ETA as part of migration context hooks: reporting GH_OST_ETA_NANOSECONDS. ETA as part of migration context Mar 7, 2021
Signed-off-by: Shlomi Noach <[email protected]>
@shlomi-noach shlomi-noach changed the title hooks: reporting GH_OST_ETA_NANOSECONDS. ETA as part of migration context hooks: reporting GH_OST_ETA_SECONDS. ETA as part of migration context Mar 7, 2021
Signed-off-by: Shlomi Noach <[email protected]>
@shlomi-noach shlomi-noach merged commit 33516f4 into master Mar 7, 2021
@shlomi-noach shlomi-noach deleted the hooks-eta-seconds branch March 7, 2021 12:55
@shlomi-noach shlomi-noach restored the hooks-eta-seconds branch March 7, 2021 12:55
@shlomi-noach shlomi-noach deleted the hooks-eta-seconds branch March 7, 2021 12:56
@shlomi-noach shlomi-noach restored the hooks-eta-seconds branch March 7, 2021 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant