Skip to content

Validate runtime dependencies before doing deploy#1875

Merged
mr0re1 merged 1 commit into
GoogleCloudPlatform:developfrom
mr0re1:trust_but_verify
Oct 30, 2023
Merged

Validate runtime dependencies before doing deploy#1875
mr0re1 merged 1 commit into
GoogleCloudPlatform:developfrom
mr0re1:trust_but_verify

Conversation

@mr0re1

@mr0re1 mr0re1 commented Oct 25, 2023

Copy link
Copy Markdown
Collaborator

No description provided.

@mr0re1 mr0re1 requested a review from tpdownes October 25, 2023 04:14
@mr0re1 mr0re1 added the release-chore To not include into release notes label Oct 25, 2023
@tpdownes tpdownes changed the title Valdiate runtime dependencies before doing deploy Validate runtime dependencies before doing deploy Oct 25, 2023

@tpdownes tpdownes left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The technical implementation LGTM. I suggest we improve the error messages from

❯ ghpc deploy image-builder-001
Error: must have a copy of packer installed in PATH (detailed error below)
exec: "packer": executable file not found in $PATH
❯ ghpc deploy image-builder-001
Error: must have a copy of terraform installed in PATH (detailed error below)
exec: "terraform": executable file not found in $PATH

to

❯ ghpc deploy image-builder-001
Error: must have a copy of packer installed in PATH (obtain at https://packer.io)
exec: "packer": executable file not found in $PATH
❯ ghpc deploy image-builder-001
Error: must have a copy of terraform installed in PATH (obtain at https://terraform.io)
exec: "terraform": executable file not found in $PATH

@tpdownes tpdownes assigned mr0re1 and unassigned tpdownes Oct 30, 2023
@mr0re1 mr0re1 requested a review from tpdownes October 30, 2023 22:30
@mr0re1 mr0re1 enabled auto-merge (squash) October 30, 2023 22:30
@mr0re1 mr0re1 assigned tpdownes and unassigned mr0re1 Oct 30, 2023
@tpdownes tpdownes assigned mr0re1 and unassigned tpdownes Oct 30, 2023
@mr0re1 mr0re1 merged commit 0c4a863 into GoogleCloudPlatform:develop Oct 30, 2023
@mr0re1 mr0re1 deleted the trust_but_verify branch March 7, 2024 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-chore To not include into release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants