Skip to content

Instantly share code, notes, and snippets.

@gctucker
gctucker / gist:677693f1bfb2a5c5349913cdd3277893
Created November 16, 2021 14:59
Clang build time on linux-next
#!/usr/bin/env python3
import datetime
import json
import requests
import sys
URL = "https://storage.kernelci.org/next/master/next-{date}/x86_64/x86_64_defconfig/clang-13/{file}"
@gctucker
gctucker / kernelci-generic-api-v4l2.json
Last active August 25, 2020 07:09
KernelCI Generic Test API sample
{
"job": "mainline",
"git_branch": "master",
"git_commit": "d012a7190fc1fd72ed48911e77ca97ba4521bccd",
"kernel" : "v5.9-rc2",
"build_environment": "gcc-8",
"arch": "arm64",
"defconfig": "defconfig",
"defconfig_full": "defconfig",
@gctucker
gctucker / kci_data-ideas.md
Created June 26, 2020 12:05
kci_data ideas

Like all the other kci_* tools in kernelci-core, kci_data is using a YAML configuration file to know about databases where to send KernelCI data. This is typically going to be db-configs.yaml, with entries such as this:

db_configs:
  api.staging.kernelci.org:
    type: kernelci-backend
 url: https://api.staging.kernelci.org/
@gctucker
gctucker / test-report-email-002.html
Created September 11, 2018 14:32
test-report-email-002
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<style>
h1 {
font-size: 1.1em;
}
h2 {
font-size: 1.0em;
Modified test template with arbitrary sets:
steps:
- lava-test-case whoami --shell whoami
- lava-test-set start filesystem
- lava-test-case df --shell df -h
- lava-test-case mount --shell mount
- lava-test-case ls --shell ls /
- lava-test-set stop
- lava-test-set start networking
@gctucker
gctucker / splat_002.py
Last active December 22, 2015 13:29
Splat example #002 - Modulated rain-like noise around C major chord.
# Splat - splat_002.py
#
# Copyright (C) 2013 Guillaume Tucker <guillaume@mangoz.org>
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
# Foundation, either version 3 of the License, or (at your option) any later
# version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
@gctucker
gctucker / splat_001.py
Last active December 22, 2015 08:09
Splat example #001 - Fading from noise to A 440 Hz and reversed back to noise.
# Splat - splat_001.py
#
# Copyright (C) 2013 Guillaume Tucker <guillaume@mangoz.org>
#
# This program is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
# Foundation, either version 3 of the License, or (at your option) any later
# version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT