https://github.com/goharbor/replication-verification
This repository is created to keep and regularly run the related compatibility testing cases that are used to verify whether the related replication adapters are still working well in Harbor or not.
https://github.com/goharbor/replication-verification
adapters cloud-native compatibility-testing container harbor image kubernetes registry replication
Last synced: 20 days ago
JSON representation
This repository is created to keep and regularly run the related compatibility testing cases that are used to verify whether the related replication adapters are still working well in Harbor or not.
- Host: GitHub
- URL: https://github.com/goharbor/replication-verification
- Owner: goharbor
- Created: 2020-08-06T06:25:49.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-02-23T23:21:24.000Z (about 4 years ago)
- Last Synced: 2025-03-30T18:51:09.455Z (about 2 months ago)
- Topics: adapters, cloud-native, compatibility-testing, container, harbor, image, kubernetes, registry, replication
- Language: RobotFramework
- Homepage:
- Size: 1.88 GB
- Stars: 5
- Watchers: 8
- Forks: 5
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# Replication-Verification
Replication is a fancy feature of [Harbor](https://github.com/goharbor/harbor) registry. With the adapter framework, Harbor
has supported replicating artifacts(container images, Helm Charts) between Harbor<->Harbor or Harbor<->other 3rd registry services,
including Dockerhub, AWS ECR, Google GCR, Azure ACR, GitLab Registry, Ali ACR and Quay etc. with both pull and push modes.
This repository is created to keep and regularly run the related compatibility testing cases that are used to verify
whether the related replication adapters are still working well in Harbor or not and check if the newly contributed adapter
is implemented properly. Based on the compatibility testing, a daily well-organized report will be updated in time for the
community to refer.## Report
| case \ version | master | 2.1.x | 2.0.x | 1.10.x |
| -------------- | :----: | :---: | :----: | :----: |
| Dockerhub | [](https://github.com/goharbor/replication-verification/raw/results/results/st-master-DockerHub.gif) | [](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-DockerHub.gif) | [](https://github.com/goharbor/replication-verification/raw/results/results/st-2.0.0-DockerHub.gif) | [](https://github.com/goharbor/replication-verification/raw/results/results/st-1.10.0-DockerHub.gif) |
| AwsECR | [](https://github.com/goharbor/replication-verification/raw/results/results/st-master-AwsECR.gif) | [](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-AwsECR.gif) | [](https://github.com/goharbor/replication-verification/raw/results/results/st-2.0.0-AwsECR.gif) | [](https://github.com/goharbor/replication-verification/raw/results/results/st-1.10.0-AwsECR.gif) |
| GoogleGCR | [](https://github.com/goharbor/replication-verification/raw/results/results/st-master-GoogleGCR.gif) | [](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-GoogleGCR.gif) | [](https://github.com/goharbor/replication-verification/raw/results/results/st-2.0.0-GoogleGCR.gif) | [](https://github.com/goharbor/replication-verification/raw/results/results/st-1.10.0-GoogleGCR.gif) |
| AzureACR | [](https://github.com/goharbor/replication-verification/raw/results/results/st-master-AzureACR.gif) | [](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-AzureACR.gif) | [](https://github.com/goharbor/replication-verification/raw/results/results/st-2.0.0-AzureACR.gif) |
| Gitlab | [](https://github.com/goharbor/replication-verification/raw/results/results/st-master-Gitlab.gif) | [](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-Gitlab.gif) | [](https://github.com/goharbor/replication-verification/raw/results/results/st-2.0.0-Gitlab.gif) |
| AliACR | [](https://github.com/goharbor/replication-verification/raw/results/results/st-master-AliACR.gif) | [](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-AliACR.gif) | [](https://github.com/goharbor/replication-verification/raw/results/results/st-2.0.0-AliACR.gif) |
| Harbor(2.x) | [](https://github.com/goharbor/replication-verification/raw/results/results/st-master-Harbor.gif) | [](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-Harbor.gif) | [](https://github.com/goharbor/replication-verification/raw/results/results/st-2.0.0-Harbor.gif) |
| Quay | [](https://github.com/goharbor/replication-verification/raw/results/results/st-master-Quay.gif) | [](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-Quay.gif) |
| TencentTCR | [](https://github.com/goharbor/replication-verification/raw/results/results/st-master-TencentTCR.gif)| [](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-TencentTCR.gif)|
| GithubGHCR | [](https://github.com/goharbor/replication-verification/raw/results/results/st-master-GithubGHCR.gif) |**NOTES:** Each square represent an executing result of the relevant compatibility testing case. From left to right, they are:
* Registry endpoint creation case
* Pull-based replication case
* Push-based replication case
* Deletion replication caseGreen color means case execution is successful and red color means case execution is failed.
## Triggers
### crontab schedule
Run daily at UTC time `22:00`.
> cron: '0 22 * * *'
### manually trigger github action
Issue HTTP request to run.
```bash
curl -u goharbor -XPOST https://api.github.com/repos/goharbor/replication-verification/dispatches -d '
{
"event_type": "testing"
}'
```### run locally
Use local script to run. (Ubuntu 18.04 is tested.)
Clone this repository first:
Execute the script with proper parameters:
```shell script
./localrun.sh [true to show browser]
```## Contribute new replication adapter
If you're planning to contribute a new replication adapter, please follow the [contributing guide](./CONTRIBUTING.md) to start.
## Contact us
Use the ways shown [here](https://github.com/goharbor/harbor#community) to get contact with us if you encounter any issues related to replication adapter contributions.