Welcome to the repository! Below is a list of available documents and workflows in this project.
This tutorial will guide you through setting up compatibility testing in GitHub Actions for your application. It will use the Replicated Compatibility Matrix to test your application against different versions of Kubernetes and different operating systems.
Replicated Compatibility Matrix quickly provisions ephemeral clusters of different Kubernetes distributions and versions, such as OpenShift, EKS, and Replicated kURL.
Before you begin, you will need to have the following:
- credits in your Replicated account to run the Compatibility Matrix cluster
- a GitHub repository with your helm chart code
Here is the step-by-step guide to setting up compatibility testing in GitHub Actions:
- Create a new GitHub Actions workflow file in your repository. You can do this by creating a new file in the
.github/workflowsdirectory of your repository. For example, you can create a file namedcompatibility-testing.yamlin the.github/workflowsdirectory. - In the current workflows, you have two options to run the compatibility testing:
- Copy Compatibility Testing Workflow and run the compatibility testing with simple configurations.
- setup github actions secrets
REPLICATED_API_TOKEN- API token for your Replicated Vendor accountREPLICATED_APP- Application slug for your Replicated application
- customize the
Run Compatibility Testingstep
- name: Run Compatibility Testing
run: |
script to check /healthz
or helm deployment status
By trigger the github actions, you can integrate the compatibility testing into your CI/CD pipeline.