Skip to content

Instantly share code, notes, and snippets.

Avatar
🤖

Nils Balkow-Tychsen Nilsty

🤖
View GitHub Profile
@Nilsty
Nilsty / humanitec-metrics-demo.py
Last active Sep 16, 2021
Demo Humanitec metrics
View humanitec-metrics-demo.py
import requests
import sys
humanitec_url = "api.humanitec.io"
def printUsage():
print(f"usage: python3 {sys.argv[0]} your-humanitec-api-token")
exit()
if len(sys.argv) != 2:
View kube-library-example.robot
# This is an example test case for the Robot Framework KubeLibrary
# https://github.com/devopsspiral/KubeLibrary
*** Settings ***
Library KubeLibrary None True False
*** Variables ***
${POD_NAME_PATTERN} my-pod-name
${NAMESPACE} my-namespace
${IMAGE_NAME} my-image:1.0.0