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

Implement a CI system. Initial test. #208

Merged
merged 26 commits into from
Sep 2, 2023
Merged

Implement a CI system. Initial test. #208

merged 26 commits into from
Sep 2, 2023

Conversation

adamdoupe
Copy link
Contributor

No description provided.

@zardus
Copy link
Contributor

zardus commented Sep 1, 2023

Whoa no way!!! Is this for real?

@adamdoupe
Copy link
Contributor Author

Ok, this is now good to go.

Fixes #126.

Right now the builds use too much disk space for GitHub actions caching to help: probably we will want to run our own self-hosted runner in the future (or pay $ for GitHub Teams and get bigger runners).

Also, this currently ensures:

  • The dojo creation works
  • The inner dojo creates the website enough to get a 200 back. It uses the test/test_running.py script. We should extend this in the future to add more.

Note for the future: the dojo has to be run with port 2222 exposed instead of 22, because the runners already claim port 22.

@adamdoupe adamdoupe merged commit f77cc23 into master Sep 2, 2023
1 check passed
@adamdoupe adamdoupe deleted the feat/basic-ci branch September 2, 2023 05:09
mudongliang pushed a commit to hust-open-atom-club/dojo that referenced this pull request Jan 10, 2024
* Implement a CI system. Initial test.

* Add a health check to the db

* Add a timeout to the whole thing so it doesn't eat up CPU forever

Fixes pwncollege#126.
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.

2 participants