This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is the docker file for building our GHA runner with servercore. | |
# | |
# Current size about 5.1GB | |
# | |
# We build this from Linux using Docker server on Windows. | |
# The final RUN is called by k8s. | |
FROM mcr.microsoft.com/windows/servercore:ltsc2022 | |
LABEL maintainer="Chevah Project <dev@chevah.com>" | |
LABEL name=arc-runner-windows |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-HNSNetwork | |
ActivityId : B17F2C60-D0F2-4DB0-A289-3EDAC3BD9A40 | |
AdditionalParams : | |
CurrentEndpointCount : 0 | |
DNSServerCompartment : 3 | |
DrMacAddress : 00-15-5D-EE-77-9E | |
Extensions : {@{Id=E7C3B2F0-F3C5-48DF-AF2B-10FED6D72E7A; IsEnabled=False; Name=Microsoft Windows Filtering Platform}, | |
@{Id=F74F241B-440F-4433-BB28-00F89EAD20D8; IsEnabled=True; Name=Microsoft Azure VFP Switch Extension}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ kubectl logs -n arc-runners arc-gha-rs-controller-768bbf89f6-zwkdg | |
Error from server (NotFound): pods "arc-gha-rs-controller-768bbf89f6-zwkdg" not found | |
✘-1 ~/chevah/server [6279-arc-linux-arm64|✚ 2⚑ 6] | |
17:29 $ kubectl logs -n arc-systems arc-gha-rs-controller-768bbf89f6-zwkdg | |
2023-10-22T07:05:14Z INFO Update strategy set to: {"updateStrategy": "immediate"} | |
2023-10-22T07:05:14Z INFO AutoscalingListener image pull policy changed {"ImagePullPolicy": "IfNotPresent"} | |
2023-10-22T07:05:14Z INFO AutoscalingListener logging parameters changed {"LogLevel": "debug", "LogFormat": "text"} | |
2023-10-22T07:05:14Z INFO Registering scale set metrics | |
2023-10-22T07:05:14Z INFO starting manager | |
2023-10-22T07:05:14Z INFO Starting EventSource {"controller": "autoscalingrunnerset", "controllerGroup": "actions.github.com", "controllerKind": "AutoscalingRunnerSet", "source": "kind source: *v1alpha1.AutoscalingRunnerSet"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# A workflow which is only available for manual trigger. | |
# | |
name: Try-Patch | |
on: | |
workflow_dispatch: | |
inputs: | |
tests: | |
description: Run selected tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/var/lib/mailman/archives/public$ ls -1 | |
divunal-author | |
divunal-author.mbox | |
divunal-devel | |
divunal-devel.mbox | |
divunal-list | |
divunal-list.mbox | |
divunal-players.mbox | |
inheritance | |
inheritance.mbox |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Code under public domain. | |
""" | |
Authentication based on a remote RADIUS server. | |
""" | |
from __future__ import absolute_import, unicode_literals | |
import contextlib | |
import os | |
import socket | |
import struct | |
import hashlib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def flaky(count=3, os_version=None): | |
""" | |
A decorator generator to retry a test if it fails in one of the OS from | |
`os_version`. | |
When `os_version` is None it will retry on any OS. | |
It will not work with any tests. | |
The setUp and tearDown is only called once and not called between |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# This is free and unencumbered software released into the public domain. | |
# | |
# Created by Nils Kollandsrud and modified by Adi Roiban. | |
# | |
# Script for creating a new service account on OSX. | |
# It will create a dedicated group and username for the service account. | |
# usage: sh shellname.sh username |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Proxy protocol support. | |
Code based on https://github.com/icgood/proxy-protocol | |
http://www.haproxy.org/download/1.8/doc/proxy-protocol.txt | |
""" | |
from __future__ import unicode_literals | |
import socket | |
import struct |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""i18n_subsites plugin creates i18n-ized subsites of the default site | |
This plugin is designed for Pelican 3.4 and later | |
""" | |
import os | |
import six | |
import logging | |
import posixpath |
NewerOlder