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

Create CLI option to upload a problems.md to the server without requiring build #5

Open
dbrumley opened this issue Nov 30, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@dbrumley
Copy link

Users cannot currently use cmgr if they don't support building a problem from scratch and deploying it our way. This is a limitation. For example, if a user creates a windows problem and it's running on a network port, cmgr should be able to still contain the problem metadata needed for picoctf to direct a user to that challenge.

@dbrumley dbrumley added the enhancement New feature or request label Nov 30, 2024
@dmartin
Copy link

dmartin commented Dec 2, 2024

If a challenge is manually deployed and managed (such as a Windows container running on some fixed host and port), then cmgr does not need to be involved in the deployment process.

Metadata-only challenges can be added directly to the picoCTF platform via the JSON file server type (in this example, the endpoint of the Windows container can be defined directly in the metadata alongside the challenge description).

As cmgr is designed to manage the lifecycle of its challenges (building images, spawning networks and containers etc.), I don't feel like it would be the right place to add this functionality. It would be strange to use the problem.md format for "metadata-only" challenges as most of its features (challenge template selection, multiple builds, {{ port/url }} templating) would not be applicable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants