Skip to content

Commit

Permalink
adding back release steps for 1p helm chart
Browse files Browse the repository at this point in the history
  • Loading branch information
rashmichandrashekar committed Jan 9, 2024
1 parent b310a67 commit cb4ffbb
Show file tree
Hide file tree
Showing 4 changed files with 262 additions and 124 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
{
"$schema": "http://schema.express.azure.com/schemas/2015-01-01-alpha/RolloutParameters.json",
"contentVersion": "1.0.0.0",
"wait": [
{
"name": "waitSdpBakeTime",
"properties": {
"duration": "PT24H"
}
}
],
"shellExtensions": [
{
"name": "PushAgentToACR",
"type": "ShellExtensionType",
"properties": {
"maxexecutiontime": "PT1H"
},
"package": {
"reference": {
"path": "artifacts.tar.gz"
}
},
"launch": {
"command": [
"/bin/bash",
"pushChartToAcr.sh"
],
"environmentVariables": [
{
"name": "ACR_REGISTRY",
"value": "__ACR_REGISTRY__"
},
{
"name": "PROD_ACR_REPOSITORY",
"value": "__PROD_ACR_CHART_REPOSITORY__"
},
{
"name": "MCR_REGISTRY",
"value": "__MCR_REGISTRY__"
},
{
"name": "MCR_REPOSITORY",
"value": "__PROD_MCR_CHART_REPOSITORY__"
},
{
"name": "PROD_MCR_REPOSITORY",
"value": "__PROD_MCR_CHART_REPOSITORY__"
},
{
"name": "MCR_REPOSITORY_HELM_DEPENDENCIES",
"value": "__PROD_MCR_REPOSITORY_HELM_DEPENDENCIES__"
},
{
"name": "IMAGE_TAG",
"value": "__LINUX_TAG__"
},
{
"name": "IMAGE_TAG_WINDOWS",
"value": "__WINDOWS_TAG__"
},
{
"name": "HELM_SEMVER",
"value": "__CHART_TAG__"
},
{
"name": "HELM_CHART_NAME",
"value": "__HELM_CHART_NAME__"
},
{
"name": "PROD_MCR_KSM_REPOSITORY",
"value": "__PROD_MCR_KSM_REPOSITORY__"
},
{
"name": "KSM_CHART_TAG",
"value": "__KSM_CHART_TAG__"
},
{
"name": "PROD_MCR_NE_REPOSITORY",
"value": "__PROD_MCR_NE_REPOSITORY__"
},
{
"name": "NE_CHART_TAG",
"value": "__NE_CHART_TAG__"
}
],
"identity": {
"type": "userAssigned",
"userAssignedIdentities": [
"__MANAGED_IDENTITY__"
]
}
}
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -22,50 +22,83 @@
"name": "PushLinuxAgent",
"targetType": "ServiceResource",
"targetName": "PushLinuxAgent",
"actions": [ "Shell/PushAgentToACR" ],
"dependsOn": [ ]
"actions": [
"Shell/PushAgentToACR"
],
"dependsOn": []
},
{
"name": "PushWindowsAgent",
"targetType": "ServiceResource",
"targetName": "PushWindowsAgent",
"actions": [ "Shell/PushAgentToACR" ],
"dependsOn": [ ]
"actions": [
"Shell/PushAgentToACR"
],
"dependsOn": []
},
{
"name": "PushTargetAllocator",
"targetType": "ServiceResource",
"targetName": "PushTargetAllocator",
"actions": [ "Shell/PushAgentToACR" ],
"dependsOn": [ ]
"actions": [
"Shell/PushAgentToACR"
],
"dependsOn": []
},
{
"name": "PushConfigReader",
"targetType": "ServiceResource",
"targetName": "PushConfigReader",
"actions": [ "Shell/PushAgentToACR" ],
"dependsOn": [ ]
"actions": [
"Shell/PushAgentToACR"
],
"dependsOn": []
},
{
"name": "PushKSMChart",
"targetType": "ServiceResource",
"targetName": "PushKSMChart",
"actions": [ "Shell/PushAgentToACR" ],
"dependsOn": [ ]
"actions": [
"Shell/PushAgentToACR"
],
"dependsOn": []
},
{
"name": "PushNEChart",
"targetType": "ServiceResource",
"targetName": "PushNEChart",
"actions": [ "Shell/PushAgentToACR" ],
"dependsOn": [ ]
"actions": [
"Shell/PushAgentToACR"
],
"dependsOn": []
},
{
"name": "Push1PHelmChart",
"targetType": "ServiceResource",
"targetName": "Push1PHelmChart",
"actions": [
"Shell/PushAgentToACR"
],
"dependsOn": [
"PushLinuxAgent",
"PushWindowsAgent",
"PushKSMChart",
"PushNEChart"
]
},
{
"name": "PushARCHelmChart",
"targetType": "ServiceResource",
"targetName": "PushARCHelmChart",
"actions": [ "Shell/PushAgentToACR" ],
"dependsOn": [ "PushLinuxAgent", "PushWindowsAgent", "PushKSMChart", "PushNEChart" ]
"actions": [
"Shell/PushAgentToACR"
],
"dependsOn": [
"PushLinuxAgent",
"PushWindowsAgent",
"PushKSMChart",
"PushNEChart"
]
}
]
}
Loading

0 comments on commit cb4ffbb

Please sign in to comment.