Skip to content

Consolidate migration workflows into armada reusables - #1125

Merged
aeshub merged 6 commits into
equinor:mainfrom
aeshub:consolidate-migration-workflows
Apr 29, 2026
Merged

Consolidate migration workflows into armada reusables#1125
aeshub merged 6 commits into
equinor:mainfrom
aeshub:consolidate-migration-workflows

Conversation

@aeshub

@aeshub aeshub commented Apr 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Replace seven repo-local migration workflows with thin callers to shared reusable workflows in equinor/armada
  • Rename staging and production database update workflows to snake_case (update_staging_database.yml, update_production_database.yml)
  • Adopt the two-stage pull_request + workflow_run pattern for migration checks and notifications

Changes

New caller workflows

File Trigger Calls
migration_checks.yml pull_request armada/migration_checks.yml
migration_actions.yml workflow_run armada/migration_actions.yml
update_database.yml issue_comment (/UpdateDatabase) armada/database_update_orchestration.yml + armada/run_alembic_migrations.yml
update_staging_database.yml workflow_dispatch armada/run_alembic_migrations.yml
update_production_database.yml workflow_dispatch armada/run_alembic_migrations.yml

Deleted workflows

  • verifyMigrations.yml
  • notifyMigrationChanges.yml
  • notifyPossibleMigrationUpdate.yml
  • runMigrations.yml
  • updateDatabase.yml
  • updateStagingDatabase.yml
  • updateProductionDatabase.yml

Dependencies

Post-merge action

  • Update branch protection required status check from VerifyMigrations to the new verify_migrations job name

Related

  • Part of equinor/robotics-infrastructure#945

@aeshub
aeshub marked this pull request as draft April 24, 2026 09:12
@aeshub aeshub added the improvement Improvement to existing functionality label Apr 24, 2026
@aeshub aeshub self-assigned this Apr 24, 2026
@aeshub
aeshub marked this pull request as ready for review April 28, 2026 11:54
@aeshub
aeshub force-pushed the consolidate-migration-workflows branch from bb5eb2c to 0d205e8 Compare April 29, 2026 06:09
@aeshub aeshub closed this Apr 29, 2026
@aeshub aeshub reopened this Apr 29, 2026
@aeshub
aeshub force-pushed the consolidate-migration-workflows branch from ead2691 to cb19284 Compare April 29, 2026 06:22
@aeshub
aeshub merged commit 4288d07 into equinor:main Apr 29, 2026
6 checks passed
@aeshub
aeshub deleted the consolidate-migration-workflows branch April 29, 2026 06:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Improvement to existing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant