update parallelism in ci
continuous-integration/drone/push Build encountered an error Details
continuous-integration/drone/pr Build encountered an error Details

This commit is contained in:
Elizabeth 2024-04-02 16:36:54 -06:00
parent 07c272b809
commit 14b450b9c8
Signed by: simponic
GPG Key ID: 2909B9A7FF6213EE
1 changed files with 15 additions and 9 deletions

View File

@ -1,15 +1,26 @@
---
kind: pipeline
type: docker
name: deployment
name: build
steps:
- name: run tests
image: golang
commands:
- go build
- go test -v ./...
- go test -p 1 -v ./...
trigger:
event:
- pull_request
- push
---
kind: pipeline
type: docker
name: build
steps:
- name: docker
image: plugins/docker
settings:
@ -19,10 +30,6 @@ steps:
from_secret: gitea_packpub_password
registry: git.hatecomputers.club
repo: git.hatecomputers.club/hatecomputers/hatecomputers.club
when:
branch:
- main
- name: ssh
image: appleboy/drone-ssh
settings:
@ -34,10 +41,9 @@ steps:
command_timeout: 2m
script:
- systemctl restart docker-compose@hatecomputers-club
when:
branch:
- main
trigger:
branch:
- main
event:
- push