Skip to content

Commit 006623a

Browse files
authored
CLOUDP-341834: Remove copybara from release (#4171)
1 parent 489d766 commit 006623a

File tree

4 files changed

+0
-212
lines changed

4 files changed

+0
-212
lines changed

build/ci/copy.bara.sky.template

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

build/ci/evergreen.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1705,9 +1705,6 @@ git_tag_aliases:
17051705
- git_tag: "atlascli/v*"
17061706
variant: "^release_atlascli"
17071707
task: ".*"
1708-
- git_tag: "atlascli/v*"
1709-
variant: "^copybara"
1710-
task: ".*"
17111708
github_checks_aliases:
17121709
- variant: ".*"
17131710
task: ".*"

build/ci/release.yml

Lines changed: 0 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -299,41 +299,6 @@ functions:
299299
- mongo_repo
300300
working_dir: src/github.com/mongodb/mongodb-atlas-cli/build/package/docker/repo
301301
binary: ./docker-build.sh
302-
"build-copybara":
303-
- command: subprocess.exec
304-
params:
305-
<<: *go_options
306-
binary: git
307-
args:
308-
- clone
309-
- --depth=1
310-
- https://github.com/google/copybara
311-
- ${workdir}/copybara
312-
- command: subprocess.exec
313-
params:
314-
<<: *go_options
315-
binary: docker
316-
args:
317-
- build
318-
- -t
319-
- google/copybara
320-
- ${workdir}/copybara
321-
"run-copybara":
322-
- command: shell.exec
323-
params:
324-
<<: *go_options
325-
env:
326-
<<: *go_env
327-
TAG: ${tag}
328-
GH_TOKEN: ${gh_token}
329-
WORKFLOW: ${workflow}
330-
EVERGREEN_USER: ${evergreen_user}
331-
EVERGREEN_API_KEY: ${evergreen_api_key}
332-
DOCS_SLACK_CHANNEL: ${docs_slack_channel}
333-
working_dir: src/github.com/mongodb/mongodb-atlas-cli/build/ci
334-
shell: bash
335-
script: |
336-
./run-copybara.sh
337302
"create-windows-host":
338303
- command: host.create
339304
params:
@@ -489,30 +454,6 @@ tasks:
489454
- func: "powershell build"
490455
vars:
491456
file: windows_post_package_test
492-
- name: copybara
493-
depends_on:
494-
- name: package_goreleaser
495-
variant: release_atlascli_github
496-
commands:
497-
- func: "build-copybara"
498-
- command: github.generate_token
499-
params:
500-
expansion_name: docs_atlas_cli_token
501-
owner: 10gen
502-
repo: docs-mongodb-internal
503-
- func: "run-copybara"
504-
vars:
505-
gh_token: ${docs_atlas_cli_token}
506-
workflow: docs-mongodb-internal
507-
- command: github.generate_token
508-
params:
509-
expansion_name: cloud_docs_token
510-
owner: 10gen
511-
repo: cloud-docs
512-
- func: "run-copybara"
513-
vars:
514-
gh_token: ${cloud_docs_token}
515-
workflow: cloud-docs
516457
buildvariants:
517458
- name: goreleaser_atlascli_snapshot
518459
display_name: "Packaging AtlasCLI (goreleaser)"
@@ -550,17 +491,6 @@ buildvariants:
550491
meta_package_name: "mongodb-atlas"
551492
tasks:
552493
- name: package_goreleaser
553-
- name: copybara
554-
display_name: "Copybara"
555-
git_tag_only: true
556-
tags:
557-
- foliage_health
558-
run_on:
559-
- ubuntu2404-small
560-
expansions:
561-
<<: *go_linux_version
562-
tasks:
563-
- name: copybara
564494
- name: release_atlascli_publish
565495
display_name: "Publish AtlasCLI Generator"
566496
run_on:

build/ci/run-copybara.sh

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

0 commit comments

Comments
 (0)