Skip to content

Commit

Permalink
add tencent-tcr cases
Browse files Browse the repository at this point in the history
Signed-off-by: Ziming Zhang <[email protected]>
  • Loading branch information
bitsf committed Dec 10, 2020
1 parent 95b1381 commit 918094b
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 11 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
fail-fast: false
matrix:
branch: ['master', '2.1.0', '2.0.0']
case: ['Harbor', 'DockerHub', 'AliACR', 'Gitlab', 'AwsECR', 'GoogleGCR', 'AzureACR', 'Quay']
case: ['Harbor', 'DockerHub', 'AliACR', 'Gitlab', 'AwsECR', 'GoogleGCR', 'AzureACR', 'Quay', 'TencentTCR']
env:
target_version: ${{ matrix.branch }}
target_case: ${{ matrix.case }}
Expand Down Expand Up @@ -110,6 +110,7 @@ jobs:
-v azure_ac_id:${{ secrets.AZURE_ACCESS_ID }} -v azure_ac_key:${{ secrets.AZURE_ACCESS_KEY }} -v gcr_ac_key:'${{ secrets.GCR_AC_KEY }}' -v quay_ac_key:'${{ secrets.QUAY_AC_KEY }}'\
-v gitlab_id:'${{ secrets.GITLAB_ID }}' -v gitlab_key:'${{ secrets.GITLAB_KEY }}' -v ali_ac_id:'${{ secrets.ALI_AC_ID }}' -v ali_ac_key:'${{ secrets.ALI_AC_KEY }}' \
-v harbor_ac_id:'${{ secrets.HARBOR_AC_ID }}' -v harbor_ac_key:'${{ secrets.HARBOR_AC_KEY }}' -v dockerhub_ac_id:'${{ secrets.DOCKERHUB_AC_ID }}' -v dockerhub_ac_key:'${{ secrets.DOCKERHUB_AC_KEY }}' \
-v tencent_tcr_id:'${{ secrets.TENCENT_TCR_ID }}' -v tencent_tcr_key:'${{ secrets.TENCENT_TCR_KEY }}' \
$case.robot
num=$(grep good checkpoint.txt|wc -l||echo 0)
../../save-status.sh $num st-${target_version}-$case
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
echo $case
done
else
cases="Harbor DockerHub AliACR Gitlab AwsECR GoogleGCR AzureACR Quay"
cases="Harbor DockerHub AliACR Gitlab AwsECR GoogleGCR AzureACR Quay TencentTCR"
fi
- name: checkout harbor ${{ github.event.client_payload.ref }}
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
cd cases
cases="${{ github.event.client_payload.cases }}"
if [ "$cases" = "" ]; then
cases="Harbor DockerHub AliACR Gitlab AwsECR GoogleGCR AzureACR Quay"
cases="Harbor DockerHub AliACR Gitlab AwsECR GoogleGCR AzureACR Quay TencentTCR"
fi
for case in $cases;do
echo $case
Expand Down
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,15 @@ community to refer.

| case \ version | master | 2.1.x | 2.0.x | 1.10.x |
| -------------- | :----: | :---: | :----: | :----: |
| Dockerhub | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-master-DockerHub.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-master-DockerHub.gif) | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-DockerHub.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-DockerHub.gif) | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-2.0.0-DockerHub.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-2.0.0-DockerHub.gif) | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-1.10.0-DockerHub.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-1.10.0-DockerHub.gif) |
| AwsECR | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-master-AwsECR.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-master-AwsECR.gif) | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-AwsECR.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-AwsECR.gif) | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-2.0.0-AwsECR.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-2.0.0-AwsECR.gif) | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-1.10.0-AwsECR.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-1.10.0-AwsECR.gif) |
| GoogleGCR | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-master-GoogleGCR.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-master-GoogleGCR.gif) | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-GoogleGCR.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-GoogleGCR.gif) | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-2.0.0-GoogleGCR.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-2.0.0-GoogleGCR.gif) | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-1.10.0-GoogleGCR.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-1.10.0-GoogleGCR.gif) |
| AzureACR | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-master-AzureACR.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-master-AzureACR.gif) | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-AzureACR.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-AzureACR.gif) | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-2.0.0-AzureACR.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-2.0.0-AzureACR.gif) |
| Gitlab | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-master-Gitlab.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-master-Gitlab.gif) | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-Gitlab.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-Gitlab.gif) | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-2.0.0-Gitlab.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-2.0.0-Gitlab.gif) |
| AliACR | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-master-AliACR.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-master-AliACR.gif) | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-AliACR.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-AliACR.gif) | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-2.0.0-AliACR.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-2.0.0-AliACR.gif) |
| Harbor(2.x) | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-master-Harbor.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-master-Harbor.gif) | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-Harbor.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-Harbor.gif) | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-2.0.0-Harbor.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-2.0.0-Harbor.gif) |
| Quay | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-master-Quay.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-master-Quay.gif) | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-Quay.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-Quay.gif) |
| Dockerhub | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-master-DockerHub.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-master-DockerHub.gif) | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-DockerHub.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-DockerHub.gif) | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-2.0.0-DockerHub.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-2.0.0-DockerHub.gif) | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-1.10.0-DockerHub.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-1.10.0-DockerHub.gif) |
| AwsECR | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-master-AwsECR.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-master-AwsECR.gif) | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-AwsECR.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-AwsECR.gif) | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-2.0.0-AwsECR.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-2.0.0-AwsECR.gif) | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-1.10.0-AwsECR.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-1.10.0-AwsECR.gif) |
| GoogleGCR | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-master-GoogleGCR.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-master-GoogleGCR.gif) | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-GoogleGCR.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-GoogleGCR.gif) | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-2.0.0-GoogleGCR.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-2.0.0-GoogleGCR.gif) | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-1.10.0-GoogleGCR.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-1.10.0-GoogleGCR.gif) |
| AzureACR | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-master-AzureACR.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-master-AzureACR.gif) | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-AzureACR.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-AzureACR.gif) | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-2.0.0-AzureACR.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-2.0.0-AzureACR.gif) |
| Gitlab | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-master-Gitlab.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-master-Gitlab.gif) | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-Gitlab.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-Gitlab.gif) | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-2.0.0-Gitlab.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-2.0.0-Gitlab.gif) |
| AliACR | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-master-AliACR.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-master-AliACR.gif) | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-AliACR.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-AliACR.gif) | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-2.0.0-AliACR.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-2.0.0-AliACR.gif) |
| Harbor(2.x) | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-master-Harbor.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-master-Harbor.gif) | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-Harbor.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-Harbor.gif) | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-2.0.0-Harbor.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-2.0.0-Harbor.gif) |
| Quay | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-master-Quay.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-master-Quay.gif) | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-Quay.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-Quay.gif) |
| TencentTCR | [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-master-TencentTCR.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-master-TencentTCR.gif)| [![status](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-TencentTCR.svg)](https://github.com/goharbor/replication-verification/raw/results/results/st-2.1.0-TencentTCR.gif)|

**NOTES:** Each square represent an executing result of the relevant compatibility testing case. From left to right, they are:

Expand Down
10 changes: 10 additions & 0 deletions master/cases/TencentTCR.robot
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
*** Settings ***
Resource ./BaseCase.robot

*** Test Cases ***
Test Case - Replication Of Pull Images from TencentTCR To Self
@{target_images}= Create List alpine
Test Replication Of Pull Images tencent-tcr https://harbor-replication-verification.tencentcloudcr.com ${tencent_tcr_id} ${tencent_tcr_key} pull-for-harbor/** @{target_images}

Test Case - Replication Of Push Images to TencentTCR Triggered By Event
Test Replication Of Push Images By Event tencent-tcr https://harbor-replication-verification.tencentcloudcr.com ${tencent_tcr_id} ${tencent_tcr_key} push-from-harbor

0 comments on commit 918094b

Please sign in to comment.