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

ci: Added delay to site extension publishing to wait for NPM #2665

Merged

Conversation

mrickard
Copy link
Member

Our GitHub workflow to publish the Azure site extension was executing before NPM made the new agent available. This change adds a test for local-vs-remote versions, and checks periodically before either resolving or exiting.

Much of this happens in Powershell, so I've tested extensively on a fork.

Closes #2615
Closes NR-317297

Signed-off-by: mrickard <maurice@mauricerickard.com>
@mrickard mrickard added the dev:automation Indicates CI automation label Oct 16, 2024
Signed-off-by: mrickard <maurice@mauricerickard.com>
$count = 0
$seconds = 30
while($count -lt 10) {
$seconds = ($seconds * $count)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bizob2828 This adds a progressively increasing delay.

@mrickard mrickard merged commit e412020 into newrelic:main Oct 22, 2024
15 checks passed
@github-actions github-actions bot mentioned this pull request Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dev:automation Indicates CI automation
Projects
Status: Done: Issues recently completed
Development

Successfully merging this pull request may close these issues.

Auto publishing for Azure site extension happens before agent is available
2 participants