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
const fs = require('fs'); | |
const tls = require('tls'); | |
const net = require('net'); | |
const server = tls | |
.createServer( | |
{ | |
key: fs.readFileSync('/opt/ssl/certs/key.pem'), | |
cert: fs.readFileSync('/opt/ssl/certs/cert.pem'), | |
}, | |
clientToProxySocket => { |
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
/* eslint-disable */ | |
import NodeEnvironment from "jest-environment-node"; | |
/** | |
* Enables to run as steps of a pipeline | |
* | |
* Features | |
* - run all previous tests before running the current test | |
* - Skip all future steps if current step fails |
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
const fs = require("fs"); | |
const home = process.env.HOME; | |
const zeitHome = "/vercel"; | |
const configureGit = function (credentials) { | |
console.log("Configuring git credentials for zeit"); | |
credentials.forEach(credential => { | |
fs.appendFileSync( | |
home + "/.git-credentials", | |
"https://" + |