{"id":19004901,"url":"https://github.com/dhis2/workflows","last_synced_at":"2025-04-22T18:50:27.675Z","repository":{"id":41836763,"uuid":"224373795","full_name":"dhis2/workflows","owner":"dhis2","description":"DHIS2 GitHub Workflow templates","archived":false,"fork":false,"pushed_at":"2025-03-20T10:32:38.000Z","size":278,"stargazers_count":1,"open_issues_count":9,"forks_count":5,"subscribers_count":22,"default_branch":"master","last_synced_at":"2025-04-17T10:24:46.626Z","etag":null,"topics":["actions","synced-settings","workflows"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dhis2.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-11-27T07:47:20.000Z","updated_at":"2025-02-14T10:04:30.000Z","dependencies_parsed_at":"2024-04-24T12:55:33.897Z","dependency_job_id":"e681e476-b6ee-4256-90f3-5dc47c20862b","html_url":"https://github.com/dhis2/workflows","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhis2%2Fworkflows","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhis2%2Fworkflows/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhis2%2Fworkflows/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dhis2%2Fworkflows/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dhis2","download_url":"https://codeload.github.com/dhis2/workflows/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250302958,"owners_count":21408501,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actions","synced-settings","workflows"],"created_at":"2024-11-08T18:25:15.595Z","updated_at":"2025-04-22T18:50:27.611Z","avatar_url":"https://github.com/dhis2.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DHIS2 Workflows for GitHub Actions\n\nThis repository provides a centralized location for GitHub Actions workflows that can be utilized across various DHIS2 repositories.\n\n## Directory Structure:\n\n-   **ci**: Solutions for Continuous Integration.\n-   **automation**: Solutions for automating workflows.\n\n---\n\n## Consuming the Workflows:\n\nWorkflows in this repository can be utilized in other repositories by either copying them or by calling them directly if they support the `workflow_call` event.\n\n---\n\n### Consuming the `e2e-prod` Workflow:\n\nThe `e2e-prod` workflow provides an end-to-end testing solution, running Cypress E2E tests against various production versions of DHIS2.\n\n#### Requirements:\n\nTo utilize this workflow:\n\n1. In the DHIS2 repository where you wish to implement this workflow, create a new workflow file (e.g., `.github/workflows/use-e2e-prod.yml`).\n\n2. Use the following template to call the central `e2e-prod` workflow:\n\n    ```yaml\n    name: Use e2e-prod\n\n    on: [push, pull_request] # or any other GitHub event\n\n    jobs:\n        e2e-tests:\n            uses: dhis2/workflows/.github/workflows/analytics-e2e-tests.yml@main\n            secrets:\n                baseurl: ${{ secrets.BASEURL }} # e.g., BASEURL = https://test.e2e.dhis2.org/analytics-dev\n                username: ${{ secrets.USERNAME }}\n                password: ${{ secrets.PASSWORD }}\n                recordkey: ${{ secrets.RECORDKEY }}\n                # Add any other required secrets\n    ```\n\n---\n\n### Description:\n\nThe `e2e-prod` workflow facilitates Cypress E2E tests across different versions of the DHIS2 backend. Here's how it operates:\n\n1. **Computing Production Versions**:  \n   The workflow uses the [dhis2/action-supported-legacy-versions](https://github.com/dhis2/action-supported-legacy-versions 'dhis2/action-supported-legacy-versions') GitHub Action to determine which DHIS2 backend versions the app will be tested against. This ensures tests are executed against all relevant DHIS2 instances.\n\n2. **Testing Across Versions**:  \n   Runs E2E tests on various container setups for each backend version, ensuring the application's compatibility across all of them.\n\n3. **Result Summaries**:  \n   Provides a summary of the test results after execution.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhis2%2Fworkflows","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdhis2%2Fworkflows","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdhis2%2Fworkflows/lists"}