Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
50 changes: 0 additions & 50 deletions .evergreen-functions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -396,29 +396,6 @@ functions:
- bin
binary: scripts/evergreen/e2e/dump_diagnostic_information_from_all_namespaces.sh

### Publish and release image ###

# Tags and pushes an image into an external Docker registry. The source image
# needs to exist before it can be pushed to a remote registry.
# It is expected that IMAGE_SOURCE is accessible with no authentication (like a
# local image), and the IMAGE_TARGET will be authenticated with DOCKER_* series of
# environment variables.
release_docker_image_to_registry:
- command: subprocess.exec
type: system
params:
working_dir: src/github.com/mongodb/mongodb-kubernetes
add_to_path:
- ${workdir}/bin
include_expansions_in_env:
- tag_source
- tag_dest
- image_source
- image_target
- docker_username
- docker_password
binary: scripts/evergreen/tag_push_docker_image.sh

#
# Performs some AWS cleanup
#
Expand All @@ -431,33 +408,6 @@ functions:
- ${workdir}/bin
command: scripts/evergreen/prepare_aws.sh

build-dockerfiles:
- command: subprocess.exec
type: setup
params:
add_to_path:
- ${workdir}/bin
working_dir: src/github.com/mongodb/mongodb-kubernetes
binary: scripts/dev/run_python.sh scripts/update_supported_dockerfiles.py
- command: subprocess.exec
type: setup
params:
working_dir: src/github.com/mongodb/mongodb-kubernetes
include_expansions_in_env:
- triggered_by_git_tag
# if you ever change the target folder structure, the same needs to be reflected in PCT
command: "tar -czvf ./public/dockerfiles-${triggered_by_git_tag}.tgz ./public/dockerfiles"

enable_QEMU:
- command: shell.exec
type: setup
params:
shell: bash
working_dir: src/github.com/mongodb/mongodb-kubernetes
script: |
echo "Enabling QEMU building for Docker"
docker run --rm --privileged 268558157000.dkr.ecr.eu-west-1.amazonaws.com/docker-hub-mirrors/multiarch/qemu-user-static --reset -p yes

# upload_e2e_logs has the responsibility of dumping as much information as
# possible into the S3 bucket that corresponds to this ${version}. The
# Kubernetes cluster where the test finished running, should still be
Expand Down
5 changes: 0 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -403,11 +403,6 @@ bundle: manifests kustomize
bundle-build:
docker build $(EXPIRES) --platform linux/amd64 -f ./bundle/$(VERSION)/bundle.Dockerfile -t $(BUNDLE_IMG) .

.PHONY: dockerfiles
dockerfiles:
python scripts/update_supported_dockerfiles.py
tar -czvf ./public/dockerfiles-$(VERSION).tgz ./public/dockerfiles

prepare-local-e2e: reset-mco # prepares the local environment to run a local operator
scripts/dev/prepare_local_e2e_run.sh

Expand Down
38 changes: 0 additions & 38 deletions scripts/evergreen/tag_push_docker_image.sh

This file was deleted.

112 changes: 0 additions & 112 deletions scripts/update_supported_dockerfiles.py

This file was deleted.