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
import requests | |
def get_all_contributors(owner, repo): | |
contributors = [] | |
per_page = 100 # Max value allowed by GitHub API | |
page = 1 | |
while True: | |
url = f"https://api.github.com/repos/{owner}/{repo}/contributors" | |
params = {'per_page': per_page, 'page': page} | |
headers = {'Accept': 'application/vnd.github.v3+json'} |
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
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: kaniko-root-go-ethereum-v2 | |
namespace: wi | |
labels: | |
kaniko-test-category: root | |
spec: | |
serviceAccountName: <SA> | |
nodeSelector: |
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
diff --git a/pkg/commands/copy_test.go b/pkg/commands/copy_test.go | |
index 3eba9c6b..795ca577 100755 | |
--- a/pkg/commands/copy_test.go | |
+++ b/pkg/commands/copy_test.go | |
@@ -465,6 +465,12 @@ func TestCopyCommand_ExecuteCommand_Extended(t *testing.T) { | |
t.Run("copy dir to another dir - with ignored files", func(t *testing.T) { | |
testDir, srcDir := setupDirs(t) | |
defer os.RemoveAll(testDir) | |
+ util.Lstat = func(name string) (fs.FileInfo, error) { | |
+ fi, err := os.Lstat(name) |
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
diff --git a/pkg/commands/copy_test.go b/pkg/commands/copy_test.go | |
index 3eba9c6b..795ca577 100755 | |
--- a/pkg/commands/copy_test.go | |
+++ b/pkg/commands/copy_test.go | |
@@ -465,6 +465,12 @@ func TestCopyCommand_ExecuteCommand_Extended(t *testing.T) { | |
t.Run("copy dir to another dir - with ignored files", func(t *testing.T) { | |
testDir, srcDir := setupDirs(t) | |
defer os.RemoveAll(testDir) | |
+ util.Lstat = func(name string) (fs.FileInfo, error) { | |
+ fi, err := os.Lstat(name) |
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
diff --git a/pkg/commands/copy_test.go b/pkg/commands/copy_test.go | |
index 3eba9c6b..795ca577 100755 | |
--- a/pkg/commands/copy_test.go | |
+++ b/pkg/commands/copy_test.go | |
@@ -465,6 +465,12 @@ func TestCopyCommand_ExecuteCommand_Extended(t *testing.T) { | |
t.Run("copy dir to another dir - with ignored files", func(t *testing.T) { | |
testDir, srcDir := setupDirs(t) | |
defer os.RemoveAll(testDir) | |
+ util.Lstat = func(name string) (fs.FileInfo, error) { | |
+ fi, err := os.Lstat(name) |
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
Defaulted container "kaniko" out of: kaniko, prepare (init) | |
[36mINFO[0m[0000] Resolved base name tonistiigi/xx:1.2.1 to xx | |
[36mINFO[0m[0000] Resolved base name busybox to build-dummy | |
[36mINFO[0m[0000] Resolved base name scratch to binary-dummy | |
[36mINFO[0m[0000] Resolved base name golang:1.20.5-bullseye to base | |
[36mINFO[0m[0000] Resolved base name base to criu | |
[36mINFO[0m[0000] Resolved base name base to registry-src | |
[36mINFO[0m[0000] Resolved base name base to registry | |
[36mINFO[0m[0000] Resolved base name base to swagger-src | |
[36mINFO[0m[0000] Resolved base name base to swagger |
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
aprindle@aprindle-ssd ~/kaniko [main]./run_in_docker.sh /workspace/Dockerfile /usr/local/google/home/aprindle/kaniko-ctx-dir gcr.io/aprindle-test-cluster/kaniko-test:latest | |
INFO[0000] Retrieving image manifest node:14-buster | |
INFO[0000] Retrieving image node:14-buster from registry index.docker.io | |
INFO[0001] Built cross stage deps: map[] | |
INFO[0001] Retrieving image manifest node:14-buster | |
INFO[0001] Returning cached image manifest | |
INFO[0001] Executing 0 build triggers | |
INFO[0001] Building stage 'node:14-buster' [idx: '0', base-idx: '-1'] | |
INFO[0001] Unpacking rootfs as cmd RUN apt-get update && apt-get -y install libgtk-3-0 requires it. | |
INFO[0012] RUN apt-get update && apt-get -y install libgtk-3-0 |
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
aprindle@aprindle-ssd ~/skaffold/examples/helm-deployment [(HEAD detached at v2.0.4)]$ skaffold dev --default-repo=gcr.io/aprindle-test-cluster | |
Listing files to watch... | |
- skaffold-helm | |
- skaffold-helm-2 | |
Generating tags... | |
- skaffold-helm -> gcr.io/aprindle-test-cluster/skaffold-helm:v2.0.4-dirty | |
- skaffold-helm-2 -> gcr.io/aprindle-test-cluster/skaffold-helm-2:v2.0.4-dirty | |
Checking cache... | |
- skaffold-helm: Found Remotely | |
- skaffold-helm-2: Not found. Building |
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
Generating tags... | |
- skaffold-example -> gcr.io/aprindle-test-cluster/skaffold-example:v2.0.0-beta1-36-ge210f1ea8-dirty | |
Starting build... | |
Building [skaffold-example]... | |
Target platforms: [linux/amd64,linux/arm64] | |
#1 [internal] load build definition from Dockerfile | |
#1 sha256:94490ca7b29bc20c1a6c25393a52f605c68d27f0e5384848dab6835af3f380be | |
#1 transferring dockerfile: 40B done | |
#1 DONE 0.0s |
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
/* | |
Copyright 2022 The Skaffold 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 | |
Unless required by applicable law or agreed to in writing, software | |
distributed under the License is distributed on an "AS IS" BASIS, | |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
See the License for the specific language governing permissions and |