Skip to content

feat: rename deployment app type gitops to argo #790

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

Merged
merged 3 commits into from
Jun 26, 2025
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Common/Types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ export interface CommonNodeAttr extends Pick<MandatoryPluginBaseStateType, 'isTr

export enum DeploymentAppTypes {
HELM = 'helm',
GITOPS = 'argo_cd',
ARGO = 'argo_cd',
MANIFEST_DOWNLOAD = 'manifest_download',
MANIFEST_PUSH = 'manifest_push',
FLUX = 'flux_cd',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ const DeploymentStatusDetailBreakdown = ({
{(
[
TIMELINE_STATUS.GIT_COMMIT,
...(appDetails.deploymentAppType === DeploymentAppTypes.GITOPS ||
deploymentAppType === DeploymentAppTypes.GITOPS
...(appDetails.deploymentAppType === DeploymentAppTypes.ARGO ||
deploymentAppType === DeploymentAppTypes.ARGO
? [TIMELINE_STATUS.ARGOCD_SYNC, TIMELINE_STATUS.KUBECTL_APPLY]
: []),
] as DeploymentStatusDetailRowType['type'][]
Expand Down
2 changes: 1 addition & 1 deletion src/Shared/Components/CICDHistory/TriggerOutput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ const HistoryLogs: React.FC<HistoryLogsProps> = ({
deploymentAppType={deploymentAppType}
userApprovalMetadata={userApprovalMetadata}
isGitops={
deploymentAppType === DeploymentAppTypes.GITOPS ||
deploymentAppType === DeploymentAppTypes.ARGO ||
deploymentAppType === DeploymentAppTypes.FLUX ||
deploymentAppType === DeploymentAppTypes.MANIFEST_DOWNLOAD ||
deploymentAppType === DeploymentAppTypes.MANIFEST_PUSH
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const getDefaultDeploymentStatusTimeline = (
...commonProps,
displayText: 'Push manifest to Git',
},
...(deploymentAppType === DeploymentAppTypes.GITOPS
...(deploymentAppType === DeploymentAppTypes.ARGO
? {
[TIMELINE_STATUS.ARGOCD_SYNC]: {
...commonProps,
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ export interface customEnv {
* @default false
*/
FEATURE_FLUX_DEPLOYMENTS_ENABLE?: boolean
FEATURE_LINK_EXTERNAL_FLUX_ENABLE?: boolean
}
declare global {
interface Window {
Expand Down