Skip to content

Instantly share code, notes, and snippets.

@alchen99
Last active January 14, 2021 20:51
Show Gist options
  • Save alchen99/1668ed8bc5a8e7db91a945c7da18a3ff to your computer and use it in GitHub Desktop.
Save alchen99/1668ed8bc5a8e7db91a945c7da18a3ff to your computer and use it in GitHub Desktop.
Spinnaker Legacy Artifacts Pipeline Definition (before 1.21)
{
"description": "Artifacts created with legacy artifacts UI (less than 1.19) ",
"expectedArtifacts": [
{
"defaultArtifact": {
"artifactAccount": "alchen99-git-helm-repo",
"id": "6f653e58-8d6c-4cb6-a10b-30fd08108ea6",
"name": "colors",
"type": "helm/chart",
"version": "0.1.3"
},
"displayName": "rude-lionfish-41",
"id": "05024442-ff0f-453f-8e2f-c5e7863d2f00",
"matchArtifact": {
"artifactAccount": "alchen99-git-helm-repo",
"id": "a9a7508e-9f75-4fb3-bc18-160f03a7ebe4",
"name": "colors",
"type": "helm/chart",
"version": "0.1.3"
},
"useDefaultArtifact": true,
"usePriorArtifact": false
},
{
"defaultArtifact": {
"artifactAccount": "github",
"id": "d4eb6e04-3e30-42b2-abc9-1fea69021f70",
"name": "helm/samples/apple/values.yaml",
"reference": "https://api.github.com/repos/alchen99/k8-samples/contents/helm/samples/apple/values.yaml",
"type": "github/file",
"version": "master"
},
"displayName": "soft-gecko-98",
"id": "088941c8-6b36-487e-a20f-b72a984a787c",
"matchArtifact": {
"artifactAccount": "github",
"id": "bb8262ef-806d-48ab-b5a4-f918ccf64cf1",
"name": "helm/samples/colors/values.yaml",
"type": "github/file"
},
"useDefaultArtifact": true,
"usePriorArtifact": false
}
],
"keepWaitingPipelines": false,
"lastModifiedBy": "admin",
"limitConcurrent": true,
"spelEvaluator": "v4",
"stages": [
{
"inputArtifacts": [
{
"account": "alchen99-git-helm-repo",
"artifact": null,
"id": "05024442-ff0f-453f-8e2f-c5e7863d2f00"
},
{
"account": "github",
"artifact": null,
"id": "088941c8-6b36-487e-a20f-b72a984a787c"
}
],
"isNew": true,
"name": "Bake (Manifest)",
"namespace": "colors-dev",
"outputName": "colors219",
"overrides": {},
"refId": "1",
"requisiteStageRefIds": [],
"templateRenderer": "HELM2",
"type": "bakeManifest"
}
],
"triggers": [],
"updateTs": "1610652926000"
}
@alchen99
Copy link
Author

This definition is still compatible with the 1.22.x version of Spinnaker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment