Skip to content

Commit c7537de

Browse files
authored
Merge pull request #132 from circleci/ONPREM-2743/remove-helm-templates
[ONPREM-2743] - Remove Helm chart directory
2 parents 4ec58b6 + f2efc98 commit c7537de

File tree

163 files changed

+0
-19282
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

163 files changed

+0
-19282
lines changed

.circleci/config.yml

Lines changed: 0 additions & 131 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,6 @@ commands:
2929
steps:
3030
- setup_remote_docker
3131
- checkout
32-
install_packagecloud_cli:
33-
steps:
34-
- run:
35-
name: Install package_cloud
36-
command: |
37-
sudo apt-get update && sudo apt-get install ruby-rubygems -y
38-
sudo gem install --no-document package_cloud
3932

4033
jobs:
4134
# Images
@@ -140,69 +133,6 @@ jobs:
140133
MAJOR_VERSION: 7.0
141134
pwd: mongodb/7.0/debian-12
142135

143-
# Charts
144-
validate-charts:
145-
executor: deploy
146-
steps:
147-
- checkout
148-
- run:
149-
command: ./do kubeconform
150-
when: always
151-
- notify_failing_branch
152-
package-charts:
153-
executor: deploy
154-
steps:
155-
- checkout
156-
- run:
157-
name: Install signing keys
158-
command: |
159-
exec 2>/dev/null
160-
161-
echo "Importing signing keys"
162-
echo -n "${SIGNING_KEY_ENCODED}" | base64 --decode >signing_key_decoded.key
163-
gpg --batch --yes --passphrase "${SIGNING_KEY_PASSPHRASE}" --import signing_key_decoded.key
164-
rm signing_key_decoded.key
165-
curl https://keys.openpgp.org/vks/v1/by-fingerprint/"${GPG_ID}" >pub-key.asc
166-
gpg --import pub-key.asc
167-
rm pub-key.asc
168-
169-
echo "Convert to legacy gpg format per Helm requirements"
170-
gpg --export >~/.gnupg/pubring.gpg
171-
gpg --batch --yes --pinentry-mode=loopback --passphrase "${SIGNING_KEY_PASSPHRASE}" --export-secret-keys "${GPG_ID}" >~/.gnupg/secring.gpg
172-
- run:
173-
name: Package and sign chart
174-
command: |
175-
echo "${SIGNING_KEY_PASSPHRASE}" | ./do package-all-charts ./helm sign --passphrase-file -
176-
- persist_to_workspace:
177-
root: .
178-
paths: [./target]
179-
- notify_failing_branch
180-
check-version-bump:
181-
executor: deploy
182-
steps:
183-
- checkout
184-
- run:
185-
name: Check if charts changed and version is bumped accordingly
186-
command: ./do check-version-bump
187-
publish-chart:
188-
executor: deploy
189-
parameters:
190-
repo:
191-
type: string
192-
chart_name:
193-
type: string
194-
steps:
195-
- checkout
196-
- attach_workspace:
197-
at: .
198-
- install_packagecloud_cli
199-
- run:
200-
name: Publish Helm chart
201-
command: |
202-
package_cloud push circleci/<< parameters.repo >>/helm/v1 \
203-
./target/<< parameters.chart_name >>*.tgz
204-
- notify_failing_branch
205-
206136

207137
workflows:
208138
my-workflow:
@@ -272,70 +202,9 @@ workflows:
272202
- publish_postgresql
273203
- publish_redis
274204
- publish_mongodb
275-
- validate-charts
276205
promotion_component_list: "circleci/server-postgres circleci/server-rabbitmq circleci/server-redis"
277206
filters:
278207
branches:
279208
only:
280209
- main
281210
- /^server-\d\..+/
282-
283-
# Chart jobs
284-
- validate-charts
285-
- check-version-bump:
286-
context: runner-package-deploy
287-
- package-charts:
288-
context: releng-signing
289-
requires: [validate-charts, check-version-bump]
290-
# Mongo chart
291-
- approve-publish-mongo-chart:
292-
type: approval
293-
filters:
294-
branches:
295-
only: [main, /^server-\d\..+/]
296-
requires: [package-charts]
297-
- publish-chart:
298-
name: publish-mongo-chart
299-
repo: server-mongo
300-
chart_name: mongodb
301-
requires: [approve-publish-mongo-chart]
302-
context: runner-package-deploy
303-
# Postgres chart
304-
- approve-publish-postgres-chart:
305-
type: approval
306-
filters:
307-
branches:
308-
only: [main, /^server-\d\..+/]
309-
requires: [package-charts, scan_postgresql]
310-
- publish-chart:
311-
name: publish-postgres-chart
312-
repo: server-postgres
313-
chart_name: postgresql
314-
requires: [approve-publish-postgres-chart]
315-
context: runner-package-deploy
316-
# RabbitMQ chart
317-
- approve-publish-rabbitmq-chart:
318-
type: approval
319-
filters:
320-
branches:
321-
only: [main, /^server-\d\..+/]
322-
requires: [package-charts, scan_rabbitmq]
323-
- publish-chart:
324-
name: publish-rabbitmq-chart
325-
repo: server-rabbitmq
326-
chart_name: rabbitmq
327-
requires: [approve-publish-rabbitmq-chart]
328-
context: runner-package-deploy
329-
# Redis chart
330-
- approve-publish-redis-chart:
331-
type: approval
332-
filters:
333-
branches:
334-
only: [main, /^server-\d\..+/]
335-
requires: [package-charts, scan_redis]
336-
- publish-chart:
337-
name: publish-redis-chart
338-
repo: server-redis
339-
chart_name: redis
340-
requires: [approve-publish-redis-chart]
341-
context: runner-package-deploy

helm/common/v1/.helmignore

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

helm/common/v1/Chart.yaml

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

0 commit comments

Comments
 (0)