github.com/tigera/api@v0.0.0-20240320170621-278e89a8c5fb/.semaphore/semaphore.yml (about) 1 version: v1.0 2 name: API 3 execution_time_limit: 4 hours: 4 5 6 agent: 7 machine: 8 type: e1-standard-2 9 os_image: ubuntu2004 10 11 auto_cancel: 12 running: 13 when: "branch != 'master'" 14 queued: 15 when: "branch != 'master'" 16 17 global_job_config: 18 secrets: 19 - name: docker-hub 20 prologue: 21 commands: 22 - echo $DOCKERHUB_PASSWORD | docker login --username "$DOCKERHUB_USERNAME" --password-stdin 23 - checkout 24 25 blocks: 26 - name: Run build and tests 27 execution_time_limit: 28 minutes: 30 29 dependencies: [] 30 task: 31 jobs: 32 - name: "make build / ci" 33 commands: 34 - make build 35 - make ci