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

Allow deploy agent run serverless on existing build #1350

Merged
merged 5 commits into from
Nov 28, 2023
Merged

Conversation

ntascii
Copy link
Contributor

@ntascii ntascii commented Nov 22, 2023

Summary

We can reproduce end to end deployment flow with an existing build on the host.
Add a flag to specify the starting deploy stage so we can skip downloading.
I will use it to POC running multiple deploy agents on a host. This can be used for testing telefig configs and deployment scripts as well.

Test plan

Added UT
Ran on devapp and a sample host.
bazel-bin/deployd/deploy-agent -e prod -f /etc/deployagent.conf --use-facter --mode serverless --build "{\"build_branch\": \"master\",\"build_name\": \"beacon\",\"build_commit\": \"bfb061eb8f0031fb26d373b34787ff0b389a6315\"}" --env-name beacon --deploy-stage PRE_RESTART

@ntascii ntascii requested a review from a team as a code owner November 22, 2023 20:31
@gzpcho
Copy link
Contributor

gzpcho commented Nov 27, 2023

Ran on devapp and a sample host.

Can you share the command(s) you used?

@ntascii ntascii merged commit 20fa012 into master Nov 28, 2023
6 checks passed
@ntascii ntascii deleted the anhn/serverless branch November 28, 2023 19:16
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