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

Added the missing support for creating custom resources #1082

Conversation

iulianbarbu
Copy link
Contributor

@iulianbarbu iulianbarbu commented Jul 11, 2023

Description of change

The shuttle-common::resource::Type misses the Type::Custom variant that gets to be used when provisioning custom resources according to the service crate docs.

How has this been tested? (if applicable)

Locally against shuttle-hq/shuttle-examples#73 and on unstable.

@iulianbarbu iulianbarbu force-pushed the feature/eng-700-resources-missing-custom-resource-enum-variant branch from 0db2eb2 to e4199f6 Compare July 12, 2023 08:08
@jonaro00 jonaro00 added the XS label Jul 15, 2023
Copy link
Contributor

@chesedo chesedo left a comment

Choose a reason for hiding this comment

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

Left a suggestion for what we can output.

We should also update the resource recorder that just got merged

common/src/models/resource.rs Show resolved Hide resolved
common/src/models/resource.rs Outdated Show resolved Hide resolved
@iulianbarbu iulianbarbu force-pushed the feature/eng-700-resources-missing-custom-resource-enum-variant branch from e4199f6 to a22480c Compare July 17, 2023 10:41
@iulianbarbu iulianbarbu force-pushed the feature/eng-700-resources-missing-custom-resource-enum-variant branch from 74f1f28 to 2826be1 Compare July 17, 2023 12:48
@iulianbarbu iulianbarbu merged commit 772805d into main Jul 18, 2023
iulianbarbu added a commit that referenced this pull request Jul 18, 2023
* common: added custom resource type enum variant

* deployer: add support for custom resources

* deployer: fix FromStr to resource::Type

* resource-recorder: add custom resource type

* docs: adjust docs to refer to custom-resource examples

* P review: remove comment until changing persist info is requested
AlphaKeks pushed a commit to AlphaKeks/shuttle that referenced this pull request Jul 21, 2023
)

* common: added custom resource type enum variant

* deployer: add support for custom resources

* deployer: fix FromStr to resource::Type

* resource-recorder: add custom resource type

* docs: adjust docs to refer to custom-resource examples

* P review: remove comment until changing persist info is requested
@jonaro00 jonaro00 deleted the feature/eng-700-resources-missing-custom-resource-enum-variant branch August 25, 2023 21:37
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.

3 participants