Skip to content

Commit e74de0e

Browse files
authored
Remove unused evergreen functions (#615)
# Summary Remove unused evergreen functions. ## Proof of Work Passing CI ## Checklist - [ ] Have you linked a jira ticket and/or is the ticket in the title? - [ ] Have you checked whether your jira ticket required DOCSP changes? - [ ] Have you added changelog file? - use `skip-changelog` label if not needed - refer to [Changelog files and Release Notes](https://github.com/mongodb/mongodb-kubernetes/blob/master/CONTRIBUTING.md#changelog-files-and-release-notes) section in CONTRIBUTING.md for more details
1 parent 27666ba commit e74de0e

File tree

4 files changed

+0
-205
lines changed

4 files changed

+0
-205
lines changed

.evergreen-functions.yml

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -396,29 +396,6 @@ functions:
396396
- bin
397397
binary: scripts/evergreen/e2e/dump_diagnostic_information_from_all_namespaces.sh
398398

399-
### Publish and release image ###
400-
401-
# Tags and pushes an image into an external Docker registry. The source image
402-
# needs to exist before it can be pushed to a remote registry.
403-
# It is expected that IMAGE_SOURCE is accessible with no authentication (like a
404-
# local image), and the IMAGE_TARGET will be authenticated with DOCKER_* series of
405-
# environment variables.
406-
release_docker_image_to_registry:
407-
- command: subprocess.exec
408-
type: system
409-
params:
410-
working_dir: src/github.com/mongodb/mongodb-kubernetes
411-
add_to_path:
412-
- ${workdir}/bin
413-
include_expansions_in_env:
414-
- tag_source
415-
- tag_dest
416-
- image_source
417-
- image_target
418-
- docker_username
419-
- docker_password
420-
binary: scripts/evergreen/tag_push_docker_image.sh
421-
422399
#
423400
# Performs some AWS cleanup
424401
#
@@ -431,33 +408,6 @@ functions:
431408
- ${workdir}/bin
432409
command: scripts/evergreen/prepare_aws.sh
433410

434-
build-dockerfiles:
435-
- command: subprocess.exec
436-
type: setup
437-
params:
438-
add_to_path:
439-
- ${workdir}/bin
440-
working_dir: src/github.com/mongodb/mongodb-kubernetes
441-
binary: scripts/dev/run_python.sh scripts/update_supported_dockerfiles.py
442-
- command: subprocess.exec
443-
type: setup
444-
params:
445-
working_dir: src/github.com/mongodb/mongodb-kubernetes
446-
include_expansions_in_env:
447-
- triggered_by_git_tag
448-
# if you ever change the target folder structure, the same needs to be reflected in PCT
449-
command: "tar -czvf ./public/dockerfiles-${triggered_by_git_tag}.tgz ./public/dockerfiles"
450-
451-
enable_QEMU:
452-
- command: shell.exec
453-
type: setup
454-
params:
455-
shell: bash
456-
working_dir: src/github.com/mongodb/mongodb-kubernetes
457-
script: |
458-
echo "Enabling QEMU building for Docker"
459-
docker run --rm --privileged 268558157000.dkr.ecr.eu-west-1.amazonaws.com/docker-hub-mirrors/multiarch/qemu-user-static --reset -p yes
460-
461411
# upload_e2e_logs has the responsibility of dumping as much information as
462412
# possible into the S3 bucket that corresponds to this ${version}. The
463413
# Kubernetes cluster where the test finished running, should still be

Makefile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -403,11 +403,6 @@ bundle: manifests kustomize
403403
bundle-build:
404404
docker build $(EXPIRES) --platform linux/amd64 -f ./bundle/$(VERSION)/bundle.Dockerfile -t $(BUNDLE_IMG) .
405405

406-
.PHONY: dockerfiles
407-
dockerfiles:
408-
python scripts/update_supported_dockerfiles.py
409-
tar -czvf ./public/dockerfiles-$(VERSION).tgz ./public/dockerfiles
410-
411406
prepare-local-e2e: reset-mco # prepares the local environment to run a local operator
412407
scripts/dev/prepare_local_e2e_run.sh
413408

scripts/evergreen/tag_push_docker_image.sh

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

scripts/update_supported_dockerfiles.py

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

0 commit comments

Comments
 (0)