Skip to content
Snippets Groups Projects

feat(ci): data import via GitLab CI Job Service Container

Merged Mathias Goebel requested to merge update-remote into develop
All threads resolved!

This MR allows for using CI Jobs to update data on all instances. Therefore it introduces two new CI Stages: data_import and data_upload. The import runs in parallel based on a defined list of language aggregations (currently 5). This will allow for checking possible error messages during import and also download and check import results, as they are now stored as job artifact. the data upload stage then will send all the data to respective target instances.

Todo: It is still to define when to start a complete import and what instance(s) to target.

It leaves the app as it is with small changes in two sections sensitive to the presences of an env var CI_SERVICE.

post installation

During post-install a cleanup and non-recursive import of main and lang editions is triggered. These resources are required for the instance to provide complete data, esp. via TextAPI (not used so far, but considered).

document trigger

The trigger is only active when the env var CI_SERVICE is present to detect an ephemeral instance. This allows for running instances (targets) to receive the data without re-rendering the resources.

smaller changes

To not reach the limit of CI Job logs (4194304 bytes.) the still useful stdout output of commons:debug#0 is only returned when memory usage is more than half of available maximum.

minor typos.

Edited by Mathias Goebel

Merge request reports

Checking pipeline status.

Approved by

Merged by Mathias GoebelMathias Goebel 3 months ago (Nov 25, 2024 8:40am UTC)

Merge details

  • Changes merged into develop with f20812dc (commits were squashed).
  • Deleted the source branch.

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Michelle Weidling
  • added 1 commit

    • f5781abb - Apply 1 suggestion(s) to 1 file(s)

    Compare with previous version

  • added 1 commit

    • 0cb12836 - Apply 1 suggestion(s) to 1 file(s)

    Compare with previous version

  • Mathias Goebel mentioned in issue #293

    mentioned in issue #293

  • added 1 commit

    • 8222f785 - feat(ci): allow a pipeline to be canceled by newer one on same branch.

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • Mathias Goebel changed title from feat: remove trigger from online instance and remove debug log lower a threshold to feat(ci): data import via GitLab CI Job Service Container

    changed title from feat: remove trigger from online instance and remove debug log lower a threshold to feat(ci): data import via GitLab CI Job Service Container

  • added 1 commit

    • 832e67db - Apply 1 suggestion(s) to 1 file(s)

    Compare with previous version

  • added 1 commit

    • fdda1bd4 - Apply 1 suggestion(s) to 1 file(s)

    Compare with previous version

  • added 1 commit

    • baeca1ad - Apply 1 suggestion(s) to 1 file(s)

    Compare with previous version

  • Mathias Goebel mentioned in commit 82c00bb6

    mentioned in commit 82c00bb6

  • added 1 commit

    • 805d7b4c - feat(ci): reorganize import and upload jobs

    Compare with previous version

  • added 1 commit

    Compare with previous version

  • added 1 commit

    • 6dc5b620 - fix(ci): re-add import job to all pipelines

    Compare with previous version

  • Michelle Weidling
  • Michelle Weidling
  • Michelle Weidling resolved all threads

    resolved all threads

  • Michelle Weidling approved this merge request

    approved this merge request

  • Mathias Goebel mentioned in commit f20812dc

    mentioned in commit f20812dc

  • Please register or sign in to reply
    Loading