Skip to content

Commit

Permalink
Added e2e tests for windows buildpack support
Browse files Browse the repository at this point in the history
  • Loading branch information
dbathgate committed May 9, 2024
1 parent 61b6440 commit 16bed55
Show file tree
Hide file tree
Showing 13 changed files with 634 additions and 3 deletions.
9 changes: 6 additions & 3 deletions bin/supply.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,13 @@ if (![System.IO.File]::Exists("$buildDir\secrets.yml"))
# Validate that VCAP_SERVICES contains 'cyberark-conjur'
$vcapJson = echo $env:VCAP_SERVICES | ConvertFrom-Json

if( !("cyberark-conjur" -in $vcapJson.PSobject.Properties.Name) )
if ("true" -ne $Env:CONJUR_BUILDPACK_BYPASS_SERVICE_CHECK )
{
echo "No credentials for cyberark-conjur service found in VCAP_SERVICES... exit"
exit 1
if( !("cyberark-conjur" -in $vcapJson.PSobject.Properties.Name) )
{
echo "No credentials for cyberark-conjur service found in VCAP_SERVICES... exit"
exit 1
}
}

pushd $depsDir\$indexDir
Expand Down
5 changes: 5 additions & 0 deletions ci/test_e2e
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ pushd ../tests/integration/apps/java
./bin/build
popd

announce 'Building the Dotnet Windows test application...'
pushd ../tests/integration/apps/dotnet-windows
./build
popd

announce 'Running Cucumber tests...'
# Run tests against latest build of buildpack (including integration tests against remote foundation)
docker-compose \
Expand Down
Loading

0 comments on commit 16bed55

Please sign in to comment.