Skip to content

Instantly share code, notes, and snippets.

View foursixnine's full-sized avatar
♾️
Dreaming about arepas and maria cookies!

Santiago Zarate foursixnine

♾️
Dreaming about arepas and maria cookies!
View GitHub Profile
#!/bin/bash
set -e
# JOB="https://openqa.opensuse.org/tests/6148676"
# CASEDIR="CASEDIR=https://github.com/foursixnine/os-autoinst-distri-opensuse.git#$(git rev-parse --abbrev-ref HEAD)"
# SCHEDULE=tests/installation/bootloader_start,tests/boot/boot_to_desktop,tests/console/prepare_test_data,tests/console/mdadm\
# SCHEDULE="YAML_SCHEDULE=schedule/opensuse/agama/agama_raid_unattended.yaml"
# AGAMA_PROFILE_OPTIONS='product="%AGAMA_PRODUCT_ID%" bootloader=false storage=raid0_uefi_search'
#!/bin/bash
set -e
export WORKDIR=/workdir
mkdir $WORKDIR
pushd $WORKDIR
zypper -n in -y osc git iproute2 openssh-server openssh screen sudo
useradd -m sshboy
@foursixnine
foursixnine / check-openqa-aeon.sh
Created February 18, 2026 11:29
Check for failing aeon tests in openQA
# build=$(openqa-cli api --o3 job_groups/1/build_results only_tagged=1 | jq -e -r '[ .build_results[] | select(.tag.description=="published") | .build ][0]')
build=$(curl -s https://openqa.opensuse.org/group_overview/1.json | jq -e -r '[ .build_results[] | .build ][0]')
echo "Found build ${build}"
failed_jobs=$(openqa-cli api --o3 jobs distri=aeon version=Tumbleweed build=${build} groupid=1 result=failed \
| jq -r '.jobs | .[] | "https://openqa.opensuse.org/tests/\(.id)"')
# failed_jobs=$(curl -s "https://openqa.opensuse.org/tests/overview.json?distri=aeon&version=Tumbleweed&build=${build}&groupid=1" | \
# jq -e -r '
GS_BUCKET=$1
GLACIER_STORAGE_DIR=venapp-storage
# systemd-inhibit --what=sleep --what=shutdown --who="Downloader" --mode=block --why="because yes" waitpid -v $(pgrep -f "bash -x downloader.sh") #pgrep -f "bash downloader.sh"
cd $HOME
tmux new -A -d -s gdownloader
tmux neww -t gdownloader: -n "monitor" htop
FOLDERS=$(gsutil ls ${GS_BUCKET} | cut -d\/ -f4 | grep -v -E "\.(png|jpg)" | sort -r)
echo $FOLDERS;
for f in $FOLDERS; do
echo "Processing: $f" >> downloaded.list
# Appendix: Links and other Information
* [5whys Method](https://en.wikipedia.org/wiki/Five\_whys) for Cause and Effect/Root Cause Analisys/Information Discovery
* [PDCA \- Wikipedia](https://en.wikipedia.org/wiki/PDCA) \- Plan-Do-Study-Act ([Demming Circle](https://deming.org/explore/pdsa/))
* [Conway’s law](https://www.dcme.nu/conways-law/)
* [Product Management World](https://productmanagement.world/Home+Page) (Specially for entrepreneurs)
* [Applying Conway's Law to improve your software development | Thoughtworks](https://www.thoughtworks.com/insights/blog/applying-conways-law-improve-your-software-development)
* [QE Engineer Profile](https://gist.github.com/foursixnine/0aa50c8e5f95890ba99e72d356f1c5eb) \- Mostly a collection of links, useful overall
* [Civic Tech Field Guide](https://directory.civictech.guide/)
* [TransparenCEE network – Medium](https://medium.com/transparencee-network)
@foursixnine
foursixnine / gist:0aa50c8e5f95890ba99e72d356f1c5eb
Last active December 28, 2024 11:47
# QE Engineer Profile

QE Engineer Profile

Take the information here with a grain of salt, use update and notify if you make changes, or contact Santiago Zarate.

Bare Minimum

@foursixnine
foursixnine / stuff.pm
Created December 12, 2022 09:20
Perl static method call
package stuff;
use v5.30;
sub cc {
say 'hello!'.__PACKAGE__;
}
1;
@foursixnine
foursixnine / nginx.conf
Last active July 30, 2020 17:48 — forked from foxxyz/nginx.conf
Serve react app from current directory via nginx
# Extremely basic development setup to serve the current directory at http://localhost:9001
# Start nginx in this directory with `nginx -p . -c nginx.conf`
# Stop nginx with `nginx -p . -s stop`
# for opensuse: if running as a user, after running yarn build: `/usr/sbin/nginx -p . -c nginx.conf`
events {}
http {
# Serve files with correct mimetypes on OSX
# location may have to be adjusted depending on your OS and nginx install
include /usr/local/etc/nginx/mime.types;
# works
_cmd = "/home/foursixnine/Projects/suse.com/github.com/os-autoinst/openQA/script/client --host %s"
_cmd += " --apibase / --apikey %s --apisecret %s"
_cmd += " tests/%d/file/autoinst-log.txt get"
this_process = subprocess.run(_args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
_output = this_process.stdout
# doesnt:
_cmd = "/home/foursixnine/Projects/suse.com/github.com/os-autoinst/openQA/script/client --host %s "
for job in $(cat jobs.list); do ./script/client --host openqa.suse.de jobs/${job##*/} delete; done;