Skip to content

Commit

Permalink
Remove buildjet arm64 job.
Browse files Browse the repository at this point in the history
Buildjet just doesn't start the job most of the time
  • Loading branch information
dflook committed Aug 1, 2024
1 parent 8a9a5aa commit b5f0b5b
Showing 1 changed file with 24 additions and 23 deletions.
47 changes: 24 additions & 23 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,29 +32,30 @@ jobs:
run: |
GNUPGHOME=$HOME/.gnupg PYTHONPATH=image/tools:image/src pytest tests
pytest_arm64:
runs-on: buildjet-2vcpu-ubuntu-2204-arm
name: pytest arm64
needs: pytest_amd64
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r tests/requirements.txt
gpg --recv-keys C874011F0AB405110D02105534365D9472D7468F \
&& echo "C874011F0AB405110D02105534365D9472D7468F:6:" | gpg --import-ownertrust
- name: Run tests
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
TERRAFORM_ACTIONS_GITHUB_TOKEN: No
run: |
GNUPGHOME=$HOME/.gnupg PYTHONPATH=image/tools:image/src pytest tests
# buildjet doesn't start the job most of the time
# pytest_arm64:
# runs-on: buildjet-2vcpu-ubuntu-2204-arm
# name: pytest arm64
# needs: pytest_amd64
# steps:
# - name: Checkout
# uses: actions/checkout@v4
#
# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip
# pip install -r tests/requirements.txt
#
# gpg --recv-keys C874011F0AB405110D02105534365D9472D7468F \
# && echo "C874011F0AB405110D02105534365D9472D7468F:6:" | gpg --import-ownertrust
#
# - name: Run tests
# env:
# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# TERRAFORM_ACTIONS_GITHUB_TOKEN: No
# run: |
# GNUPGHOME=$HOME/.gnupg PYTHONPATH=image/tools:image/src pytest tests

tofu:
runs-on: ubuntu-latest
Expand Down

0 comments on commit b5f0b5b

Please sign in to comment.