Skip to content

Instantly share code, notes, and snippets.

View JamieMagee's full-sized avatar
💪

Jamie Magee JamieMagee

💪
View GitHub Profile
@JamieMagee
JamieMagee / config
Created October 5, 2021 21:32
Azure DevOps OpenSSH 8.8
Host ssh.dev.azure.com
HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedAlgorithms +ssh-rsa
@JamieMagee
JamieMagee / Webhooks.cs
Created July 29, 2021 19:04
NJsonSchema
//----------------------
// <auto-generated>
// Generated using the NJsonSchema v10.4.6.0 (Newtonsoft.Json v9.0.0.0) (http://NJsonSchema.org)
// </auto-generated>
//----------------------
namespace Octokit.Webhooks
{
#pragma warning disable // Disable all warnings
@JamieMagee
JamieMagee / schema.log.txt
Last active July 29, 2021 18:46
github webhooks quicktype
resolving # relative to schema.json# (schema.json#)
trying to fetch schema.json
successully fetched schema.json
resolved to # (schema.json#)
resolving # relative to schema.json# (schema.json#)
resolved to # (schema.json#)
resolving #/definitions/check_run_event relative to #/oneOf/0 (schema.json#/oneOf/0)
trying to fetch
couldn't fetch
resolved to #/definitions/check_run_event (schema.json#/definitions/check_run_event)
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const child_process_1 = require("child_process");
function getProjectUrl(project) {
if (typeof project === 'string') {
return project;
}
if ((project === null || project === void 0 ? void 0 : project.url) !== undefined) {
return project.url;
}
2021-02-23 21:36:59,136 - DEBUG - __main__ - Starting...
2021-02-23 21:36:59,137 - DEBUG - prep - Setting up...
2021-02-23 21:36:59,150 - DEBUG - __main__ - Clearing cache...
2021-02-23 21:36:59,159 - DEBUG - run - Starting analysis...
2021-02-23 21:36:59,222 - DEBUG - docker_api - Checking if image "gcr.io/distroless/base:latest" is available on disk...
2021-02-23 21:36:59,239 - DEBUG - docker_api - Image "gcr.io/distroless/base:latest" found
2021-02-23 21:36:59,777 - DEBUG - rootfs - Running command: tar -tf /root/.tern/temp.tar
2021-02-23 21:36:59,782 - DEBUG - rootfs - Running command: tar -x --exclude=.wh.* -f /root/.tern/temp.tar -C /root/.tern/temp
2021-02-23 21:36:59,819 - DEBUG - rootfs - Running command: tar -tf /root/.tern/temp/82a2e23fb9f1f5ac86b6c60196bff58e163601e5f37f1bc2bb1bd1781e8f6906/layer.tar
2021-02-23 21:36:59,831 - DEBUG - rootfs - Running command: tar -x --exclude=.wh.* -f /root/.tern/temp/82a2e23fb9f1f5ac86b6c60196bff58e163601e5f37f1bc2bb1bd1781e8f6906/layer.tar -C /root/.tern/temp/82
This file has been truncated, but you can view the full file.
{
"images": [
{
"image": {
"repotag": "node:14.15.3-alpine3.12",
"name": "node",
"tag": "14.15.3-alpine3.12",
"manifest": [
{
schedules:
- cron: '0 * * * *'
displayName: 'Hourly'
branches:
include:
- master
always: true
trigger: none
@JamieMagee
JamieMagee / build.gradle.kts
Last active May 5, 2020 20:01
Renovate Gradle Kotlin build script
plugins {
kotlin("jvm") version "1.3.72"
}
group = "org.example"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
@JamieMagee
JamieMagee / yarn-v2.diff
Created April 8, 2020 21:26
Yarn V2 test fixes
diff --git a/lib/workers/branch/lock-files/__snapshots__/yarn.spec.ts.snap b/lib/workers/branch/lock-files/__snapshots__/yarn.spec.ts.snap
index a95efc06f..e9f07d0bf 100644
--- a/lib/workers/branch/lock-files/__snapshots__/yarn.spec.ts.snap
+++ b/lib/workers/branch/lock-files/__snapshots__/yarn.spec.ts.snap
@@ -105,6 +105,85 @@ Array [
]
`;
+exports[`generateLockFile finds yarn v1.0.0 globally 1`] = `
+Array [
{
"name": "renovate-depreaction-replacements",
"version": "0.0.1",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Jamie Magee <jamie.magee@gmail.com> (https://jamiemagee.co.uk)",
"license": "MIT",