Skip to content

Commit b125637

Browse files
merllElderMattsvcAPLBot
authored
chore: removed drone (#844)
Co-authored-by: ElderMatt <[email protected]> Co-authored-by: svcAPLBot <[email protected]>
1 parent f148dc6 commit b125637

File tree

11 files changed

+4
-53
lines changed

11 files changed

+4
-53
lines changed

src/api.authz.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ describe('API authz tests', () => {
7979
.put('/v1/settings/alerts')
8080
.send({
8181
alerts: {
82-
drone: ['msteams'],
8382
groupInterval: '5m',
8483
msteams: { highPrio: 'bla', lowPrio: 'bla' },
8584
receivers: ['slack'],

src/app.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import { extract, getPaths, getValuesSchema } from 'src/utils'
2424
import {
2525
CHECK_LATEST_COMMIT_INTERVAL,
2626
cleanEnv,
27-
DRONE_WEBHOOK_SECRET,
2827
EXPRESS_PAYLOAD_LIMIT,
2928
GIT_PASSWORD,
3029
GIT_PUSH_RETRIES,
@@ -35,7 +34,6 @@ import giteaCheckLatest from './gitea/connect'
3534
import { getBuildStatus, getSealedSecretStatus, getServiceStatus, getWorkloadStatus } from './k8s_operations'
3635

3736
const env = cleanEnv({
38-
DRONE_WEBHOOK_SECRET,
3937
CHECK_LATEST_COMMIT_INTERVAL,
4038
GIT_USER,
4139
GIT_PASSWORD,

src/openapi/app.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ AppList:
88
- argocd
99
- cert-manager
1010
- cnpg
11-
- drone
1211
- external-dns
1312
- gitea
1413
- grafana

src/openapi/definitions.yaml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -533,19 +533,6 @@ domainSuffix:
533533
$ref: '#/domain'
534534
title: Domain suffix
535535
description: The domain suffix for the cluster.
536-
droneGit:
537-
properties:
538-
clientID:
539-
$ref: '#/wordCharacterPattern'
540-
clientSecretValue:
541-
type: string
542-
x-acl:
543-
platformAdmin: [read-any, update-any]
544-
teamAdmin: []
545-
teamMember: []
546-
x-secret: true
547-
type: object
548-
required: [clientID, clientSecretValue]
549536
duration:
550537
description: 'Prometheus duration (See: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#configuration-file)'
551538
pattern: '((([0-9]+)y)?(([0-9]+)w)?(([0-9]+)d)?(([0-9]+)h)?(([0-9]+)m)?(([0-9]+)s)?(([0-9]+)ms)?|0)'

src/otomi-stack.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ describe('Workload values', () => {
366366
})
367367

368368
test('returns filtered apps if App array is submitted isPreinstalled flag is true', () => {
369-
const apps: App[] = [{ id: 'external-dns' }, { id: 'drone' }, { id: 'cnpg' }, { id: 'loki' }]
369+
const apps: App[] = [{ id: 'external-dns' }, { id: 'cnpg' }, { id: 'loki' }]
370370
jest.spyOn(otomiStack, 'getSettingsInfo').mockReturnValue({ otomi: { isPreInstalled: true } })
371371
const filteredApps = otomiStack.filterExcludedApp(apps)
372372
expect(filteredApps).toEqual([{ id: 'cnpg' }, { id: 'loki' }])

src/validators.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ export const VERSIONS = json({
2222
},
2323
})
2424
export const CUSTOM_ROOT_CA = str({ desc: 'The root CA used for certs', default: undefined })
25-
export const DRONE_WEBHOOK_SECRET = str({ desc: 'The drone secret to validate incoming webhooks', default: undefined })
2625
export const EDITOR_INACTIVITY_TIMEOUT = num({
2726
desc: 'Inactivity timeout in days after which editor session is removed to clean mem',
2827
default: 1,
@@ -62,7 +61,7 @@ export const TOOLS_HOST = str({ desc: 'The host of the tools server', default: '
6261
export const PREINSTALLED_EXCLUDED_APPS = json({
6362
desc: 'Applications that are managed by Linode, so they should be excluded from the apps page',
6463
default: {
65-
apps: ['cert-manager', 'minio', 'velero', 'drone', 'external-dns'],
64+
apps: ['cert-manager', 'minio', 'velero', 'external-dns'],
6665
},
6766
})
6867
export const HIDDEN_APPS = json({

test/core.yaml

Lines changed: 2 additions & 24 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
@@ -33,13 +29,13 @@ k8s:
3329
- name: istio-system
3430
disableIstioInjection: true
3531
labels:
36-
"apl.io/ingress-controller-scope": "true"
32+
'apl.io/ingress-controller-scope': 'true'
3733
- name: ingress
3834
# disabling istio sidecar as it does not preserve client ip (yet)
3935
# TODO: enable once it does
4036
disableIstioInjection: true
4137
labels:
42-
"apl.io/ingress-controller-scope": "true"
38+
'apl.io/ingress-controller-scope': 'true'
4339
- name: jaeger
4440
app: jaeger
4541
- name: jaeger-operator
@@ -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

test/env/apps/drone.yaml

Whitespace-only changes.

test/env/apps/secrets.drone.yaml

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

test/env/settings.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
alerts:
2-
drone:
3-
- slack
42
groupInterval: 5m
53
receivers:
64
- slack

0 commit comments

Comments
 (0)