# Job examples

> RealHW GitLab CI job snippets.

Source: https://docs.realhw.dev/reference/job-examples/
Documentation index: https://docs.realhw.dev/llms.txt

## Basic shape

```yaml
unit-tests:
  tags:
    - saas-linux-medium-amd64
  script:
    - cargo test
```

## Hardware shape

```yaml
packet-test:
  tags:
    - saas-linux-large-amd64
    - nic:tier:25g
  variables:
    HW_NIC_TIER: "25g"
    HW_SRIOV_VF_COUNT: "1"
  script:
    - ./run_packet_test.sh
```

## Explicit placement

```yaml
bare-metal-cert:
  tags:
    - saas-linux-large-amd64
    - gpu:nvidia
  variables:
    HW_PLACEMENT: "bare-metal"
    HW_GPU_COUNT: "1"
  script:
    - ./run-certification.sh
```
