Skip to content

Commit

Permalink
CLOUDP-239849: remove unused podman struct fields (#2813)
Browse files Browse the repository at this point in the history
  • Loading branch information
tibulca authored Mar 28, 2024
1 parent 316736d commit 80d8b7f
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 698 deletions.
21 changes: 12 additions & 9 deletions build/ci/evergreen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1075,6 +1075,8 @@ tasks:
E2E_PARALLEL: 16
- name: atlas_deployments_local_noauth_e2e
tags: ["e2e","deployments","local","noauth"]
# This test will be enabled in CLOUDP-237038
patch_only: true
must_have_test_results: true
exec_timeout_secs: 11400 # 3 hours 10 minutes
depends_on:
Expand Down Expand Up @@ -1107,6 +1109,8 @@ tasks:
E2E_TIMEOUT: 3h
- name: atlas_deployments_local_auth_e2e
tags: ["e2e","deployments","local","auth"]
# This test will be enabled in CLOUDP-237038
patch_only: true
must_have_test_results: true
exec_timeout_secs: 11400 # 3 hours 10 minutes
depends_on:
Expand Down Expand Up @@ -1280,14 +1284,13 @@ buildvariants:
<<: *go_linux_version
tasks:
- name: ".e2e .deployments .atlas"
# This variant will be enabled in CLOUDP-237038
# - name: e2e_local_deployments
# display_name: "E2E Local Deployments Tests"
# run_on:
# - rhel80-small
# expansions:
# <<: *go_linux_version
# tasks:
# - name: ".e2e .deployments .local"
- name: e2e_local_deployments
display_name: "E2E Local Deployments Tests"
run_on:
- rhel80-small
expansions:
<<: *go_linux_version
tasks:
- name: ".e2e .deployments .local"
include:
- filename: build/ci/release.yml
2 changes: 2 additions & 0 deletions internal/cli/deployments/options/deployment_opts_select.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import (
"strings"

"github.com/AlecAivazis/survey/v2"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/log"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/podman"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/telemetry"
"github.com/mongodb/mongodb-atlas-cli/atlascli/internal/usage"
Expand All @@ -35,6 +36,7 @@ var errDeploymentRequiredOnPipe = fmt.Errorf("deployment name is required when
func (opts *DeploymentOpts) findMongoDContainer(ctx context.Context) (*podman.InspectContainerData, error) {
containers, err := opts.PodmanClient.ContainerInspect(ctx, opts.LocalMongodHostname())
if err != nil {
_, _ = log.Debugf("Error: failed to retrieve Local deployments because %q\n", err.Error())
return nil, fmt.Errorf("%w: %s", ErrDeploymentNotFound, opts.DeploymentName)
}

Expand Down
Loading

0 comments on commit 80d8b7f

Please sign in to comment.