From 71c0d3c14c54c8c8b780c081c7475d93da60cc3a Mon Sep 17 00:00:00 2001 From: Xiaofeng Wang Date: Tue, 6 Feb 2024 12:41:31 +0800 Subject: [PATCH 1/2] ci: no checkout and run testing farm directly --- .github/workflows/cs9-x86.yml | 68 +++++------------------------------ 1 file changed, 8 insertions(+), 60 deletions(-) diff --git a/.github/workflows/cs9-x86.yml b/.github/workflows/cs9-x86.yml index 8bf672b..4a4cb09 100644 --- a/.github/workflows/cs9-x86.yml +++ b/.github/workflows/cs9-x86.yml @@ -54,26 +54,13 @@ jobs: runs-on: ubuntu-latest steps: - - 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" @@ -86,26 +73,13 @@ jobs: runs-on: ubuntu-latest steps: - - 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" @@ -118,26 +92,13 @@ jobs: runs-on: ubuntu-latest steps: - - 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" @@ -150,26 +111,13 @@ jobs: runs-on: ubuntu-latest steps: - - 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" From a123fc94b5a06de07d0830b55406a336c760cc67 Mon Sep 17 00:00:00 2001 From: henrywang Date: Tue, 6 Feb 2024 04:42:40 +0000 Subject: [PATCH 2/2] build: centos-bootc:stream9 - stream9.20240206.0 - 2024-02-06 --- files/pr_file | 1 + 1 file changed, 1 insertion(+) diff --git a/files/pr_file b/files/pr_file index e69de29..e9064f2 100644 --- a/files/pr_file +++ b/files/pr_file @@ -0,0 +1 @@ +sha256:972e47821f115b2c4ef81a472373241f920a020d2f39828a6304b74109412762