Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

show current deploy stage #1360

Merged
merged 1 commit into from
Dec 7, 2023
Merged

show current deploy stage #1360

merged 1 commit into from
Dec 7, 2023

Conversation

ntascii
Copy link
Contributor

@ntascii ntascii commented Dec 6, 2023

Summary

show the current depoy stage in deploy scripts.

Test plan

tested with deploy agent serverless

**I01:05:41 [deployd] The current deploy stage is: RESTARTING**
I01:05:41 [deployd.common.executor] Running: /mnt/metrics-agent/teletraan/RESTARTING with 3 retries.
D01:05:41 [deployd.common.executor] start: 2023-12-07 01:05:41.624952, now: 2023-12-07 01:05:41.627038, process: 0
D01:05:43 [deployd.common.executor] start: 2023-12-07 01:05:41.624952, now: 2023-12-07 01:05:43.627482, process: 2
D01:05:45 [deployd.common.executor] start: 2023-12-07 01:05:41.624952, now: 2023-12-07 01:05:45.627813, process: 4
I01:05:45 [deployd.common.executor] Running: /mnt/metrics-agent/teletraan/RESTARTING succeeded.
D01:05:45 [deployd.common.env_status] The host is not a canary.
I01:05:45 [deployd.client.serverless_client] PingReport(deployId=f29331b9f67d4754a733441dc9140a7f, envId=Jh3C-9iESFWU-3KumGTK2g, deployStage=RESTARTING, status=SUCCEEDED, errorCode=0, errorMessage=None, failCount=0, extraInfo=None, deployAlias=None, containerHealthStatus=metrics-agent:healthy, agentState=None) PingResponse(opCode=DEPLOY, deployGoal=DeployGoal(deployId=f29331b9f67d4754a733441dc9140a7f, envId=Jh3C-9iESFWU-3KumGTK2g, envName=metrics-agent, stageName=prod, stageType=None, deployStage=POST_RESTART, build=Build(buildId=None, buildName=None, buildVersion=None, artifactUrl=None, scm=None, scmRepo=None, scmBranch=None, scmCommit=None, scmInfo=None, commitDate=None, publishInfo=None, publishDate=None), deployAlias=None, agentConfig=None,scriptVariables=None, firstDeploy=None, isDocker=None))
D01:05:45 [deployd.common.executor] Executor configs have been updated: PING_INTERVAL=60, TIME_OUT=1800, MAX_RETRY=3
I01:05:45 [deployd] current deploy goal is: DeployGoal(deployId=f29331b9f67d4754a733441dc9140a7f, envId=Jh3C-9iESFWU-3KumGTK2g, envName=metrics-agent, stageName=prod, stageType=None, deployStage=POST_RESTART, build=Build(buildId=None, buildName=None, buildVersion=None, artifactUrl=None, scm=None, scmRepo=None, scmBranch=None, scmCommit=None, scmInfo=None, commitDate=None, publishInfo=None, publishDate=None), deployAlias=None, agentConfig=None,scriptVariables=None, firstDeploy=None, isDocker=None)
I01:05:45 [deployd] The current deploy stage is: POST_RESTART

@ntascii ntascii requested a review from a team as a code owner December 6, 2023 21:57
@ntascii ntascii merged commit 659ff48 into master Dec 7, 2023
6 checks passed
@ntascii ntascii deleted the anhn/show-current-deploy-stage branch December 7, 2023 01:14
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.

2 participants