Skip to content
Snippets Groups Projects

swh/staging: Deploy swh-alter 1.3.0 with kafka notification pipeline

Merged Guillaume Samson requested to merge update_swh_alter into production

Related to swh/infra/sysadm-environment#5606 (closed)

These modifications will:

  • update the swh-alter configmap to add a journal_writer section (to send notifications of alterations made to the archive to a dedicated kafka topic);
  • deploy the new configmap in staging.
helm-diff
[swh] Comparing changes between branches production and update_swh_alter (per environment)...
Your branch is up to date with 'origin/production'.
[swh] Generate config in production branch for environment staging, namespace swh...
[swh] Generate config in production branch for environment staging, namespace swh-cassandra...
[swh] Generate config in production branch for environment staging, namespace next-version...
Your branch is up to date with 'origin/update_swh_alter'.
[swh] Generate config in update_swh_alter branch for environment staging...
[swh] Generate config in update_swh_alter branch for environment staging...
[swh] Generate config in update_swh_alter branch for environment staging...
Your branch is up to date with 'origin/production'.
[swh] Generate config in production branch for environment production, namespace swh...
[swh] Generate config in production branch for environment production, namespace swh-cassandra...
[swh] Generate config in production branch for environment production, namespace next-version...
Your branch is up to date with 'origin/update_swh_alter'.
[swh] Generate config in update_swh_alter branch for environment production...
[swh] Generate config in update_swh_alter branch for environment production...
[swh] Generate config in update_swh_alter branch for environment production...


------------- diff for environment staging namespace swh -------------

     _        __  __
   _| |_   _ / _|/ _|  between /tmp/swh-chart.swh.isXnvGa1/staging-swh.before, 140 documents
 / _' | | | | |_| |_       and /tmp/swh-chart.swh.isXnvGa1/staging-swh.after, 140 documents
| (_| | |_| |  _|  _|
 \__,_|\__, |_| |_|   returned no differences
        |___/



------------- diff for environment staging namespace swh-cassandra -------------

     _        __  __
   _| |_   _ / _|/ _|  between /tmp/swh-chart.swh.isXnvGa1/staging-swh-cassandra.before, 476 documents
 / _' | | | | |_| |_       and /tmp/swh-chart.swh.isXnvGa1/staging-swh-cassandra.after, 476 documents
| (_| | |_| |  _|  _|
 \__,_|\__, |_| |_|   returned two differences
        |___/

data.config.yml.template  (v1/ConfigMap/swh-cassandra/alter-template)
  ± value change in multiline text (one insert, no deletions)
      graph:
        timeout: null
        url: http://graph-rpc-ingress/graph
    + journal_writer:
    +   anonymize: true
    +   brokers:
    +   - journal2.internal.staging.swh.network:9092
    +   client_id: swh.alter.removals.${HOSTNAME}
    +   cls: kafka
    +   prefix: swh.journal.mirror-notifications
    +   producer_config:
    +     message.max.bytes: 1000000000
      recovery_bundles:
        secret_sharing:
          groups:
            legal:

      [86 lines unchanged)]

        objstorage:
          cls: remote
          enable_requests_retry: true
          url: http://objstorage-read-only-rpc-ingress


spec.template.metadata.annotations.checksum/config  (apps/v1/Deployment/swh-cassandra/alter)
  ± value change
    - 3c96ed4c0e2ac0049a9e7d3455a2eeb080467085dc470d20dda0a077add23630
    + f9ee3328090b71bf939a317182668d4601adbb5edb33dbf86a63f02dd259b3f6



------------- diff for environment staging namespace next-version -------------

     _        __  __
   _| |_   _ / _|/ _|  between /tmp/swh-chart.swh.isXnvGa1/staging-next-version.before, 210 documents
 / _' | | | | |_| |_       and /tmp/swh-chart.swh.isXnvGa1/staging-next-version.after, 210 documents
| (_| | |_| |  _|  _|
 \__,_|\__, |_| |_|   returned no differences
        |___/



------------- diff for environment production namespace swh -------------

     _        __  __
   _| |_   _ / _|/ _|  between /tmp/swh-chart.swh.isXnvGa1/production-swh.before, 148 documents
 / _' | | | | |_| |_       and /tmp/swh-chart.swh.isXnvGa1/production-swh.after, 148 documents
| (_| | |_| |  _|  _|
 \__,_|\__, |_| |_|   returned no differences
        |___/



------------- diff for environment production namespace swh-cassandra -------------

     _        __  __
   _| |_   _ / _|/ _|  between /tmp/swh-chart.swh.isXnvGa1/production-swh-cassandra.before, 498 documents
 / _' | | | | |_| |_       and /tmp/swh-chart.swh.isXnvGa1/production-swh-cassandra.after, 498 documents
| (_| | |_| |  _|  _|
 \__,_|\__, |_| |_|   returned no differences
        |___/

Merge request reports

Merged by Guillaume SamsonGuillaume Samson 1 week ago (Mar 19, 2025 4:13pm UTC)

Merge details

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading