Skip to content

Instantly share code, notes, and snippets.

View tejal29's full-sized avatar

Tejal Desai tejal29

View GitHub Profile
@tejal29
tejal29 / diff
Created April 26, 2022 21:22
fix lint
From bf3d33681a361bb686377cd4663c04fa0ec9aa10 Mon Sep 17 00:00:00 2001
From: tejal29 <tejal29@gmail.com>
Date: Tue, 26 Apr 2022 14:18:04 -0700
Subject: [PATCH] fix: lint issue
---
pkg/skaffold/kubernetes/manifest/images_test.go | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/pkg/skaffold/kubernetes/manifest/images_test.go b/pkg/skaffold/kubernetes/manifest/images_test.go
@tejal29
tejal29 / skaffold.yaml
Created January 25, 2022 17:57
Skaffold v3 config gist
apiVersion: skaffold/v3
kind: Config
metadata:
name: skaffold-config
build:
# remains the same
manifests:
rawYaml:
- k8/*.yaml
kustomize:
@tejal29
tejal29 / gist:d147b48ead35f859b382110cd590e291
Created January 20, 2022 05:35
V2 Branch Integration test failure log.
Run skaffold config set --global collect-metrics false
set global value collect-metrics to false
go test -v github.com/GoogleContainerTools/skaffold/integration/binpack github.com/GoogleContainerTools/skaffold/integration -timeout 30m
go: downloading github.com/google/go-github v17.0.0+incompatible
go: downloading github.com/google/go-querystring v1.1.0
=== RUN TestPartitions
time="2022-01-20T04:38:09Z" level=trace msg="Partitions: "
time="2022-01-20T04:38:09Z" level=trace msg="P0 total: 300.000000, size: 6\n"
time="2022-01-20T04:38:09Z" level=trace msg="P1 total: 299.980000, size: 8\n"
time="2022-01-20T04:38:09Z" level=trace msg="P2 total: 299.990000, size: 15\n"
-> ../../skaffold version
v1.20.0
➜ getting-started git:(master) ✗ ../../skaffold dev -v=debug
INFO[0000] starting gRPC server on port 50051
INFO[0000] starting gRPC HTTP server on port 50052
INFO[0000] Skaffold &{Version:v1.20.0 ConfigVersion:skaffold/v2beta12 GitVersion: GitCommit:c48e97690d8daffd68141c2a68fcbe3df6f6936a GitTreeState:dirty BuildDate:2021-02-11T22:55:17Z GoVersion:go1.14.14 Compiler:gc Platform:darwin/amd64}
DEBU[0000] Update check not enabled, skipping.
DEBU[0000] parsed 1 configs from configuration file /Users/tejaldesai/workspace/skaffold/examples/getting-started/skaffold.yaml
INFO[0000] Loaded Skaffold defaults from "/Users/tejaldesai/.skaffold/config"
starting build "79157665-0cf7-4db2-8572-40bb77ae2775"
FETCHSOURCE
Fetching storage object: gs://tejal-test_cloudbuild/source/1611936182.219581-4d69127a2f244a2190936757cbd2dceb.tgz#1611936209027872
Copying gs://tejal-test_cloudbuild/source/1611936182.219581-4d69127a2f244a2190936757cbd2dceb.tgz#1611936209027872...
/ [0 files][ 0.0 B/ 36.3 MiB]
-
- [1 files][ 36.3 MiB/ 36.3 MiB]
Operation completed over 1 objects/36.3 MiB.
BUILD
- [1 files][ 36.3 MiB/ 36.3 MiB]
Operation completed over 1 objects/36.3 MiB.
BUILD
Starting Step #0 - "initialize-qemu"
Step #0 - "initialize-qemu": Already have image (with digest): gcr.io/cloud-builders/docker
Step #0 - "initialize-qemu": Unable to find image 'linuxkit/binfmt:v0.7' locally
Step #0 - "initialize-qemu": v0.7: Pulling from linuxkit/binfmt
Step #0 - "initialize-qemu": 84207c4a2bac: Pulling fs layer
Step #0 - "initialize-qemu": 460f79adb3a5: Pulling fs layer
Step #0 - "initialize-qemu": 6aa7878e8f55: Pulling fs layer
/*
*
* Copyright 2015 gRPC authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
@tejal29
tejal29 / gist:02bab3f291d7fdc80066a0d825b4b1a2
Created July 31, 2019 19:00
skaffold health checkout output
(healthcheck_demo)$ skaffold run --status-check --default-repo=gcr.io/tejal-test --cache-artifacts
Generating tags...
- gcr.io/tejal-test/emailservice -> gcr.io/tejal-test/emailservice:6e14d62
- gcr.io/tejal-test/productcatalogservice -> gcr.io/tejal-test/productcatalogservice:6e14d62
- gcr.io/tejal-test/recommendationservice -> gcr.io/tejal-test/recommendationservice:6e14d62
- gcr.io/tejal-test/shippingservice -> gcr.io/tejal-test/shippingservice:6e14d62
- gcr.io/tejal-test/checkoutservice -> gcr.io/tejal-test/checkoutservice:6e14d62
- gcr.io/tejal-test/paymentservice -> gcr.io/tejal-test/paymentservice:6e14d62
- gcr.io/tejal-test/currencyservice -> gcr.io/tejal-test/currencyservice:6e14d62
- gcr.io/tejal-test/cartservice -> gcr.io/tejal-test/cartservice:6e14d62
@tejal29
tejal29 / gist:1550ec08a8e9b976082143e48521d12e
Last active June 28, 2019 20:49
Build log from travis CI
=== RUN TestDebug
=== RUN TestDebug/kubectl
time="2019-06-27T22:13:48Z" level=info msg="Namespace: skaffoldp8nwb"
time="2019-06-27T22:13:48Z" level=info msg="[skaffold debug --namespace skaffoldp8nwb]"
time="2019-06-27T22:13:48Z" level=info msg="Waiting for pods [nodejs npm python3] to be ready"
Generating tags...
- gcr.io/k8s-skaffold/skaffold-debug-jib -> gcr.io/k8s-skaffold/skaffold-debug-jib:v0.32.0-104-gd7d38a2
- gcr.io/k8s-skaffold/skaffold-debug-npm -> gcr.io/k8s-skaffold/skaffold-debug-npm:v0.32.0-104-gd7d38a2
- gcr.io/k8s-skaffold/skaffold-debug-nodejs -> gcr.io/k8s-skaffold/skaffold-debug-nodejs:v0.32.0-104-gd7d38a2
- gcr.io/k8s-skaffold/skaffold-debug-python3 -> gcr.io/k8s-skaffold/skaffold-debug-python3:v0.32.0-104-gd7d38a2
@tejal29
tejal29 / shell
Created March 4, 2019 21:01
Timing for skaffold init for 4K github repo
tejaldesai@tejaldesai~/go/src/github.com/soullivaneuh/skaffold-issues: (issue-1651)$ ../../GoogleContainerTools/skaffold/out/skaffold init -v=debug
INFO[0000] Skaffold &{Version:v0.5.0-1901-g2aa1814e-dirty ConfigVersion:skaffold/v1beta6 GitVersion: GitCommit:2aa1814e8dc49f934565460b1fa25ce068ac9b85 GitTreeState:dirty BuildDate:2019-03-04T12:59:14Z GoVersion:go1.12rc1 Compiler:gc Platform:linux/amd64}
DEBU[0000] Update check not enabled, skipping.
DEBU[0000] skip walking hidden dir .git
INFO[0000] time elapsed 185.753µs
FATA[0000] one or more valid Dockerfiles must be present to run skaffold; please provide at least one Dockerfile and try again
tejaldesai@tejaldesai~/go/src/github.com/soullivaneuh/skaffold-issues: (issue-1651)$