-
Notifications
You must be signed in to change notification settings - Fork 179
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
Catch up poetry to 1.5 and fix path detection #1489
Conversation
docs/README-dev.md
Outdated
Here is an example how you can start quickly using containers, similarly to how our CI runs it | ||
|
||
```bash | ||
$ podman run -it --pull=Always --rm -v="$( pwd )/docs:/go/$( go list -m )/docs:Z" --workdir="/go/$( go list -m )/docs" -p 5500:5500 quay.io/scylladb/scylla-operator-images:poetry-1.5 bash -euExo pipefail -O inherit_errexit -c 'poetry install && make multiversionpreview' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's delete the dollar sign so that it's easier to copy
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't that say that you need to clone the repository anyway? Since it uses the makefile?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's delete the dollar sign so that it's easier to copy
ok, guess I tend to be consistent about bash snippets and in the others, this differentiates the command from it's output.
Shouldn't that say that you need to clone the repository anyway?
I'd be hesitant to add something that obvious, given it also mounts a docs subdir
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added a sentence about being at repository root that should put this at ease
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd be hesitant to add something that obvious, given it also mounts a docs subdir
Ok, it's for developers so I guess we can expect it to be obvious
docs/README-dev.md
Outdated
## Update dependencies | ||
|
||
```bash | ||
$ podman run -it --pull=Always --rm -v="$( pwd )/docs:/go/$( go list -m )/docs:Z" --workdir="/go/$( go list -m )/docs" quay.io/scylladb/scylla-operator-images:poetry-1.5 bash -euExo pipefail -O inherit_errexit -c 'poetry update' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
0e14884
to
2f1b5a3
Compare
/retest |
/hold |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/hold cancel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
/lgtm
thanks
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: tnozicka, zimnx The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Description of your changes:
This PR updates our code base to catch up with poetry to 1.5, fixes poetry path detection, removes old and unused install script and updates the dev readme.
Which issue is resolved by this Pull Request:
Resolves #1460 (comment)
Needs scylladb/scylla-operator-images#35 (+postsubmit) to pass CI.
Old postsubmits are replaced with https://github.com/scylladb/scylla-operator-release/pull/47 so we can converge on the same build style and version for presubmits and postsubmits.