Skip to content
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

Update CLI e2e test engine to support CLI debug and add error handling for 404 errors on Get #2573

Merged
merged 15 commits into from
May 23, 2023

Conversation

danielbdias
Copy link
Contributor

This PR...

Changes

Fixes

Checklist

  • tested locally
  • added new dependencies
  • updated the docs
  • added a test

@danielbdias danielbdias force-pushed the add/cli-e2e-tests-to-environments branch from 530c941 to 1c79fa4 Compare May 23, 2023 18:10
Copy link
Contributor

@schoren schoren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks awesome, except there's a change that I think doesn't belong here

Comment on lines 94 to 97
if err != nil && errors.Is(err, sql.ErrNoRows) {
// this is a new environment, and we should create it
return r.Create(ctx, environment)
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like it's trying to upsert envs. can we remove it?

Suggested change
if err != nil && errors.Is(err, sql.ErrNoRows) {
// this is a new environment, and we should create it
return r.Create(ctx, environment)
}

@schoren schoren merged commit f0a7635 into main May 23, 2023
@schoren schoren deleted the add/cli-e2e-tests-to-environments branch May 23, 2023 18:46
danielbdias added a commit that referenced this pull request May 23, 2023
danielbdias added a commit that referenced this pull request May 25, 2023
* Add documentation about mapped CLI e2e to do

* Apply suggestions from code review

Co-authored-by: Julianne Fermi <[email protected]>

* fix(docs): fix docs related to data stores (#2558)

* Updating Kubernetes installation docs (#2562)

* Updating Kubernetes installation docs

* Apply suggestions from code review

Co-authored-by: Adnan Rahić <[email protected]>

---------

Co-authored-by: Adnan Rahić <[email protected]>

* docs(install-deploy): improves Deployment and Getting Started pages (#2567)

* docs(deployment): clean up formatting

* docs(detailed-install): improved explanation, added link to Helm docs

* chore: upgrade goreleaser version to v1.18.2 (#2572)

* feat: migrate transactions to new resourcemanager architecture (#2551)

* feat: support dashes in attribute names (#2569)

* Update CLI e2e test engine to support CLI debug and add error handling for 404 errors on Get (#2573)

* hotfix: fix controller (#2574)

* Improve test output and remove parallelism (#2575)

---------

Co-authored-by: Julianne Fermi <[email protected]>
Co-authored-by: Jorge Padilla <[email protected]>
Co-authored-by: Adnan Rahić <[email protected]>
Co-authored-by: Sebastian Choren <[email protected]>
Co-authored-by: Matheus Nogueira <[email protected]>
schoren pushed a commit that referenced this pull request Jun 5, 2023
schoren added a commit that referenced this pull request Jun 5, 2023
* Add documentation about mapped CLI e2e to do

* Apply suggestions from code review

Co-authored-by: Julianne Fermi <[email protected]>

* fix(docs): fix docs related to data stores (#2558)

* Updating Kubernetes installation docs (#2562)

* Updating Kubernetes installation docs

* Apply suggestions from code review

Co-authored-by: Adnan Rahić <[email protected]>

---------

Co-authored-by: Adnan Rahić <[email protected]>

* docs(install-deploy): improves Deployment and Getting Started pages (#2567)

* docs(deployment): clean up formatting

* docs(detailed-install): improved explanation, added link to Helm docs

* chore: upgrade goreleaser version to v1.18.2 (#2572)

* feat: migrate transactions to new resourcemanager architecture (#2551)

* feat: support dashes in attribute names (#2569)

* Update CLI e2e test engine to support CLI debug and add error handling for 404 errors on Get (#2573)

* hotfix: fix controller (#2574)

* Improve test output and remove parallelism (#2575)

---------

Co-authored-by: Julianne Fermi <[email protected]>
Co-authored-by: Jorge Padilla <[email protected]>
Co-authored-by: Adnan Rahić <[email protected]>
Co-authored-by: Sebastian Choren <[email protected]>
Co-authored-by: Matheus Nogueira <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants