-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add e2e tests to resolve and docker in ci pipelines. (#140)
Additionally, fix some bugs in images with missing dependencies to resolve python manifests
- Loading branch information
1 parent
8729272
commit a0a7184
Showing
14 changed files
with
127 additions
and
3,697 deletions.
There are no files selected for viewing
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/usr/bin/env bash | ||
GREEN='\033[0;32m' | ||
RED='\033[0;31m' | ||
|
||
# This script checks if all files in the current directory exist | ||
function check_files_exist() { | ||
isOk=true | ||
for file in "$@"; do | ||
if test -f "$file"; then | ||
echo -e "${GREEN}File $file OK${GREEN}" | ||
else | ||
echo -e "${RED}File $file does not exist!${RED}" | ||
isOk=false | ||
fi | ||
done | ||
|
||
if [ "$isOk" = false ]; then | ||
exit 1 | ||
fi | ||
|
||
} | ||
|
||
check_files_exist "test/resolve/testdata/npm/yarn.lock" \ | ||
"test/resolve/testdata/pip/requirements.txt.pip.debricked.lock" \ | ||
"test/resolve/testdata/nuget/packagesconfig/packages.config.nuget.debricked.lock" \ | ||
"test/resolve/testdata/nuget/csproj/packages.lock.json" \ | ||
"test/resolve/testdata/gradle/gradle.debricked.lock" \ | ||
"test/resolve/testdata/maven/maven.debricked.lock" \ | ||
"test/resolve/testdata/gomod/gomod.debricked.lock" |
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
Oops, something went wrong.