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

chore: Remove extreneous config from quick-start #2457

Closed
wants to merge 1 commit into from

Conversation

simster7
Copy link
Member

Minor

Copy link
Contributor

@alexec alexec left a comment

Choose a reason for hiding this comment

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

You've removed them from both quick-start and tests? I think the latter are needed.

@simster7
Copy link
Member Author

@alexec I simply removed them from quick-start and ran make manifests. Seems like make manifests also updates tests/:

make manifests
# GIT_TAG=, GIT_BRANCH=man, GIT_TREE_STATE=dirty, VERSION=man, DEV_IMAGE=true
...
# Create Postgres e2e manifests
kustomize build test/e2e/manifests/postgres | ./hack/auto-gen-msg.sh > test/e2e/manifests/postgres.yaml
# Create MySQL e2e manifests
kustomize build test/e2e/manifests/mysql | ./hack/auto-gen-msg.sh > test/e2e/manifests/mysql.yaml
# Create no DB e2e manifests
kustomize build test/e2e/manifests/no-db | ./hack/auto-gen-msg.sh > test/e2e/manifests/no-db.yaml

I also ran the relevant tests to make sure they worked before I opened this PR.

@alexec
Copy link
Contributor

alexec commented Mar 16, 2020

I also ran the relevant tests to make sure they worked before I opened this PR.

Do you want to @mention the author and find out?

@simster7
Copy link
Member Author

@jamhed Are these configs necessary for the tests in #2385?

@codecov
Copy link

codecov bot commented Mar 16, 2020

Codecov Report

Merging #2457 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2457   +/-   ##
=======================================
  Coverage   11.69%   11.69%           
=======================================
  Files          72       72           
  Lines       28892    28892           
=======================================
  Hits         3378     3378           
  Misses      25070    25070           
  Partials      444      444

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5346609...c06fb63. Read the comment docs.

@jamhed
Copy link
Contributor

jamhed commented Mar 16, 2020

@simster7, yes, they are necessary, without limits argo watcher pod can't be submitted if we have resourcequota enabled for namespace, I copied values from existing examples.

@simster7
Copy link
Member Author

Alright, thanks. Will close this for now.

@simster7 simster7 closed this Mar 16, 2020
@simster7 simster7 reopened this Mar 16, 2020
@simster7
Copy link
Member Author

I'm reconsidering this... @alexec currently we use the same set of templates for quick-start and for testing, but this change only needs to be in our testing manifests. I don't think that this should be in our quick-start manifests because it introduces behavior that is not desired by default.

What do you think about decoupling the quick-start manifests and the testing manifests? If we do so, we can remove this executor config from the quick-start manifests and keep it in the testing manifests.

@alexec
Copy link
Contributor

alexec commented Mar 16, 2020

I'm reconsidering this... @alexec currently we use the same set of templates for quick-start and for testing, but this change only needs to be in our testing manifests. I don't think that this should be in our quick-start manifests because it introduces behavior that is not desired by default.

What do you think about decoupling the quick-start manifests and the testing manifests? If we do so, we can remove this executor config from the quick-start manifests and keep it in the testing manifests.

I was keen to keep them closely related. Otherwise, we never test the manifests (both install.yaml and quick-starts) are correct. I'd prefer we only kustomize the test manifests and there are scripts for that.

@alexec
Copy link
Contributor

alexec commented Mar 18, 2020

This will be fixed by #2464.

@simster7
Copy link
Member Author

Closing

@simster7 simster7 closed this Mar 18, 2020
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.

None yet

3 participants