Skip to content

Instantly share code, notes, and snippets.

@coryb
coryb / main.go
Last active October 25, 2021 06:27
Crude buildkit gateway exec with interactive tty
package main
import (
"context"
"os"
"os/signal"
"syscall"
client "github.com/moby/buildkit/client"
"github.com/moby/buildkit/client/llb"
@coryb
coryb / gist:85ccce500c831df508224256b3041b00
Created August 31, 2020 22:17
grpc message flow for gateway exec
@startuml
participant Client as C
participant Server as S
C -> S : NewContainerRequest
C -> S : InitMessage
S -> C : StartedMessage
group Process IO
loop
@coryb
coryb / main.go
Created August 31, 2020 20:34
sample main for getting interactive tty in buildkit container
package main
import (
"context"
"os"
"os/signal"
"syscall"
buildkitClient "github.com/moby/buildkit/client"
"github.com/moby/buildkit/client/llb"
@coryb
coryb / gist:5688327
Created May 31, 2013 22:14
assumeRole patch
diff --git a/build.gradle b/build.gradle
index b35e9a3..c8b2ba3 100644
--- a/build.gradle
+++ b/build.gradle
@@ -33,7 +33,7 @@ dependencies {
compile 'com.sun.jersey:jersey-server:1.11'
compile 'com.sun.jersey:jersey-servlet:1.11'
compile 'org.slf4j:slf4j-api:1.6.4'
- compile('com.amazonaws:aws-java-sdk:1.3.11') {
+ compile('com.amazonaws:aws-java-sdk:1.4.4.1') {
#!/usr/bin/env perl
use File::Temp;
use Getopt::Long;
my($project, $component);
my $type = "Bug";
GetOptions(
'project=s' => \$project,
'component=s' => \$component,