-
Notifications
You must be signed in to change notification settings - Fork 26
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
Add developer docs for CI debugging #113
Conversation
Cloud instances are deleted after the test run is completed, whether a test run | ||
passes or fails. In order to debug the state of the remote instance, we must first | ||
ensure that the instance is not automatically destroyed. Note that there is a also | ||
a cron job that destroys instances daily as well. The following is an example |
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.
slight nit: "there is a also a cron job" -> there is also a cron job
molecule "${MOLECULE_ACTION:-converge}" -s "${securedrop_staging_scenario}" "${EXTRA_ANSIBLE_ARGS[@]}" | ||
fi | ||
|
||
Once that commit is pushed, run the appropritate ``staging-test-with-rebase`` job |
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.
appropritate -> appropriate
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 is good, and approved.
May be in future we should add a section explaining who all (not names, somehow define) has access to the CI for the same.
Status
Ready for review
Description of Changes
Provides instructions for developers to debug the CI instances, by connecting to the, through the CircleCI container.
Testing
Since these are only dev-facing, they should be good to merge if they are understandable. The reviewer can also use the existing branch and restart with ssh on https://github.com/freedomofpress/securedrop/compare/test-apparmor-ci to test
Checklist (Optional)
make docs-lint
) passed locallymake docs-linkcheck
) passedmake docs
) docs at http://localhost:8000