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

Refactor context #20

Open
Taucher2003 opened this issue Nov 19, 2023 · 0 comments
Open

Refactor context #20

Taucher2003 opened this issue Nov 19, 2023 · 0 comments

Comments

@Taucher2003
Copy link
Owner

The context is currently just a place to put data. It is not really ordered.

Goal should be to split this into some classes, to better organize the data.
A good idea is probably to use these three categories:

  • configuration
  • runtime
  • result

The configuration area will be filled with the configurations of the user, like gitlab project id or access token.
The runtime area will be used for data that is created at and used at runtime, like the handle of the runner container or pipeline.
The result area is used for data that is created at runtime and will be used at the end to create a summary of the run.

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

No branches or pull requests

1 participant