Skip to content

Commit

Permalink
test: define context githubaction
Browse files Browse the repository at this point in the history
  • Loading branch information
mcattamoredhat committed May 23, 2024
1 parent d22f32b commit ff75ed0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/fedora-39.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ jobs:
uses: sclorg/testing-farm-as-github-action@v2
with:
compose: Fedora-39-Updated
arch: x86_64
api_key: ${{ secrets.TF_API_KEY }}
git_url: ${{ needs.pr-info.outputs.repo_url }}
git_ref: ${{ needs.pr-info.outputs.ref }}
update_pull_request_status: true
pull_request_status_name: "iot-f39-x86"
tmt_context: "arch=x86_64;distro=fedora"
tmt_plan_regex: edge-x86
tf_scope: private
secrets: "DOWNLOAD_NODE=${{ secrets.DOWNLOAD_NODE }};OCP4_TOKEN=${{ secrets.OCP4_TOKEN }};QUAY_USERNAME=${{ secrets.QUAY_USERNAME }};QUAY_PASSWORD=${{ secrets.QUAY_PASSWORD }};DOCKERHUB_USERNAME=${{ secrets.DOCKERHUB_USERNAME }};DOCKERHUB_PASSWORD=${{ secrets.DOCKERHUB_PASSWORD }};AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }};AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }};GOVC_URL=${{ secrets.GOVC_URL }};GOVC_USERNAME=${{ secrets.GOVC_USERNAME }};GOVC_PASSWORD=${{ secrets.GOVC_PASSWORD }}"
Expand All @@ -86,12 +86,12 @@ jobs:
uses: sclorg/testing-farm-as-github-action@v2
with:
compose: Fedora-39-Updated
arch: aarch64
api_key: ${{ secrets.TF_API_KEY }}
git_url: ${{ needs.pr-info.outputs.repo_url }}
git_ref: ${{ needs.pr-info.outputs.ref }}
update_pull_request_status: true
pull_request_status_name: "iot-f39-arm"
tmt_context: "arch=aarch64;distro=fedora"
tmt_plan_regex: edge-arm
tf_scope: private
secrets: "DOWNLOAD_NODE=${{ secrets.DOWNLOAD_NODE }};OCP4_TOKEN=${{ secrets.OCP4_TOKEN }};QUAY_USERNAME=${{ secrets.QUAY_USERNAME }};QUAY_PASSWORD=${{ secrets.QUAY_PASSWORD }};DOCKERHUB_USERNAME=${{ secrets.DOCKERHUB_USERNAME }};DOCKERHUB_PASSWORD=${{ secrets.DOCKERHUB_PASSWORD }};AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY_ID }};AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_ACCESS_KEY }};GOVC_URL=${{ secrets.GOVC_URL }};GOVC_USERNAME=${{ secrets.GOVC_USERNAME }};GOVC_PASSWORD=${{ secrets.GOVC_PASSWORD }}"
Expand Down
20 changes: 5 additions & 15 deletions tmt/plans/edge-test.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -49,49 +49,39 @@ provision:
environment+:
TEST_CASE: edge-fdo-aio
adjust+:
- when: arch != x86_64
enabled: false
- when: distro == fedora
- when: arch != x86_64 or distro == fedora
enabled: false

/edge-x86-fdo-db:
summary: Test edge with fdo package with db
environment+:
TEST_CASE: edge-fdo-db
adjust+:
- when: arch != x86_64
enabled: false
- when: distro == fedora
- when: arch != x86_64 or distro == fedora
enabled: false

/edge-x86-ignition:
summary: Test edge ignition feature
environment+:
TEST_CASE: edge-ignition
adjust+:
- when: arch != x86_64
enabled: false
- when: distro == fedora
- when: arch != x86_64 or distro == fedora
enabled: false

/edge-x86-pulp:
summary: Test edge pulp feature
environment+:
TEST_CASE: edge-pulp
adjust+:
- when: arch != x86_64
enabled: false
- when: distro == fedora
- when: arch != x86_64 or distro == fedora
enabled: false

/edge-x86-vsphere:
summary: Test edge vsphere image
environment+:
TEST_CASE: edge-vsphere
adjust+:
- when: arch != x86_64
enabled: false
- when: distro == fedora
- when: arch != x86_64 or distro == fedora
enabled: false

/edge-x86-ami-image:
Expand Down

0 comments on commit ff75ed0

Please sign in to comment.