Skip to content

Commit

Permalink
Use self-hosted runners
Browse files Browse the repository at this point in the history
  • Loading branch information
plars committed Oct 27, 2023
1 parent 631d44d commit c22a879
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/agent-tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
defaults:
run:
working-directory: agent
runs-on: ubuntu-latest
runs-on: [self-hosted, linux, X64]
strategy:
matrix:
python: ["3.8", "3.10"]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cli-tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "[cli] Run unit tests"

on:
push:
branches: [ main ]
branches: [ main, try-self-hosted ]
paths:
- cli/**
pull_request:
Expand All @@ -15,7 +15,7 @@ jobs:
defaults:
run:
working-directory: cli
runs-on: ubuntu-latest
runs-on: [self-hosted, linux, X64]
strategy:
matrix:
python: ["3.8", "3.10"]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/device-tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "[device-connectors] Run unit tests"

on:
push:
branches: [ main ]
branches: [ main, try-self-hosted ]
paths:
- device-connectors/**
pull_request:
Expand All @@ -15,7 +15,7 @@ jobs:
defaults:
run:
working-directory: device-connectors
runs-on: ubuntu-latest
runs-on: [self-hosted, linux, X64]
strategy:
matrix:
python: ["3.8", "3.10"]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/server-charm-check-libs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
build:
name: Check charm libraries
runs-on: ubuntu-latest
runs-on: [self-hosted, linux, X64]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/server-charm-release-edge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
build:
name: Release to Charmhub
runs-on: ubuntu-latest
runs-on: [self-hosted, linux, X64]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/server-publish-oci-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ env:

jobs:
build-and-push-backend-image:
runs-on: ubuntu-latest
runs-on: [self-hosted, linux, X64]
permissions:
contents: read
packages: write
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/server-tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: "[server] Run unit tests"

on:
push:
branches: [ main ]
branches: [ main, try-self-hosted ]
paths:
- server/**
pull_request:
Expand All @@ -15,7 +15,7 @@ jobs:
defaults:
run:
working-directory: server
runs-on: ubuntu-latest
runs-on: [self-hosted, linux, X64]
strategy:
matrix:
python: ["3.8", "3.10"]
Expand Down

0 comments on commit c22a879

Please sign in to comment.