Skip to content

Commit

Permalink
Fix sem timeouts and priorities again
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian-McM committed Jun 18, 2021
1 parent 3290fca commit e968f4b
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: v1.0
name: Felix

execution_time_limit:
hours: 2
hours: 4

agent:
machine:
Expand Down Expand Up @@ -48,6 +48,8 @@ blocks:
os_image: ubuntu1804
jobs:
- name: Build
execution_time_limit:
minutes: 20
commands:
- checkout
- cache restore go-pkg-cache
Expand Down Expand Up @@ -86,6 +88,8 @@ blocks:
- sudo modprobe ipip
jobs:
- name: FV Test matrix
execution_time_limit:
minutes: 120
commands:
- make check-wireguard
- make fv FV_BATCHES_TO_RUN="${SEMAPHORE_JOB_INDEX}" FV_NUM_BATCHES=${SEMAPHORE_JOB_COUNT}
Expand All @@ -111,10 +115,14 @@ blocks:
- ./.semaphore/create-test-vm ${VM_NAME}
jobs:
- name: UT and Wireguard non-BPF FV on newer kernel
execution_time_limit:
minutes: 120
commands:
- ./.semaphore/on-test-vm make --directory=${REPO_NAME} ut-bpf
- ./.semaphore/on-test-vm make --directory=${REPO_NAME} check-wireguard
- name: FV on newer kernel
execution_time_limit:
minutes: 120
commands:
- ./.semaphore/on-test-vm make --directory=${REPO_NAME} fv-bpf GINKGO_FOCUS=BPF-SAFE FV_NUM_BATCHES=${SEMAPHORE_JOB_COUNT} FV_BATCHES_TO_RUN="${SEMAPHORE_JOB_INDEX}"
parallelism: 8
Expand Down Expand Up @@ -142,6 +150,8 @@ blocks:
- cache restore go-mod-cache
jobs:
- name: Static checks
execution_time_limit:
minutes: 15
commands:
- make static-checks
- name: Multi-arch builds, UT, k8sfv-tests
Expand All @@ -154,15 +164,23 @@ blocks:
- cache restore go-mod-cache
jobs:
- name: Build All
execution_time_limit:
minutes: 60
commands:
- make image-all
- name: UT
execution_time_limit:
minutes: 60
commands:
- make ut
- name: K8sfv with Typha
execution_time_limit:
minutes: 60
commands:
- make k8sfv-test JUST_A_MINUTE=true USE_TYPHA=true
- name: K8sfv without Typha
execution_time_limit:
minutes: 60
commands:
- make k8sfv-test JUST_A_MINUTE=true USE_TYPHA=false
- name: Trigger pin updates
Expand All @@ -174,6 +192,8 @@ blocks:
- name: semaphore-api
jobs:
- name: Trigger pin updates
execution_time_limit:
minutes: 5
commands:
- checkout
- make semaphore-run-auto-pin-update-workflows
9 changes: 9 additions & 0 deletions .semaphore/update_pins.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
version: v1.0
name: Trigger Pin Updates

execution_time_limit:
hours: 4

agent:
machine:
type: e1-standard-2
Expand Down Expand Up @@ -30,6 +34,11 @@ blocks:
- name: marvin-github-token
jobs:
- name: 'Auto pin update'
execution_time_limit:
minutes: 10
priority:
- value: 40
when: true
commands:
- CONFIRM=true make git-config
- CONFIRM=true GITHUB_TOKEN=${MARVIN_GITHUB_TOKEN} make trigger-auto-pin-update-process

0 comments on commit e968f4b

Please sign in to comment.