Skip to content

Instantly share code, notes, and snippets.

View M0ses's full-sized avatar

Frank Schreiner M0ses

  • SUSE Linux GmbH
View GitHub Profile
domain_name: obs-server-s390
default_job: tumbleweed
jobs:
clean:
-
use_module: Kanku::Handler::RemoveDomain
options:
domain_name: obs-server-s390
-
- New Tools:
* writemodulemd
* pbuild
* unpackarchive
- Feature: add license querying to Build::Rpmmd
- Feature: modulemd support
- Feature: pbuild initial release
- Feature: added versioned debian configs (7-11)

List of services deployed in build.opensuse.org

Service provided by obs-service-tar_scm:

  • obs-service-obs_scm
  • obs-service-tar_scm
  • obs-service-snapcraft
  • obs-service-appimage

Useful additional services

@M0ses
M0ses / Installing_EOS_with_wine.md
Last active February 14, 2021 22:24
How to install EOS with wine under Linux (Best Practice)

Wie installiere ich EOS am Besten unter Linux?

Wine mit extra PREFIX richtig konfigurieren

WINEPREFIX=~/.EOS-wine winecfg

In "winecfg" folgende Option deaktivieren:

-> Grafik -> "Erlaube dem Fenstermanager die Fenster zu dekorieren"

@M0ses
M0ses / update_meta_pkg
Created November 23, 2020 16:50
Simply script to generate OBS package meta information from spec file and print an osc command which can be pasted in a shell
#!/usr/bin/perl
use strict;
use warnings;
my $prj = 'devel:languages:perl';
my $template = <<EOL;
####################################################
osc meta pkg -F - %s %s <<EOF
#
Kanku::Util::IPTables:
start_port: 49001
domain_name: libretime
default_job: kanku-job
login_user: root
login_pass: kankudai
@M0ses
M0ses / README.md
Last active April 16, 2019 09:42
kubernetes-memo
 kubectl apply -f test-leap.yaml
 kubectl exec -it test-leap-pod -- /bin/bash

Add kube-registry as insecure registry on each node

SEE /etc/containers/registries.conf

@M0ses
M0ses / gist:811685792e289535713fee92222f2992
Created June 13, 2018 08:46
obs-service-tar_scm_issue_228
#!/bin/bash
export CACHEDIRECTORY=/tmp/cache
export OSC_VERSION=1
rm -rf /tmp/cache/*
rm -rf FreeRDP
DEBUG_TAR_SCM=1 osc service dr

Prepare

export OBS_USERNAME=M0ses

APPImage

Create new project

Create temporary config file

diff --git a/lib/sle2docker/native_image.rb b/lib/sle2docker/native_image.rb
index 955895e..ffb8b5d 100644
--- a/lib/sle2docker/native_image.rb
+++ b/lib/sle2docker/native_image.rb
@@ -48,10 +48,18 @@ module Sle2Docker
@metadata = parse_metadata_file("#{match['metadata_file']}.metadata")
@repository = @metadata['image']['name']
@tag = @metadata['image']['tags'][0]
+ verify_tag
@build = match['build']