Skip to content

Commit

Permalink
ci: no checkout and run testing farm directly
Browse files Browse the repository at this point in the history
  • Loading branch information
henrywang committed Feb 6, 2024
1 parent b134185 commit 074dca3
Showing 1 changed file with 8 additions and 48 deletions.
56 changes: 8 additions & 48 deletions .github/workflows/cs9-x86.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,23 +57,13 @@ jobs:
- name: Clone repository
uses: actions/checkout@v4

- name: Clone repository
uses: actions/checkout@v4
with:
repository: virt-s1/bootc-workflow-test
fetch-depth: 0
path: bootc-workflow-test

- name: Sync test code here
run: rsync -a --exclude='.git' --exclude='.github' --exclude='.tekton' --exclude='.gitignore' --exclude='.yamllint.yml' --exclude='LICENSE' --exclude='README.md' ./bootc-workflow-test .

- name: Run the tests
uses: sclorg/testing-farm-as-github-action@v1
with:
compose: CentOS-Stream-9
api_key: ${{ secrets.TF_API_KEY }}
git_url: ${{ needs.pr-info.outputs.repo_url }}
git_ref: ${{ needs.pr-info.outputs.ref }}
git_url: virt-s1/bootc-workflow-test
git_ref: main
arch: "x86_64"
tmt_context: "arch=x86_64"
pull_request_status_name: "bootc-cs9-x86-openstack-replace"
Expand All @@ -89,23 +79,13 @@ jobs:
- name: Clone repository
uses: actions/checkout@v4

- name: Clone repository
uses: actions/checkout@v4
with:
repository: virt-s1/bootc-workflow-test
fetch-depth: 0
path: bootc-workflow-test

- name: Sync test code here
run: rsync -a --exclude='.git' --exclude='.github' --exclude='.tekton' --exclude='.gitignore' --exclude='.yamllint.yml' --exclude='LICENSE' --exclude='README.md' ./bootc-workflow-test .

- name: Run the tests
uses: sclorg/testing-farm-as-github-action@v1
with:
compose: CentOS-Stream-9
api_key: ${{ secrets.TF_API_KEY }}
git_url: ${{ needs.pr-info.outputs.repo_url }}
git_ref: ${{ needs.pr-info.outputs.ref }}
git_url: virt-s1/bootc-workflow-test
git_ref: main
arch: "x86_64"
tmt_context: "arch=x86_64"
pull_request_status_name: "bootc-cs9-x86-gcp-replace"
Expand All @@ -121,23 +101,13 @@ jobs:
- name: Clone repository
uses: actions/checkout@v4

- name: Clone repository
uses: actions/checkout@v4
with:
repository: virt-s1/bootc-workflow-test
fetch-depth: 0
path: bootc-workflow-test

- name: Sync test code here
run: rsync -a --exclude='.git' --exclude='.github' --exclude='.tekton' --exclude='.gitignore' --exclude='.yamllint.yml' --exclude='LICENSE' --exclude='README.md' ./bootc-workflow-test .

- name: Run the tests
uses: sclorg/testing-farm-as-github-action@v1
with:
compose: CentOS-Stream-9
api_key: ${{ secrets.TF_API_KEY }}
git_url: ${{ needs.pr-info.outputs.repo_url }}
git_ref: ${{ needs.pr-info.outputs.ref }}
git_url: virt-s1/bootc-workflow-test
git_ref: main
arch: "x86_64"
tmt_context: "arch=x86_64"
pull_request_status_name: "bootc-cs9-x86-aws-replace"
Expand All @@ -153,23 +123,13 @@ jobs:
- name: Clone repository
uses: actions/checkout@v4

- name: Clone repository
uses: actions/checkout@v4
with:
repository: virt-s1/bootc-workflow-test
fetch-depth: 0
path: bootc-workflow-test

- name: Sync test code here
run: rsync -a --exclude='.git' --exclude='.github' --exclude='.tekton' --exclude='.gitignore' --exclude='.yamllint.yml' --exclude='LICENSE' --exclude='README.md' ./bootc-workflow-test .

- name: Run the tests
uses: sclorg/testing-farm-as-github-action@v1
with:
compose: CentOS-Stream-9
api_key: ${{ secrets.TF_API_KEY }}
git_url: ${{ needs.pr-info.outputs.repo_url }}
git_ref: ${{ needs.pr-info.outputs.ref }}
git_url: virt-s1/bootc-workflow-test
git_ref: main
arch: "x86_64"
tmt_context: "arch=x86_64"
pull_request_status_name: "bootc-cs9-x86-libvirt-replace"
Expand Down

0 comments on commit 074dca3

Please sign in to comment.