Skip to content

add script to backup csv #240

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft
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
51 changes: 51 additions & 0 deletions .evergreen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,46 @@ tasks:
variant: prepare_openshift_bundles
task: prepare_and_upload_openshift_bundles

- name: backup_csv_images_dry_run
commands:
- func: clone
- func: quay_login
- command: subprocess.exec
params:
working_dir: src/github.com/mongodb/mongodb-kubernetes
binary: python3
args:
- scripts/dev/release/backup_csv_images.py
- scripts/dev/release/1.2.0.clusterserviceversion.yaml
- --dry-run
- --verbose
- name: backup_csv_images_limit_3
commands:
- func: clone
- func: quay_login
- command: subprocess.exec
params:
working_dir: src/github.com/mongodb/mongodb-kubernetes
binary: python3
args:
- scripts/dev/release/backup_csv_images.py
- scripts/dev/release/1.2.0.clusterserviceversion.yaml
- --limit
- "3"
- --verbose
- name: backup_csv_images_all
commands:
- func: clone
- func: quay_login
- command: subprocess.exec
params:
working_dir: src/github.com/mongodb/mongodb-kubernetes
binary: python3
args:
- scripts/dev/release/backup_csv_images.py
- scripts/dev/release/1.2.0.clusterserviceversion.yaml
- --verbose

task_groups:
- name: unit_task_group
max_hosts: -1
Expand Down Expand Up @@ -1202,6 +1242,17 @@ task_groups:

buildvariants:

## Backup CSV Images Variant
- name: backup_csv_images
display_name: "Backup CSV Images"
tags: [ "release_csv_backup" ]
run_on:
- ubuntu2204-large
tasks:
- name: backup_csv_images_dry_run
- name: backup_csv_images_limit_3
- name: backup_csv_images_all

## Unit tests + lint build variant

- name: unit_tests
Expand Down
Loading