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
import { check, group, sleep } from 'k6'; | |
import http from 'k6/http'; | |
import { Rate } from "k6/metrics"; | |
// A custom metric to track failure rates | |
var failureRate = new Rate("check_failure_rate"); | |
// Version: 1.2 | |
// Creator: WebInspector |
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
version: '3' | |
services: | |
dind: | |
image: "docker:dind" | |
volumes: | |
- jenkins-docker-certs:/certs/client | |
- jenkins-data:/var/jenkins_home | |
networks: | |
jenkins: | |
aliases: |
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/bash | |
# Array of options | |
colors=(000000 ffc857) | |
num_colors=${#colors[@]} | |
# Find current title color | |
cur_value=$(sed -n -e 's/^.*title_color=//p' readme.md | cut -c 1-6) | |
# Get index of current title color in colors array |
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
version: "3" | |
services: | |
react-app: | |
# react-app code and Dockerfile within the client sub directory | |
build: ./client | |
stdin_open: true | |
ports: | |
- "3000:3000" | |
networks: | |
- mern-app |
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
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: maintenance-page | |
data: | |
maintenance.html: |- | |
<!--HTML GOES HERE--> | |
<!doctype html> | |
<title>Site Maintenance</title> | |
<link rel="stylesheet" href="maintenance.css"> |
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
console.log("hello") |