Skip to content

Remove GitOps module

Timo Furrer requested to merge deprecated-gitops-module into master
  • Replace GitOps module with a dummy module

This change set replaces the "deprecated" GitOps module by a dummy module that just reports an error to the agent. The error appears as an error-level log in the agents stderr.

The module doesn't do anything else.

The GitOps module itself will fully be removed with GitLab 18.0.

Changelog: removed

Refs gitlab-org/gitlab#406545 (closed)

  • Change module runner test to use non-gitops config

  • Change agent config server tests to use non-gitops config

  • Change agent config watcher test to use non-gitops config

This test is unrelated to the deprecated gitops features, thus we may as well use another example to test it.

  • Change agent config posting test to use non-gitops based config

The GitOps configuration will be removed and this test is not directly related to it. Thus, we may as well use another configuration example.

  • Remove unnecessary test for protobuf JSON parsing

This change removes tests that tested the marshaling and unmarshaling of JSON using protojson. We don't need to test protojson. In case we are interested in contract tests of our configuration API, we should do this in a more comprehensive manner.

Merge request reports