Skip to content

Commit

Permalink
test: drop this commit
Browse files Browse the repository at this point in the history
Test converts are not failing

Signed-off-by: Ramkumar Chinchani <rchincha@cisco.com>
  • Loading branch information
rchincha committed Nov 1, 2023
1 parent 154ee79 commit d081627
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 4 additions & 0 deletions pkg/stacker/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ func importFile(imp string, cacheDir string, hash string, idest string, mode *fs
dest = cacheDir
}

//fmt.Printf("dest:%v\n", dest)

if err := os.MkdirAll(dest, 0755); err != nil {
return "", errors.Wrapf(err, "failed making cache dir")
}
Expand Down Expand Up @@ -181,6 +183,8 @@ func importFile(imp string, cacheDir string, hash string, idest string, mode *fs
destpath = path.Join(cacheDir, d.Path())
}

//fmt.Printf("destpath:%v\n", destpath)

if d.New().IsDir() {
fi, err := os.Lstat(destpath)
if err != nil {
Expand Down
3 changes: 0 additions & 3 deletions test/convert.bats
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ EOF
}

@test "alpine" {
skip_slow_test
git clone https://github.com/alpinelinux/docker-alpine.git
chmod -R a+rwx docker-alpine
cd docker-alpine
Expand All @@ -63,7 +62,6 @@ EOF
}

@test "elasticsearch" {
skip_slow_test
git clone https://github.com/elastic/dockerfiles.git
chmod -R a+rwx dockerfiles
cd dockerfiles/elasticsearch
Expand All @@ -77,7 +75,6 @@ EOF
}

@test "python" {
skip_slow_test
git clone https://github.com/docker-library/python.git
cd python/3.11/alpine3.17
chmod -R a+rw .
Expand Down

0 comments on commit d081627

Please sign in to comment.