-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add cmd-buildextend-vultr to prepare a Vultr raw image
* Build a raw image with the Ignition provider set to vultr to correspond with coreos/ignition#918 * coreos/fedora-coreos-tracker#355
- Loading branch information
Showing
5 changed files
with
35 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
cmd-ore-wrapper |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
from tenacity import ( | ||
retry, | ||
stop_after_attempt | ||
) | ||
|
||
|
||
@retry(reraise=True, stop=stop_after_attempt(3)) | ||
def vultr_run_ore(build, args): | ||
""" | ||
Placeholder to upload a raw image to Vultr. | ||
""" | ||
pass | ||
|
||
|
||
def vultr_run_ore_replicate(*args, **kwargs): | ||
print("Images are not published to Vultr. This is a placeholder") | ||
|
||
|
||
def vultr_cli(parser): | ||
""" | ||
Extend a parser with the Vultr options | ||
""" | ||
return parser |