-
Notifications
You must be signed in to change notification settings - Fork 9
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
Contribution docs #36
base: master
Are you sure you want to change the base?
Conversation
Added contribution docs
Added docker-compose.yml
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.
Testing this locally, make test
from the contribution docs and docker compose run --rm plugin_test
seem to fail with bats issues.
bats_load_safe: Could not find '/usr/local/lib/bats/load.bash'[.bash]
@stephanieatte Not sure if anything needs to be updated there or if it's a me issue? Have you run the tests locally to make sure everything works?
docker-compose.yml
Outdated
--- | ||
version: '3' | ||
services: | ||
plugin_test: | ||
build: | ||
context: . | ||
dockerfile: ./tests/Dockerfile | ||
plugin_lint: | ||
image: buildkite/plugin-linter:latest | ||
command: ['--id', 'monebag/monorepo-diff'] | ||
volumes: | ||
- ".:/plugin" |
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.
This was removed because it's unused and it's referencing monebag, so it won't work
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.
Yes @pzeballos
Will check on the contribution docs to make sure it works just like it should |
or
The lint test fails on the build checking this out right now |
@jeremybumsted @pzeballos i have made the changes please can you confirm that it works on your end |
Replaced deprecated flags
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.
@stephanieatte awesome stuff
I think we're still needing to change some things in the actual CONTRIBUTING doc as we reference GitHub actions when it's now all done via the plugin pipeline, and the entire testing section will probably need an update.
This PR adds some key sections and documents that have been omitted. It allows users to run tests with docker and make test without docker compose