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

fix(rosco) Make baked artifacts adhere to the proposed standard #222

Merged

Conversation

brujoand
Copy link
Contributor

This should make the artifacts created in Rosco follow the same standard as those created in Orca (spinnaker/orca#1441)

@@ -28,4 +28,7 @@ class Artifact {
String version
String reference
Map<String, String> metadata
String auth
Copy link
Member

Choose a reason for hiding this comment

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

This should be using the kork-artifacts package instead of recreating this here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Cool, I hadn't seen the kork-artifacts. Fixing

Artifact bakedArtifact = new Artifact(
name: bakeRecipe?.name,
version: bakeRecipe?.version,
type: cloudProvider,
type: "${cloudProvider}/image/${region}",
Copy link
Member

Choose a reason for hiding this comment

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

We're relying on the location field in the artifact definition for region

@brujoand brujoand force-pushed the adapt_created_artifacts_to_orcas_standard branch from 6ae5baf to 93e070a Compare October 13, 2017 08:24
@brujoand
Copy link
Contributor Author

Now using the kork-artifacts for increased DRYness.

@brujoand brujoand force-pushed the adapt_created_artifacts_to_orcas_standard branch from 93e070a to ccc6e94 Compare October 24, 2017 07:01
@brujoand
Copy link
Contributor Author

@lwander anything else we need to merge this?

Copy link

@duftler duftler left a comment

Choose a reason for hiding this comment

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

LGTM.

@duftler duftler merged commit 858cf33 into spinnaker:master Nov 2, 2017
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