-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add windows app lifecycle to support windows stacks [#90637182] #28
Conversation
Hey jvshahid! Thanks for submitting this pull request! All pull request authors must have a Contributor License Agreement (CLA) on-file with us. Please sign the appropriate CLA (individual or corporate). When sending signed CLA please provide your github username in case of individual CLA or the list of github usernames that can make pull requests on behalf of your organization. |
We have created an issue in Pivotal Tracker to manage this. You can view the current status of your issue at: https://www.pivotaltracker.com/story/show/90810706. |
fbcdca7
to
61ec48f
Compare
NB. To use windows stack, it is also neccessary to use templates/enable_diego_windows_in_cc.yml in CF manifest generation. This will specify lucid64 and windows stacks.
Hey, @jvshahid, How does the windows app lifecycle tarball actually work with diego? Stager and Nsync are building task/LRP recipes that refer to executables called Thanks, |
(@mavenraven and @dgoddard can correct me if i'm wrong) windows is case insensitive and you don't need to specify the extension ( |
Okey dokey! The PR commit is now on develop as 56ddff9, and will make it to master the next time our pipeline cuts a final release. Closing this out as merged. |
Thanks! |
[delivers #92484984] Submodule src/github.com/cloudfoundry-incubator/executor 3232541..b9aed80: > Change some logging to Info from Debug [#92484984] Submodule src/github.com/cloudfoundry-incubator/garden c25ae1e..dd6b2d5: > Remove protobuf dependencies > +/- 50ms - acceptable tolerance for gracetime testing > bump the acceptable tolerance for gracetime testing > Improve error handling of iostreams. > Remove dead code from connection Submodule src/github.com/cloudfoundry-incubator/garden-linux 6349be3..a64ad73: > Tidy up pull request > Merge pull request #28 from shashidharatd/hw-issue-1 > Replace `Ω(...).Should(...)` with `Expect(...).To(...)` > Create a container from an empty rootfs > Bump to latest Gomega with File matchers > Refactor flags_test > Merge pull request #33 from shashidharatd/hwcf-issue-2 > Fix local ginkgo runs > update packer README: mkdir $TMPDIR before running packer > Absorb output to avoid file descriptors lingering excessively. > $@ gave rise to this: > Remove extraneous text in diagram. > Add process flow diagram to developer docs. > Concourse jobs now run with garden-ci-ubuntu docker image. > Document how to run tests using Docker > Developers should use go1.4 > Build images with packer > Use garden without protobuf dependency > Use latest Garden with enhanced iostream error handling > Revert "Remove .drone.yml as it doesn't seem to be in use." > Remove .drone.yml as it doesn't seem to be in use. > remove debug log from test > Retry reading the pid file if there is no data present > Merge pull request #26 from cloudfoundry-incubator/mute-garden > Add timeout flag to specify how long to wait for the first connection. > Replace hook-child-after-pivot.sh with Go code. > Reduce number of iterations in integration test. > Replace duplicated code with reused functions. > Remove unecessary integration test. > Increase the slow spec threshold to 15s > Remove unneeded integration tests Signed-off-by: Matt Royal <mroyal@pivotal.io>
[finishes #135979115] Submodule src/code.cloudfoundry.org/diego-ssh 30305a90..fcd09835: > Merge pull request #28 from mhoran/no-exec-windows
[finishes #src/code.cloudfoundry.org/buildpackapplifecycle] Submodule src/code.cloudfoundry.org/buildpackapplifecycle ef6149f..3746a1e: > Merge pull request #28 from greenhouse-org/windows-capture-output
[finishes #156440269](https://www.pivotaltracker.com/story/show/156440269) Submodule src/code.cloudfoundry.org/executor d70b0baa..2aa9d878: > fixup graceful traffic refusal between gorouter and envoy Submodule src/github.com/tedsuo/ifrit d787ed1df..bea94bb47: > Merge pull request #29 from nimakaviani/master > Merge pull request #28 from jvshahid/more-meaningful-error > Merge pull request #27 from rameshthoomu/master > Merge pull request #26 from sykesm/expose-err Signed-off-by: Nima Kaviani <nkavian@us.ibm.com>
…ego-ssh executor inigo locket rep route-emitter Submodule src/code.cloudfoundry.org/auction cb67f2df8...a0b5f6cb4: > Add test.bash (#17) < Add test.bash Submodule src/code.cloudfoundry.org/auctioneer 53ba4c3b4...4c948374c: > With oss ci export (#16) < Regenerate expiring certs < use relative path instead of direnv Submodule src/code.cloudfoundry.org/bbs af5179eaf...709d9ebc2: > With oss ci export (#75) > Add availability zone to actual LRPs (#74) < Regenerate expiring certs < set -e to exit when something fails < Fix path < Address pathing issue with gogo protobuf generator < Fix go fmt < Remove Focus that was added for local run only < fix test to allow for one event to < SQLFLAVOR_USER->DB_USER and PASSWORD < SQLFLAVOR_USER->DB_USER and PASSWORD < SQL_FLAVOR->DB env < use relative path instead of direnv < go fmt Submodule src/code.cloudfoundry.org/buildpackapplifecycle 2c73ee370..66d4e9349: > Merge pull request #64 from cloudfoundry/with-oss-ci-export Submodule src/code.cloudfoundry.org/cacheddownloader e92422e07...bb834a3fe: > Regenerate expiring certs (#27) < Regenerate expiring certs Submodule src/code.cloudfoundry.org/diego-ssh 1126e2462...0db8c3650: > With oss ci export (#51) < Ensure GinkgoRecover in go routine < Create a new err < Fix a potential race condition < Add bin/test.bash < Check if DLL is found instead of dir < ensure ZipArchiveMode is loaded < Add bin/test.ps1 for WINPTY_DLL_DIR < remove unneeded vars < Grab a different port than other tests < use relative path instead of direnv Submodule src/code.cloudfoundry.org/executor 0c69be068...aa6d9b164: > With oss ci export (#88) < Regenerate expiring certs < Regenerate expiring certs < Address channel buffer issue test flake < Fix go fmt < Wait long enough for log to appear Submodule src/code.cloudfoundry.org/inigo 31ce39424...04c069a3b: > With oss ci export (#28) < Unlock mutex when it's returning early < ioutil->os < Skip deleting auctioneer-config for windows < Use ci's filesystem-helpers.bash < rsync with retry, because it seems flaky < Wait for mysqld to be stopped < On windows, don't wait for tmpDir to be deleted < Add progres report back < Not sure why we need to setup < Wait longer after being Killed < Revert "Send SIGINT instead of SIGKILL" < Send SIGINT instead of SIGKILL < Use ci's helper instead < Wait longer for auctioneer to have been stopped < Add a debug for envoy.exe path < Print output to stdout < Add logs.txt output to show progress < fix extra space < Swap the order for Out-File to be after Invoke-Expression < Add Encoding and Width < use correct folder name < Use a timestamp for inigo-logs < unfocus tests < Set PROXY_BINARY < Focus the failing test < Remove debug logs < Add missing -F < Invoke ginkgo < Use correct env variable < winc-> winc-network < use correct env variables < Remove unneeded function < fix tmp dir < Keep all vendored < Add test.ps1 for windows version < mkdir logs dir < Use a dir for logs < Use binaries from GARDEN_BINPATH < Add GROOTFS_BINPATH < Revert "GROOTFS_BINPATH->GROOTFS_BINARY" < GROOTFS_BINPATH->GROOTFS_BINARY < use builds from CI instead of building in the test task < Use updated docker image for dependencies < Remove packages that might not be needed < Max connection to 2000 for mysql < Use PROXY_BINARY from build-binaries task < Fix go vet issues < Use garden-runc-release's tar for rootfs < build rootfs instead of providing an OCI built one < Add more packages < Add uidmap < Add tag for gdn < symlink tar < resolve pg_cof value < user NATS_SERVER_BINARY < relative resolve pg_conf < Install required dependencies < Use env variable for garden-runc < Use correct env < {sudo,} < Add dnsmasq as a depedency < Add bin/test.bash < User DB_USER and DB_PASSWORD instead < Use correct path for finding fixtures Submodule src/code.cloudfoundry.org/locket 7a13b7b4d...23339499a: > With oss ci export (#16) < Regenerate expiring certs < set -e to exit when something fails < Fix path < Address issue with gogo protobuf generator < SQLFLAVOR_USER->DB_USER and PASSWORD Submodule src/code.cloudfoundry.org/rep b26698303...eedf2cd88: > With oss ci export (#49) > Send AZ in StartActualLRP/EvacuateRunningActualLRP requests to BBS (#48) < change db_name to a unique name < Update port ranges to use more unique number to avoid port collisions under Windows < use relative path instead of direnv Submodule src/code.cloudfoundry.org/route-emitter 828ee627e...96aae07f6: > With oss ci export (#30) > Add AZ to registry message (#29) < Modify Main test suite to use more unique database name < Use NATS_SERVER_BINARY instead < use relative path instead of direnv
…ego-ssh executor inigo locket rep route-emitter (#859) Submodule src/code.cloudfoundry.org/auction cb67f2df8...a0b5f6cb4: > Add test.bash (#17) < Add test.bash Submodule src/code.cloudfoundry.org/auctioneer 53ba4c3b4...4c948374c: > With oss ci export (#16) < Regenerate expiring certs < use relative path instead of direnv Submodule src/code.cloudfoundry.org/bbs af5179eaf...709d9ebc2: > With oss ci export (#75) > Add availability zone to actual LRPs (#74) < Regenerate expiring certs < set -e to exit when something fails < Fix path < Address pathing issue with gogo protobuf generator < Fix go fmt < Remove Focus that was added for local run only < fix test to allow for one event to < SQLFLAVOR_USER->DB_USER and PASSWORD < SQLFLAVOR_USER->DB_USER and PASSWORD < SQL_FLAVOR->DB env < use relative path instead of direnv < go fmt Submodule src/code.cloudfoundry.org/buildpackapplifecycle 2c73ee370..66d4e9349: > Merge pull request #64 from cloudfoundry/with-oss-ci-export Submodule src/code.cloudfoundry.org/cacheddownloader e92422e07...bb834a3fe: > Regenerate expiring certs (#27) < Regenerate expiring certs Submodule src/code.cloudfoundry.org/diego-ssh 1126e2462...0db8c3650: > With oss ci export (#51) < Ensure GinkgoRecover in go routine < Create a new err < Fix a potential race condition < Add bin/test.bash < Check if DLL is found instead of dir < ensure ZipArchiveMode is loaded < Add bin/test.ps1 for WINPTY_DLL_DIR < remove unneeded vars < Grab a different port than other tests < use relative path instead of direnv Submodule src/code.cloudfoundry.org/executor 0c69be068...aa6d9b164: > With oss ci export (#88) < Regenerate expiring certs < Regenerate expiring certs < Address channel buffer issue test flake < Fix go fmt < Wait long enough for log to appear Submodule src/code.cloudfoundry.org/inigo 31ce39424...04c069a3b: > With oss ci export (#28) < Unlock mutex when it's returning early < ioutil->os < Skip deleting auctioneer-config for windows < Use ci's filesystem-helpers.bash < rsync with retry, because it seems flaky < Wait for mysqld to be stopped < On windows, don't wait for tmpDir to be deleted < Add progres report back < Not sure why we need to setup < Wait longer after being Killed < Revert "Send SIGINT instead of SIGKILL" < Send SIGINT instead of SIGKILL < Use ci's helper instead < Wait longer for auctioneer to have been stopped < Add a debug for envoy.exe path < Print output to stdout < Add logs.txt output to show progress < fix extra space < Swap the order for Out-File to be after Invoke-Expression < Add Encoding and Width < use correct folder name < Use a timestamp for inigo-logs < unfocus tests < Set PROXY_BINARY < Focus the failing test < Remove debug logs < Add missing -F < Invoke ginkgo < Use correct env variable < winc-> winc-network < use correct env variables < Remove unneeded function < fix tmp dir < Keep all vendored < Add test.ps1 for windows version < mkdir logs dir < Use a dir for logs < Use binaries from GARDEN_BINPATH < Add GROOTFS_BINPATH < Revert "GROOTFS_BINPATH->GROOTFS_BINARY" < GROOTFS_BINPATH->GROOTFS_BINARY < use builds from CI instead of building in the test task < Use updated docker image for dependencies < Remove packages that might not be needed < Max connection to 2000 for mysql < Use PROXY_BINARY from build-binaries task < Fix go vet issues < Use garden-runc-release's tar for rootfs < build rootfs instead of providing an OCI built one < Add more packages < Add uidmap < Add tag for gdn < symlink tar < resolve pg_cof value < user NATS_SERVER_BINARY < relative resolve pg_conf < Install required dependencies < Use env variable for garden-runc < Use correct env < {sudo,} < Add dnsmasq as a depedency < Add bin/test.bash < User DB_USER and DB_PASSWORD instead < Use correct path for finding fixtures Submodule src/code.cloudfoundry.org/locket 7a13b7b4d...23339499a: > With oss ci export (#16) < Regenerate expiring certs < set -e to exit when something fails < Fix path < Address issue with gogo protobuf generator < SQLFLAVOR_USER->DB_USER and PASSWORD Submodule src/code.cloudfoundry.org/rep b26698303...eedf2cd88: > With oss ci export (#49) > Send AZ in StartActualLRP/EvacuateRunningActualLRP requests to BBS (#48) < change db_name to a unique name < Update port ranges to use more unique number to avoid port collisions under Windows < use relative path instead of direnv Submodule src/code.cloudfoundry.org/route-emitter 828ee627e...96aae07f6: > With oss ci export (#30) > Add AZ to registry message (#29) < Modify Main test suite to use more unique database name < Use NATS_SERVER_BINARY instead < use relative path instead of direnv
…apper Submodule src/code.cloudfoundry.org/bbs 1b287db66..b45866dbb: > Revert "Start server with Unavailable handler until lock is ready" > Add metric tags to task definition (#77) Submodule src/code.cloudfoundry.org/cacheddownloader bb834a3fe..665f7b048: > Convert cacheddownloader to a go module (#28) Submodule src/code.cloudfoundry.org/credhub-cli 4bd1f774f..156833ebf: > Bump go modules Submodule src/code.cloudfoundry.org/rep eedf2cd88..c55fff800: > Adds metric tags to task logs (#50) Submodule src/garden 7c85e0f7a..f6a5ba9c5: > Update go.mod dependencies Submodule src/grootfs 2d7376525..55af5dac6: > Update go.mod dependencies Submodule src/guardian fbef8d9bb..e49d38ea2: > Update go.mod dependencies > Merge pull request #426 from cloudfoundry/fix-unit-and-integration-tests/builds/16.1 Submodule src/idmapper d89a35477..ec81d4362: > Update go.mod dependencies
NB. To use windows stack, it is also neccessary to use
templates/enable_diego_windows_in_cc.yml in CF manifest generation. This
will specify lucid64 and windows stacks.