Skip to content

Commit 4c0bfda

Browse files
merllsvcAPLBot
andauthored
chore: remove drone (#679)
* chore: removed drone * chore: removed unused import * chore: removed outdated references to e2e --------- Co-authored-by: svcAPLBot <[email protected]>
1 parent 0763974 commit 4c0bfda

File tree

5 files changed

+1
-51
lines changed

5 files changed

+1
-51
lines changed

bin/dc.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ sub_help() {
1212
echo " up Start standalone docker-compose version of web without dependent services $info"
1313
echo " up-deps Start docker-compose version of only dependent services $info"
1414
echo " down Stop and clean docker-compose containers"
15-
echo " e2e Run e2e tests in docker-compose against running dev server"
16-
echo " e2e-ci Run e2e tests in docker-compose in CI"
1715
}
1816

1917
sub_up() {

core.yaml

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@ k8s:
1313
- name: default
1414
disableIstioInjection: true
1515
disablePolicyChecks: true
16-
- name: drone
17-
- name: drone-pipelines
18-
disableIstioInjection: true
19-
disablePolicyChecks: true
2016
- name: external-dns
2117
disableIstioInjection: true
2218
- name: harbor
@@ -141,24 +137,6 @@ adminApps:
141137
tags: [ingress, security, tls]
142138
- name: cnpg
143139
tags: [database]
144-
- name: drone
145-
tags: [cicd, deployment, pipeline]
146-
isShared: true
147-
ownHost: true
148-
ingress:
149-
- svc: drone
150-
namespace: drone
151-
type: public
152-
auth: true
153-
removeRequestHeaders:
154-
- authorization
155-
- svc: drone
156-
namespace: drone
157-
type: public
158-
paths: [/hook, /api/user, /api/repo]
159-
forwardPath: true
160-
removeRequestHeaders:
161-
- authorization
162140
- name: tty
163141
tags: [tty]
164142
isShared: true

public/i18n/en/common.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"CREATE_MODEL_FOR_TEAM": "Create a {{model}} for team {{teamName}}",
77
"DELETE_RESOURCE": "Delete {{resourceName}} {{resourceType}}?",
88
"DELETE_RESOURCE_CONFIRMATION": "Type the name of the {{resourceType}} (\"{{resourceName}}\") to confirm.",
9-
"DRONE_MESSAGE": "Drone <1>build {{id}}</1> <strong>{{status}}</strong> for commit <6>{{sha}}</6> at {{datetime}}.",
109
"Dashboard": "Dashboard",
1110
"Deploy changes": "Deploy changes",
1211
"FORM_ABOUT": "About {{title}}",

public/logos/drone_logo.svg

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/components/App.tsx

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import TableContainer from '@mui/material/TableContainer'
66
import TableRow from '@mui/material/TableRow'
77
import { getSpec } from 'common/api-spec'
88
import { JSONSchema7 } from 'json-schema'
9-
import { cloneDeep, get, isEqual, set, unset } from 'lodash'
9+
import { cloneDeep, isEqual, set, unset } from 'lodash'
1010
import { CrudProps, ValuesSchema } from 'pages/types'
1111
import React, { useEffect, useState } from 'react'
1212
import Helmet from 'react-helmet'
@@ -120,20 +120,6 @@ export const getAppUiSchema = (appsEnabled: Record<string, any>, appId: string,
120120
set(uiSchema, 'customRootCA.ui:widget', 'TextareaWidget')
121121
}
122122
break
123-
case 'drone':
124-
const provider = get(formData, 'sourceControl.provider')
125-
if (!provider) {
126-
set(uiSchema, 'adminUser.ui:widget', 'hidden')
127-
set(uiSchema, 'adminToken.ui:widget', 'hidden')
128-
set(uiSchema, 'orgsFilter.ui:widget', 'hidden')
129-
set(uiSchema, 'repo.ui:widget', 'hidden')
130-
set(uiSchema, 'repoFilter.ui:widget', 'hidden')
131-
}
132-
if (provider !== 'github') {
133-
set(uiSchema, 'githubAdmins.ui:widget', 'hidden')
134-
set(uiSchema, 'sharedSecret.ui:widget', 'hidden')
135-
}
136-
break
137123
case 'gitea':
138124
set(uiSchema, 'adminPassword.ui:widget', 'hidden')
139125
set(uiSchema, 'postgresqlPassword.ui:widget', 'hidden')

0 commit comments

Comments
 (0)