Skip to content
New issue

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

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

Already on GitHub? # to your account

Validate CD Step at Run instead of Validate #519

Closed

Conversation

RoboticPrism
Copy link
Contributor

Summary:
Because TTPForge runs validations on TTP load, and we validate our target directory in the Validate action, the CD step will validate the existence of its target directory at TTP load. This means that if you create your target directory as part of your TTP, your CD step will fail because the directory does not exist yet.

By moving the check to the run step, we will now hold off on validating the directory's existence until the CD step is run, allowing previous steps to create the target directory.

Differential Revision: D65831540

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D65831540

@TTPForge-bot TTPForge-bot added the area/go Changes made to go resources label Nov 13, 2024
Summary:

Because TTPForge runs validations on TTP load, and we validate our target directory in the Validate action, the CD step will validate the existence of its target directory at TTP load.  This means that if you create your target directory as part of your TTP, your CD step will fail because the directory does not exist yet.

By moving the check to the run step, we will now hold off on validating the directory's existence until the CD step is run, allowing previous steps to create the target directory.

Reviewed By: inesusvet

Differential Revision: D65831540
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D65831540

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 102c30c.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants