Skip to content

patch: Workflow to call airflow#298

Open
Gu1nness wants to merge 3 commits into8/edgefrom
DPE-9690-library-workflow
Open

patch: Workflow to call airflow#298
Gu1nness wants to merge 3 commits into8/edgefrom
DPE-9690-library-workflow

Conversation

@Gu1nness
Copy link
Copy Markdown
Contributor

@Gu1nness Gu1nness commented Apr 16, 2026

🏷️ Type of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Tooling and CI
  • Dependencies upgrade or change
  • Chores / refactoring

📝 Description

Workflow that calls the Airflow DAG.
Expects inputs for all 4 charms in the shape of a json document containing mapping of architectures to documents

🧪 Manual testing steps

Using act to test the workflow (it will fail during the curl, but you can check the values and that everything is filled properly.

1. echo '{
    "inputs": {
        "mongodb": "{\"amd64\": \"117\", \"arm64\": \"118\"}",
        "mongos": "{\"amd64\": \"119\", \"arm64\": \"120\"}",
        "mongodb-k8s": "{\"amd64\": \"121\", \"arm64\": \"122\"}",
        "mongos-k8s": "{\"amd64\": \"123\", \"arm64\": \"124\"}"
    }
}' > payload.json
2. gh act -W '.github/workflows/promote.yaml' workflow_dispatch -e payload.json

🔬 Automated testing steps

✅ Checklist

  • My code follows the code style of this project.
  • I have added or updated any relevant documentation.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@Gu1nness Gu1nness changed the title feat: Workflow to call airflow patch: Workflow to call airflow Apr 17, 2026
Mehdi-Bendriss
Mehdi-Bendriss previously approved these changes Apr 21, 2026
Copy link
Copy Markdown
Contributor

@Mehdi-Bendriss Mehdi-Bendriss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Neha!

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

Successfully merging this pull request may close these issues.

2 participants