Some checks failed
particle-os CI / Test particle-os (push) Failing after 1s
particle-os CI / Integration Test (push) Has been skipped
particle-os CI / Security & Quality (push) Failing after 1s
Test particle-os Basic Functionality / test-basic (push) Failing after 1s
Tests / test (1.21.x) (push) Failing after 2s
Tests / test (1.22.x) (push) Failing after 1s
particle-os CI / Build and Release (push) Has been skipped
69 lines
1.6 KiB
YAML
69 lines
1.6 KiB
YAML
name: debian-test
|
|
description: Simple Debian test with apt-cacher-ng support
|
|
base-image: debian:trixie-slim
|
|
image-version: "13"
|
|
|
|
stages:
|
|
- type: org.osbuild.debian.sources
|
|
options:
|
|
mirror: "https://deb.debian.org/debian"
|
|
suite: "trixie"
|
|
components: ["main", "contrib", "non-free"]
|
|
apt_cacher_ng: "http://192.168.1.101:3142" # Your apt-cacher-ng server
|
|
additional_sources:
|
|
- "deb http://192.168.1.101:3142/HTTPS///get.docker.com/ubuntu docker main"
|
|
|
|
- type: org.osbuild.debian.apt
|
|
options:
|
|
packages:
|
|
- curl
|
|
- wget
|
|
- vim
|
|
- less
|
|
- locales
|
|
- ca-certificates
|
|
- tzdata
|
|
- apt-transport-https
|
|
- gnupg
|
|
update: true
|
|
clean: true
|
|
|
|
- type: org.osbuild.debian.locale
|
|
options:
|
|
language: en_US.UTF-8
|
|
default_locale: en_US.UTF-8
|
|
|
|
- type: org.osbuild.debian.timezone
|
|
options:
|
|
timezone: UTC
|
|
|
|
- type: org.osbuild.debian.users
|
|
options:
|
|
users:
|
|
testuser:
|
|
password: "$6$rounds=656000$salt$hashedpassword"
|
|
shell: /bin/bash
|
|
groups: ["users"]
|
|
uid: 1000
|
|
gid: 1000
|
|
home: /home/testuser
|
|
comment: "Test User"
|
|
default_shell: /bin/bash
|
|
default_home: /home
|
|
|
|
- type: org.osbuild.qemu
|
|
options:
|
|
formats: ["raw", "qcow2"]
|
|
size: "5G"
|
|
filename: "debian-test"
|
|
|
|
output:
|
|
formats: ["raw", "qcow2"]
|
|
size: "5G"
|
|
path: "debian-test"
|
|
|
|
metadata:
|
|
author: "particle-os"
|
|
category: "testing"
|
|
tags: ["testing", "packages", "users", "apt-cacher-ng"]
|
|
apt_cacher_ng: "http://192.168.1.101:3142"
|