mirror of
https://github.com/BastilleBSD/templates.git
synced 2025-12-12 01:39:56 +01:00
23 lines
607 B
YAML
23 lines
607 B
YAML
|
|
# .cirrus.yml:
|
||
|
|
compute_engine_instance:
|
||
|
|
# Image list available via
|
||
|
|
# gcloud compute images list --project freebsd-org-cloud-dev --no-standard-images
|
||
|
|
platform: freebsd
|
||
|
|
image_project: freebsd-org-cloud-dev
|
||
|
|
image: freebsd-13-2-release-amd64
|
||
|
|
cpu: 1
|
||
|
|
memory: 2G
|
||
|
|
disk: 10
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
task:
|
||
|
|
webserver_tests:
|
||
|
|
description: Test the web server
|
||
|
|
freebsd:
|
||
|
|
- pkg install -y curl wget # Install required tools (for FreeBSD)
|
||
|
|
script:
|
||
|
|
- curl -Is http://localhost:8080/ | grep "HTTP/1.1 200 OK" # Example test with curl
|
||
|
|
- wget --spider http://localhost:8080/ # Example test with wget
|