Skip to content

Instantly share code, notes, and snippets.

@vdice
vdice / spin-app-oci-diagnostics.md
Created March 13, 2024 23:54
Spin App OCI Diagnostics

Spin App as OCI image diagnostics

Publish and pull app

Navigate to app directory and perform a roundtrip push/pull of the app to/from a registry (here using ttl.sh):

export IMAGE_NAME=$(uuidgen | tr '[:upper:]' '[:lower:]')
spin registry push ttl.sh/${IMAGE_NAME}:1h
spin registry pull ttl.sh/${IMAGE_NAME}:1h
@vdice
vdice / kind-issue-1732-debug-info.md
Last active July 14, 2020 21:34
Kind issue 1732 Debug info
 $ docker info
Client:
 Debug Mode: false
 Plugins:
  app: Docker Application (Docker Inc., v0.8.0)
  buildx: Build with BuildKit (Docker Inc., v0.3.1-tp-docker)
  ecs: Docker ECS (Docker Inc., v1.0.0-beta.1)

Server:
@vdice
vdice / porter schema output
Created February 27, 2019 22:20
porter schema output
$ porter version
porter v0.3.0-ralpha.1+caipirinha-20-g106ccfe (106ccfe)
$ porter schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"definitions": {
"azure.install": {
"additionalProperties": true,
@vdice
vdice / gist:bd275b1cdc1f70ee6c04413e2adc0a63
Last active February 5, 2019 18:00
Brig Dev Meeting, Feb 5th 2019
Agenda
- Brigade 1.0
- https://github.com/Azure/brigade/projects/1
- decide on features to bump to 1.1
- `brigadecore` GitHub Org
- CLA bot?
- Brigade CI for the org
- anything else keeping us from migrating everything there?
@vdice
vdice / gist:79238967245ba4ca966e50cc3c1e9a36
Created March 6, 2017 23:01
az acs kubernetes get-credentials
$ az group create --name "${AZURE_RG_NAME}" --location "${AZURE_DC_LOCATION}"
{
"id": "/subscriptions/7dbf3de9-32a5-4e90-b0ea-e86672956a7f/resourceGroups/vrd-rg",
"location": "westus",
"managedBy": null,
"name": "vrd-rg",
"properties": {
"provisioningState": "Succeeded"
},
"tags": null
@vdice
vdice / keybase.md
Last active October 21, 2016 03:08

Keybase proof

I hereby claim:

  • I am vdice on github.
  • I am vdice (https://keybase.io/vdice) on keybase.
  • I have a public key ASDewBkxUwMJiWAOdaPe6jruDNnixs-j15rZ8dsPXKjV0Ao

To claim this, I am signing this object:

@vdice
vdice / pipeline_research.md
Last active September 20, 2016 17:54
Initial Jenkins Pipeline research