Compare commits

...

7 Commits

Author SHA1 Message Date
e418ea627f
Merge pull request 'Better ci tests' (#10) from feature/cool-ci-tests into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #10
2023-02-25 17:04:08 +00:00
920ffbc2b6
Updated package url
All checks were successful
continuous-integration/drone/pr Build is passing
2023-02-25 18:03:06 +01:00
718dfb59dd
revert 4 test
Some checks failed
continuous-integration/drone/pr Build is failing
2023-02-25 18:01:56 +01:00
22e7517839
Added automatic testing of defined package list
Some checks failed
continuous-integration/drone/pr Build is failing
2023-02-25 17:59:52 +01:00
4df24805eb
Added package list for testing 2023-02-25 17:59:33 +01:00
582715bc11
Added delay
All checks were successful
continuous-integration/drone/pr Build is passing
2023-02-25 17:51:02 +01:00
d148f54604
added ci redis test
Some checks failed
continuous-integration/drone/pr Build is failing
2023-02-25 17:47:36 +01:00
2 changed files with 16 additions and 1 deletions

View File

@ -61,7 +61,7 @@ kind: pipeline
type: kubernetes
name: test:pr
steps:
- name: basic build test
- name: basic build
image: registry.odit.services/hub/library/golang:1.20-alpine3.16
commands:
- go mod download
@ -70,6 +70,16 @@ steps:
CGO_ENABLED: "0"
GOOS: linux
GOARCH: amd64
- name: test with redis
image: registry.odit.services/hub/library/redis:7-alpine3.16
commands:
- redis-server & ./build &
- sleep 5
- xargs wget -O /dev/null <testing/packages.txt
environment:
CGO_ENABLED: "0"
GOOS: linux
GOARCH: amd64
trigger:
event:
- pull_request

5
testing/packages.txt Normal file
View File

@ -0,0 +1,5 @@
http://127.0.0.1:8080/axios
http://127.0.0.1:8080/svelte
http://127.0.0.1:8080/@sveltejs/kit
http://127.0.0.1:8080/release-it
http://127.0.0.1:8080/auto-changelog