Skip to content

Commit

Permalink
add testing farm github action
Browse files Browse the repository at this point in the history
  • Loading branch information
lilyLuLiu committed Aug 19, 2024
1 parent 7b042f7 commit dfdb457
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/testing-farm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Testing Farm test
on:
pull_request: {}

jobs:
tests:
runs-on: [self-hosted, linux, testing-farm]

steps:
- uses: actions/checkout@v4
- name: get message
run: |
echo "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCy2sAVsmqTZOSp3B/+aNwuLuYil5csev6ezn/jJRHrgwV+bwpgqEuN/72aRwFMXZEZEoYAmsVhTOddH52psbcdY8MvP0jK3x/GYXgjHWbjhFzkn3RL8ZesHr6vHkuofOwobX4+z0jgAV6rUBTxyh8n0AUSL+DK2etBiPoM/LXbTmuc7tMTXNeCWAedmpSnzgl0s2QHZVj/C8BHmW5yzKebCLh1EVKrbChQLhuYe0BV4ozLiUNWSGDbppZQlIcJ1rvNAiFbWPxlF/VMinn6n07TSuq4yhFfrgSfsehZZXLUw+lxUPw1nC2HxJsfMTvVzy4mPjwyFtjKVhLGfNvXxi0RpG+aPsXaCvuBaO5ZGFClFbBxEqcJIRoc8CLQc2n7nN1pxjzu7eiStUm5DwkFnWnGu3+yqxTIPWDtDYRzsdXsSy6HqcD0Qjwvh2p83Lel1qU8zn5dZz7yUkGhoHUdAQu4vvvcaK/B7YLBUKw4ROiWxJ+t6BOBVwlWhkQibMK3n70= lul@lul-mac" \
> ~/.ssh/sshkey.pub
- name: reserve machine from testing farm
run: |
export TESTING_FARM_API_TOKEN=${{ secrets.TESTING_FARM_API_TOKEN }}
testing-farm reserve --compose Fedora-Rawhide --arch x86_64 --ssh-public-key ~/.ssh/sshkey.pub --no-autoconnect

0 comments on commit dfdb457

Please sign in to comment.