Skip to content
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

⚠ Bring in testing framework #714

Closed
wants to merge 214 commits into from
Closed

⚠ Bring in testing framework #714

wants to merge 214 commits into from

Commits on Nov 29, 2017

  1. Add help text and barebones integration test

    We use [ginkgo](http://onsi.github.io/ginkgo/) and
    [gomega](http://onsi.github.io/gomega/) for testing. We generate some
    boilerplate with:
    ```
    mkdir integration
    cd integration
    ginkgo bootstrap
    ginkgo generate integration
    ```
    
    We use
    [gexec](http://onsi.github.io/gomega/#gexec-testing-external-processes)
    to compile and run the CLI under test, and to inspect its output.
    
    We use `dep ensure` to ensure that all our dependencies are properly
    vendored. From now on, this will be our workflow with every commit.
    totherme committed Nov 29, 2017
    Configuration menu
    Copy the full SHA
    ed2d109 View commit details
    Browse the repository at this point in the history
  2. Add dependencies

    As a separate commit, to make review easier.
    totherme committed Nov 29, 2017
    Configuration menu
    Copy the full SHA
    54b4b5d View commit details
    Browse the repository at this point in the history
  3. Add help text and barebones integration test

    We use [ginkgo](http://onsi.github.io/ginkgo/) and
    [gomega](http://onsi.github.io/gomega/) for testing. We generate some
    boilerplate with:
    ```
    mkdir integration
    cd integration
    ginkgo bootstrap
    ginkgo generate integration
    ```
    
    We use
    [gexec](http://onsi.github.io/gomega/#gexec-testing-external-processes)
    to compile and run the CLI under test, and to inspect its output.
    
    We use `dep ensure` to ensure that all our dependencies are properly
    vendored. From now on, this will be our workflow with every commit.
    totherme committed Nov 29, 2017
    Configuration menu
    Copy the full SHA
    5620b3d View commit details
    Browse the repository at this point in the history
  4. Add dependencies

    As a separate commit, to make review easier.
    totherme committed Nov 29, 2017
    Configuration menu
    Copy the full SHA
    b02ec8c View commit details
    Browse the repository at this point in the history
  5. Add apiserver launcher to test framework

    To start an apiserver:
    
    ```
    apiServer := APIServer{Path: "/path/to/my/apiserver/binary"}
    session, err := apiServer.Start("tcp://whereever.is.my.etcd:port")
    Expect(err).NotTo(HaveOccurred())
    ```
    
    When you're done testing against that apiserver:
    
    ```
    session.Terminate().Wait()
    ```
    
    ...or if you prefer:
    
    ```
    gexec.Terminate()
    ```
    
    ...which will terminate not only this apiserver, but also all other
    command sessions you started in this test.
    totherme committed Nov 29, 2017
    Configuration menu
    Copy the full SHA
    005465f View commit details
    Browse the repository at this point in the history
  6. Add etcd launcher to test framework

    This can be started and stopped the same way as the apiserver.
    Hannes Hoerl authored and totherme committed Nov 29, 2017
    Configuration menu
    Copy the full SHA
    518f503 View commit details
    Browse the repository at this point in the history
  7. Add Fixtures struct, which can start+stop everything

    Create a new set of test fixtures by doing:
    
    ```
    f := test.NewFixtures("/path/to/etcd", "/path/to/apiserver")
    ```
    
    Before running your integration tests, start all your fixtures:
    
    ```
    err := f.Start()
    Expect(err).NotTo(HaveOccurred())
    ```
    
    Now that you have started your etcd and apiserver, you'll find the
    apiserver listening locally on the default port. When you're done with
    your testing, stop and clean up:
    
    ```
    err := f.Stop()
    Expect(err).NotTo(HaveOccurred())
    ```
    totherme committed Nov 29, 2017
    Configuration menu
    Copy the full SHA
    5d29517 View commit details
    Browse the repository at this point in the history
  8. Add CI for local development

    We're using concourse because we happen to have a concourse deployment
    available. You can look at it here:
    
    https://wings.concourse.ci/teams/k8s-c10s/
    totherme committed Nov 29, 2017
    Configuration menu
    Copy the full SHA
    ec3c16c View commit details
    Browse the repository at this point in the history
  9. Wire the test framework in to the demo tests

    We're not exercising the test framework yet, but it's in place.
    
    Our democli expects its test assets to be in `./assets/bin`. We have a
    script `./scripts/download-binaries.sh` which will populate that directory
    from a google storage bucket.
    
    Once those assets are in place, you can run tests with
    `./scripts/run-tests.sh`.
    hoegaarden authored and totherme committed Nov 29, 2017
    Configuration menu
    Copy the full SHA
    5a86b76 View commit details
    Browse the repository at this point in the history
  10. Use ioutils.tempDir() to create temporary directories

    os.tempDir() gives the path to the temporary directory, it does not
    create a random temporary directory.
    hoegaarden authored and totherme committed Nov 29, 2017
    Configuration menu
    Copy the full SHA
    a47686c View commit details
    Browse the repository at this point in the history
  11. Use http:// as etcd URL scheme

    Using tcp:// does not work.
    hoegaarden authored and totherme committed Nov 29, 2017
    Configuration menu
    Copy the full SHA
    6943682 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    193b3c7 View commit details
    Browse the repository at this point in the history
  13. Add fixtures tintegration tests

    Testing the lifecycle of our fixtures with the real binaries. Test if we
    can start the fixtures, the porcesses actually listen on the ports and
    if we tear down all the parts successfully again.
    totherme committed Nov 29, 2017
    Configuration menu
    Copy the full SHA
    e6f4257 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    2e162ec View commit details
    Browse the repository at this point in the history
  15. Refactor Etcd

    - Store stdout,stderr in private buffers
    - Configure the etcURL on construction instead of at start time
    - Handle the creation of the temporary directory (for the data
      directory) internally
    totherme committed Nov 29, 2017
    Configuration menu
    Copy the full SHA
    97df58b View commit details
    Browse the repository at this point in the history
  16. Refactor APIServer

    - Store stdout,stderr in private buffers
    - Configure the etcURL on construction instead of at start time
    totherme committed Nov 29, 2017
    Configuration menu
    Copy the full SHA
    c3f9bfc View commit details
    Browse the repository at this point in the history
  17. Unify fixture processes

    Instead of the separate {Etcd,APIServer}StartStopper use the unified
    interface FixtureProcess
    totherme committed Nov 29, 2017
    Configuration menu
    Copy the full SHA
    b01762e View commit details
    Browse the repository at this point in the history
  18. Extract TempDirManager

    We are now returning an error instead of using an Expectation inline.
    totherme committed Nov 29, 2017
    Configuration menu
    Copy the full SHA
    ddc742e View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    611835c View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    652f5d0 View commit details
    Browse the repository at this point in the history
  21. Refactor Etcd and APIServer, esp. Start() and Stop()

    - Start() should only return when the process is actually up and
      listening
    - It may take some time to tear down a process, so we increased the
      timeout for Stop() (to some random number)
    - We make sure Std{Out,Err} is properly initialized, we should not rely
      on Ginkgo/Gomega to do that for us
    totherme committed Nov 29, 2017
    Configuration menu
    Copy the full SHA
    07699d8 View commit details
    Browse the repository at this point in the history
  22. Remove {Etcd,APIServer}StartStopper interfaces

    ... as they have been unified into the FixtureProcess interface and thus
    they are not needed anymore.
    totherme committed Nov 29, 2017
    Configuration menu
    Copy the full SHA
    e289deb View commit details
    Browse the repository at this point in the history
  23. Implement first command talking to the APIServer

    We use the standard go client for kubernetes `client-go`. To vendor it
    and all its denpendecies we use
    ```
    dep ensure -add k8s.io/client-go@5.0.0
    ```
    
    We create a new cobra command with
    ```
    cobra add listPods
    ```
    Note: The new command in cmd/listPods.go uses [the "magic" function
    init()](https://golang.org/ref/spec#Package_initialization) to register
    itself.
    totherme committed Nov 29, 2017
    Configuration menu
    Copy the full SHA
    83b02c0 View commit details
    Browse the repository at this point in the history
  24. Add dependencies

    As a separate commit, to make review easier.
    totherme committed Nov 29, 2017
    Configuration menu
    Copy the full SHA
    944b54f View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    f6459a8 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    5895b98 View commit details
    Browse the repository at this point in the history
  27. Add test option to run performance tests

    Performance tests are now skipped by default, but run in CI.
    hoegaarden authored and totherme committed Nov 29, 2017
    Configuration menu
    Copy the full SHA
    3704eb1 View commit details
    Browse the repository at this point in the history
  28. Use a temporary directory for the APIServer's certs

    While doing that we found that we needed to refactor the fakes to handle
    command line arguments which are not known up front; we do this by using
    regular expresseions.
    totherme committed Nov 29, 2017
    Configuration menu
    Copy the full SHA
    1fde09a View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    3ce597d View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    18baa6a View commit details
    Browse the repository at this point in the history
  31. Update comments on Start/Stop of the processes

    [#153243856]
    hoegaarden authored and totherme committed Nov 29, 2017
    Configuration menu
    Copy the full SHA
    7c21bc2 View commit details
    Browse the repository at this point in the history
  32. Create nicer names for temporary directories

    [#153246098]
    hoegaarden authored and totherme committed Nov 29, 2017
    Configuration menu
    Copy the full SHA
    7ec7779 View commit details
    Browse the repository at this point in the history
  33. Change .gitignore strategy

    - Use a `.gitignore` local to the test framework
    - Remove some local only things (`.idea`) from the `.gitignore` and push
    that to `.git/info/exclude`
    hoegaarden authored and totherme committed Nov 29, 2017
    Configuration menu
    Copy the full SHA
    2049289 View commit details
    Browse the repository at this point in the history
  34. Switch to repo-global vendoring

    hoegaarden authored and totherme committed Nov 29, 2017
    Configuration menu
    Copy the full SHA
    f8e8034 View commit details
    Browse the repository at this point in the history
  35. Switch to repo-global vendoring, move dependencies

    Actually now put the dependencies into the global `vendor` direcotry.
    hoegaarden authored and totherme committed Nov 29, 2017
    Configuration menu
    Copy the full SHA
    9605791 View commit details
    Browse the repository at this point in the history
  36. Make pre-commit.sh work with the test framework

    Eventually we want our framework to work nicely with just `go test`. To
    get there we need to
    - inject KUBE_ASSETS_DIR
    - make the framework work when run multiple times in parallel (port
      collitions, expose bound ports the the subject under test, ...)
    
    We decided to make sure our tests are run in sequence (and not in
    parallel to any other thing using etcd, for that matter) by making this
    explicit in the `pre-commit.sh` - for now.
    
    As soon as we are there, we can rollback the change to the
    `pre-commit.sh` end have the test framework be tested the same as
    everything else.
    
    [#153248975]
    hoegaarden authored and totherme committed Nov 29, 2017
    Configuration menu
    Copy the full SHA
    543ea3f View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    0dff449 View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2017

  1. Rename test suites

    hoegaarden authored and totherme committed Dec 4, 2017
    Configuration menu
    Copy the full SHA
    93641cf View commit details
    Browse the repository at this point in the history
  2. Refactor Etcd to use a simpler CLI Session

    We introduced a SimpleSession interface which allows us to have better
    fakes for unit testing. This Session is implemented by *gexec.Session.
    hoegaarden authored and totherme committed Dec 4, 2017
    Configuration menu
    Copy the full SHA
    461f359 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a3dc06f View commit details
    Browse the repository at this point in the history
  4. Refactor APIServer

    - Use a fake certificate directory manager
    - Use a simpler CLI Session
    hoegaarden authored and totherme committed Dec 4, 2017
    Configuration menu
    Copy the full SHA
    34c25ec View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2017

  1. Configure fixture processes with ports to listen on

    - APIServer & Etcd get configured, from the outside, on which ports to
      listen on
    - Configuration, the subjects under test might be interested in, is
      exposed by Fixtures.Config
    
    Hint: Before we start any process, we get a random port and check if
    that random port is acutally free to bind to. As it takes some time
    until we actually start anything, we might run into cases, where another
    process binds to that port while we are starting up. Even if we do the
    port checking closer to actually binding, we still have the same issue.
    For now, however, we take that risk - if we run into problems with that,
    we are open to refactor that.
    hoegaarden authored and totherme committed Dec 6, 2017
    Configuration menu
    Copy the full SHA
    a1bb46b View commit details
    Browse the repository at this point in the history
  2. Use the exposed configuration of the fixtures

    The fixtures now exposes the URL the API Server is listening on. We can
    get this with from `Fixtures.Config.APIServerURL`.
    
    When we start our client program in the test, we pass that API Server
    URL in via a command line flag.
    hoegaarden authored and totherme committed Dec 6, 2017
    Configuration menu
    Copy the full SHA
    f1403d5 View commit details
    Browse the repository at this point in the history
  3. Change handling of default test assets location

    If $KUBE_ASSETS_DIR is set, we use that and try to run the binaries from
    within that directory.
    If it is not set, we try to determine the assets directory as a relative
    path to the test suite.
    hoegaarden authored and totherme committed Dec 6, 2017
    Configuration menu
    Copy the full SHA
    826a57f View commit details
    Browse the repository at this point in the history
  4. Integrate test framework tests properly

    The test framework can now run properly with `go test` and we can remove
    - our test wrapper
    - special handling of tests for the test framewoek
    hoegaarden authored and totherme committed Dec 6, 2017
    Configuration menu
    Copy the full SHA
    38e6826 View commit details
    Browse the repository at this point in the history
  5. Refactor FixtureProcesses

    - Remove the logic from the constructors
    - Have start take a configuration map for the fixture processes
    - Move the testing on open ports closer to the actual start
    hoegaarden authored and totherme committed Dec 6, 2017
    Configuration menu
    Copy the full SHA
    6416e10 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8f2ecdd View commit details
    Browse the repository at this point in the history
  7. Change overrides for test fixture paths

    One can override the paths to the binaries (etcd, APIServer) to test
    against by setting the environment variables
    - TEST_ETCD_BIN
    - TEST_APISERVER_BIN
    hoegaarden authored and totherme committed Dec 6, 2017
    Configuration menu
    Copy the full SHA
    08c3d72 View commit details
    Browse the repository at this point in the history
  8. Move logic back into fixtures constructor

    - Introduce a type for the fixture process configuration
    hoegaarden authored and totherme committed Dec 6, 2017
    Configuration menu
    Copy the full SHA
    9b6efbf View commit details
    Browse the repository at this point in the history
  9. Validate configs

    Brings in github.com/asaskevich/govalidator
    hoegaarden authored and totherme committed Dec 6, 2017
    Configuration menu
    Copy the full SHA
    370c56a View commit details
    Browse the repository at this point in the history

Commits on Dec 7, 2017

  1. Check errors even in defer blocks

    hoegaarden authored and totherme committed Dec 7, 2017
    Configuration menu
    Copy the full SHA
    2c2a850 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2017

  1. Configuration menu
    Copy the full SHA
    fafd16e View commit details
    Browse the repository at this point in the history
  2. Add a simple Port Finder

    hoegaarden authored and totherme committed Dec 8, 2017
    Configuration menu
    Copy the full SHA
    2769eb5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8bdf380 View commit details
    Browse the repository at this point in the history
  4. Add a new default constructor for Etcd

    - The default constructor for Etcd uses the DefaultBinPathFinder and the
      default EtcdConfig constructor internally
    - The Fixtures still use the old constructor, which means it passes in a
      binary path and an EtcdConfig
    hoegaarden authored and totherme committed Dec 8, 2017
    Configuration menu
    Copy the full SHA
    efb10d3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9e16cc5 View commit details
    Browse the repository at this point in the history
  6. Make Fixtures use pathless apiserver constructor

    This is motivated by #162, but also involves changing the
    NewFixtures(...) constructor which is the entry point to the whole
    framework. We're removing the amount of config
    you need to make it work, in line with #163.
    hoegaarden authored and totherme committed Dec 8, 2017
    Configuration menu
    Copy the full SHA
    ce50f3a View commit details
    Browse the repository at this point in the history
  7. Bugfix for BinPathFinder

    We now sanitize the binary names from which we construct environment
    variables to query for custom binary paths. This means we can now
    customize the apiserver binary path with $TEST_ASSET_KUBE_APISERVER
    hoegaarden authored and totherme committed Dec 8, 2017
    Configuration menu
    Copy the full SHA
    daa23fd View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2017

  1. Make ApiServer manage Etcd

    Everything now works pretty much like before, so we're not yet feeling a
    lot of the benefit. Still to do:
    
    - Remove all vestiges of Etcd config etc from the Fixtures struct
    - Remove duplicated config
    - Make Fixtures and APIServer constructors take 0 params
    hoegaarden authored and totherme committed Dec 11, 2017
    Configuration menu
    Copy the full SHA
    60834d7 View commit details
    Browse the repository at this point in the history
  2. Remove EtcdURL from APIServer Config

    hoegaarden authored and totherme committed Dec 11, 2017
    Configuration menu
    Copy the full SHA
    c90fcd1 View commit details
    Browse the repository at this point in the history
  3. Make Fixtures constructor take 0 args

    This is a natural consequence of cleaning up after the "APIServer is
    responsible for Etcd" refactor.
    hoegaarden authored and totherme committed Dec 11, 2017
    Configuration menu
    Copy the full SHA
    76ec331 View commit details
    Browse the repository at this point in the history
  4. Expose APIServers coordinates via APIServerURL()

    Instead of exposing client configuration via the Fixtures struct, we now
    expose the APIServer's coordinates via a method on Fixtures.
    hoegaarden authored and totherme committed Dec 11, 2017
    Configuration menu
    Copy the full SHA
    d5530e9 View commit details
    Browse the repository at this point in the history
  5. Move etcd path logic from constructor to Start()

    This means that if you want to customize the path to your etcd, instead
    of doing `etcd.Path = "/my/path"` you should do:
    
    ```
    etcd.PathFinder = func(_ string) string {
      return "/my/path"
    }
    ```
    
    The advantage of this is that we move logic out of the constructor, so
    we need less crazy dependancy injection logic in our tests, and we get
    closer to being able to use the 0-value Etcd struct.
    hoegaarden authored and totherme committed Dec 11, 2017
    Configuration menu
    Copy the full SHA
    c7cd62e View commit details
    Browse the repository at this point in the history

Commits on Dec 12, 2017

  1. Move APIServer path logic into Start()

    Same as in previous commit for Etcd ( d4e9e90d867bd79614157eb3f1176e3410d042ba )
    hoegaarden authored and totherme committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    54245b1 View commit details
    Browse the repository at this point in the history
  2. Make APIServer manage its own port allocations

    This means we will no longer need to pass a free port into the APIServer
    constructor.
    hoegaarden authored and totherme committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    38f3103 View commit details
    Browse the repository at this point in the history
  3. Give APIServer constructor sane defaults

    The APIServer constructor previously required careful configuration. Now
    it takes no arguments, and gives you an APIServer that you can
    `.Start()`. If you want to configure it, you still can. For example, you
    can set the environment variable `TEST_ASSET_KUBE_APISERVER` to the path
    to your apiserver binary, or you can override the PathFinder in go code:
    
    ```
    myAPIServer := test.NewAPIServer()
    myAPIServer.PathFinder = func(_ string) string {
      return "/path/to/my/apiserver/binary"
    }
    ```
    
    Previously the responsibility of choosing a port that the APIServer
    could listen on was left to the caller. Now APIServer delegates that
    responsibility to an AddressManager. By default you get a random unused
    port on localhost. If you want to customize that behaviour, you can
    overwrite the AddressManager:
    
    ```
    myAPIServer := test.NewAPIServer()
    myAPIServer.AddressManager = myAddressManager
    ```
    
    If this is a common request, then in future we might provide some common
    custom AddressManagers.
    hoegaarden authored and totherme committed Dec 12, 2017
    Configuration menu
    Copy the full SHA
    28b2461 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2017

  1. Remove EtcdConfig

    Using the AddressManager in Etcd removes the need for EtcdConfig.
    hoegaarden committed Dec 13, 2017
    Configuration menu
    Copy the full SHA
    28748b0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1dbaa9f View commit details
    Browse the repository at this point in the history
  3. Remove PortFinder, use AddressManager

    Nothing uses the PortFinder anymore. We can now remove the PortFinder,
    and rename the files to make clear AddressManager is now the thing to
    use.
    hoegaarden committed Dec 13, 2017
    Configuration menu
    Copy the full SHA
    93b865b View commit details
    Browse the repository at this point in the history
  4. Return an error when stopping a process fails

    When an error occours on `Stop()` of either the APIServer or Etcd, that
    error is propagated to the caller.
    hoegaarden committed Dec 13, 2017
    Configuration menu
    Copy the full SHA
    4b06d8b View commit details
    Browse the repository at this point in the history
  5. Rename "Fixtures" to "ControlPlane"

    Updated all comments and other related occurances.
    hoegaarden committed Dec 13, 2017
    Configuration menu
    Copy the full SHA
    4e039fd View commit details
    Browse the repository at this point in the history
  6. Move logic out of constructors

    We can move all of the logic out of the constructors and psuh them into
    `ensureInitialized()` of both APIServer and Etcd.
    By doing so, the constructors are actually not needed anymore.
    
    We however kept the constructor for the ControlPlane for convinience.
    hoegaarden committed Dec 13, 2017
    Configuration menu
    Copy the full SHA
    7394e79 View commit details
    Browse the repository at this point in the history
  7. Remove parallel starting of COntrolPlaneProcesses

    Right now the ControlPlane is actually just a thin layer around
    APIServer, this is the oly process we care for right now. Now that we
    only have one process to start, we can remove the parallel starting
    logic.
    
    In case we bring in more processes again this commit can just be reverted.
    hoegaarden committed Dec 13, 2017
    Configuration menu
    Copy the full SHA
    e91d35a View commit details
    Browse the repository at this point in the history
  8. Guard against uninitialized AddressManager

    In both Etcd and APIServer we return a descriptive Error when the
    `URL()` method is called before `Start()` and thus the AddressManager is
    not yet initialized.
    hoegaarden committed Dec 13, 2017
    Configuration menu
    Copy the full SHA
    d603563 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2017

  1. Update test to work on multiple systems

    Our integrationy unit test now works on expecting of multiple, slightly
    different errors -- different systems give slightly different errors.
    hoegaarden committed Dec 14, 2017
    Configuration menu
    Copy the full SHA
    f63f0c8 View commit details
    Browse the repository at this point in the history
  2. Return error for timeout on process stop

    We now return an error when stopping of a process times out, before that
    resulted in a panic. Now a caller of `Stop()` can catch an handle this
    error.
    
    Also, the timeouts for stopping and starting a process is now
    configurable, for example by:
    ```
    etcd := &test.APIServer{
      StartTimeout: 12 * time.Second,
      StopTimeout: 5 * time.Second,
    }
    ```
    hoegaarden committed Dec 14, 2017
    Configuration menu
    Copy the full SHA
    6846e3a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b056671 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2017

  1. Give AddressManager responsibility for its host

    You no longer have to pass a hostname to initialise the addressmanager.
    The DefaultAddressManager always listens on localhost. If you want to
    listen on some other interface, you can use a different AddressManager.
    totherme authored and hoegaarden committed Dec 15, 2017
    Configuration menu
    Copy the full SHA
    56d1337 View commit details
    Browse the repository at this point in the history
  2. Add examples and more detailed docs

    - Mostly documenting properties of APIServer (for the most part Etcd has
      the same properties).
    - Adding executable examples, some off which run as additional test
      cases.
    totherme authored and hoegaarden committed Dec 15, 2017
    Configuration menu
    Copy the full SHA
    4b2888b View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2017

  1. Configuration menu
    Copy the full SHA
    665cbb5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5beabf1 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2018

  1. Use CertDir instead of CertDirManager in APIServer

    To make our framework easier to use, we now use a `CertDir` struct
    instead of the `CertDirManager` to create and destroy (potentially
    temporary) directories.
    
    This `CertDir` holds either one of or both a path to a dir (as string)
    and a function which can clean up the directory. In the default case a
    temporary directory is created and cleaned up. For any other use case
    users can just specify the path to an existing directory or override the
    cleanup function.
    totherme authored and hoegaarden committed Jan 5, 2018
    Configuration menu
    Copy the full SHA
    18cbdf5 View commit details
    Browse the repository at this point in the history
  2. Rename CertDir to Directory

    totherme authored and hoegaarden committed Jan 5, 2018
    Configuration menu
    Copy the full SHA
    b154afe View commit details
    Browse the repository at this point in the history
  3. Use new Directory management mechanism in Etcd

    Instead of the `DataDirManager`...
    totherme authored and hoegaarden committed Jan 5, 2018
    Configuration menu
    Copy the full SHA
    1896e82 View commit details
    Browse the repository at this point in the history
  4. Remove TempDirManager

    hoegaarden committed Jan 5, 2018
    Configuration menu
    Copy the full SHA
    d2f943d View commit details
    Browse the repository at this point in the history
  5. Simplify Address handling for Etcd

    For Etcd, make the address it should listen on configurable via
    ```
    ectd := &Etcd{
      Address: &url.URL{Scheme: "http", Host: "localhost:12345"},
    }
    ```
    
    If not specified, it will internally use the `DefaultAddressManager` do
    find a free port to listen on.
    hoegaarden committed Jan 5, 2018
    Configuration menu
    Copy the full SHA
    dc77493 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5594f91 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2018

  1. Make go fmt happy

    hoegaarden committed Jan 7, 2018
    Configuration menu
    Copy the full SHA
    ee24e94 View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2018

  1. Configuration menu
    Copy the full SHA
    8910855 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a49e3e8 View commit details
    Browse the repository at this point in the history
  3. Rename Directory to CleanableDirectory

    ... and refactor Etcd tests for the Etcd's data directory
    hoegaarden authored and totherme committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    624e23a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b9ca7f0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c0e205c View commit details
    Browse the repository at this point in the history
  6. Initial commit

    spiffxp committed Jan 8, 2018
    Configuration menu
    Copy the full SHA
    3c7a2da View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2018

  1. Configuration menu
    Copy the full SHA
    b225a9c View commit details
    Browse the repository at this point in the history
  2. Simplify and clean more

    totherme authored and hoegaarden committed Jan 15, 2018
    Configuration menu
    Copy the full SHA
    3d99e2f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8f5a6aa View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7f6a7fc View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    32a29dd View commit details
    Browse the repository at this point in the history
  6. Test Start() function

    ... with some integrationy unit tests
    hoegaarden committed Jan 15, 2018
    Configuration menu
    Copy the full SHA
    73a0066 View commit details
    Browse the repository at this point in the history
  7. Test Stop() function

    ... with some integrationy unit tests
    hoegaarden committed Jan 15, 2018
    Configuration menu
    Copy the full SHA
    833a69c View commit details
    Browse the repository at this point in the history
  8. Test NewProcessState() function

    ... with some integrationy unit tests
    hoegaarden committed Jan 15, 2018
    Configuration menu
    Copy the full SHA
    4ac4c47 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    7c4abe9 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    7fdfff2 View commit details
    Browse the repository at this point in the history
  11. Introduce DefaultedProcessInput

    This intermediate structure can be constructed without reference to
    external URLs.
    totherme authored and hoegaarden committed Jan 15, 2018
    Configuration menu
    Copy the full SHA
    12abb0c View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    ad10c7e View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    67c86cb View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    ee7925c View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2018

  1. Have the APIServer take a *url.URL to Etcd

    Instead of creating, starting and stopping Etcd from within APIServer,
    the APIServer now only gets the coordinates of an Etcd handed in.
    
    The setup and wiring of both Etcd and APIServer is implemented in the
    ControlPlane.
    hoegaarden authored and totherme committed Jan 16, 2018
    Configuration menu
    Copy the full SHA
    017e556 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    96a98eb View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2018

  1. Update and add documentation

    totherme authored and hoegaarden committed Jan 17, 2018
    Configuration menu
    Copy the full SHA
    512ba13 View commit details
    Browse the repository at this point in the history
  2. Add boilerplate from kubernetes-template-project

    popuate OWNERS, OWNERS_ALIASES, and LICENSE
    spiffxp committed Jan 17, 2018
    Configuration menu
    Copy the full SHA
    9bc1315 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1 from spiffxp/add-boilerplate

    Add boilerplate from kubernetes-template-project
    spiffxp committed Jan 17, 2018
    Configuration menu
    Copy the full SHA
    62de7f7 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2018

  1. Add 'integration/' from commit '512ba13082e8e6a151b4d094857543f1bb06d…

    …10c'
    
    git-subtree-dir: integration
    git-subtree-mainline: 62de7f7
    git-subtree-split: 512ba13
    hoegaarden committed Jan 18, 2018
    Configuration menu
    Copy the full SHA
    5b11b38 View commit details
    Browse the repository at this point in the history
  2. Remove demo cli to minimise dependencies

    The integration test framework has very few dependencies, and so can be
    vendored into repos like kubernetes/kubernetes. The democli was intended
    as an example of how to use the framework, and has more dependencies.
    We'll resurrect the democli as a documentation repo elsewhere.
    hoegaarden authored and totherme committed Jan 18, 2018
    Configuration menu
    Copy the full SHA
    79ffc90 View commit details
    Browse the repository at this point in the history
  3. Avoid name stutter by moving integration tests

    Now that we've slimmed down our user-facing code, we have space to keep
    integration tests at the top level.
    hoegaarden authored and totherme committed Jan 18, 2018
    Configuration menu
    Copy the full SHA
    f5253d1 View commit details
    Browse the repository at this point in the history
  4. Update package names and import paths for new repo

    We'll have to do this again once we have a k8s.io URL, but for now this
    is enough to get things moving.
    hoegaarden authored and totherme committed Jan 18, 2018
    Configuration menu
    Copy the full SHA
    d8d6cc0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    40bad74 View commit details
    Browse the repository at this point in the history
  6. Use dep for vendoring

    Right now we only depend on ginkgo and gomega.
    hoegaarden authored and totherme committed Jan 18, 2018
    Configuration menu
    Copy the full SHA
    c90b408 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #4 from totherme/add-integration-framework

    Add integration framework
    hoegaarden committed Jan 18, 2018
    Configuration menu
    Copy the full SHA
    140bbd3 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #5 from totherme/use-dep-for-vendoring

    Use dep for vendoring
    hoegaarden committed Jan 18, 2018
    Configuration menu
    Copy the full SHA
    ad6448c View commit details
    Browse the repository at this point in the history
  9. Improve documentation

    hoegaarden authored and totherme committed Jan 18, 2018
    Configuration menu
    Copy the full SHA
    6572812 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2018

  1. Configuration menu
    Copy the full SHA
    db15e4d View commit details
    Browse the repository at this point in the history
  2. Fix panic in ProcessState.Stop()

    The methods ('Terminate', 'Kill', ...) of the internally used *gexec.Session
    do not check, if there is actually a *os.Process, they just blindly call
    methods (most notably 'Signal') on in.
    
    This bug should be fixed in gexec -- gexec itself should not panic. But
    as a hotfix, this should be good enough.
    hoegaarden committed Jan 19, 2018
    Configuration menu
    Copy the full SHA
    5c2594b View commit details
    Browse the repository at this point in the history
  3. Merge pull request #7 from spiffxp/update-readme

    Link back to the proposal that spawned this repo
    k8s-ci-robot committed Jan 19, 2018
    Configuration menu
    Copy the full SHA
    51cd7d3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3b494ab View commit details
    Browse the repository at this point in the history
  5. Remove constructor function for the ControlPlane

    We default Etcd & APIServer on Start() if needed.
    hoegaarden committed Jan 19, 2018
    Configuration menu
    Copy the full SHA
    60294b8 View commit details
    Browse the repository at this point in the history
  6. Enable CI with travis.org

    Shamelessly stolen from kubernetes/kubectl
    hoegaarden committed Jan 19, 2018
    Configuration menu
    Copy the full SHA
    023ae7f View commit details
    Browse the repository at this point in the history
  7. Merge pull request #10 from hoegaarden/enable-travis

    Enable CI with travis.org
    k8s-ci-robot committed Jan 19, 2018
    Configuration menu
    Copy the full SHA
    fdce405 View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2018

  1. Merge pull request #6 from hoegaarden/doc-improvements

    Improve documentation
    totherme committed Jan 22, 2018
    Configuration menu
    Copy the full SHA
    61fee6c View commit details
    Browse the repository at this point in the history
  2. Merge pull request #8 from hoegaarden/multiple-stop

    Multiple Stop()s should not panic
    k8s-ci-robot committed Jan 22, 2018
    Configuration menu
    Copy the full SHA
    9365b7a View commit details
    Browse the repository at this point in the history
  3. Merge pull request #9 from hoegaarden/ctrl-plane-defaulting

    ControlPlane defaulting
    k8s-ci-robot committed Jan 22, 2018
    Configuration menu
    Copy the full SHA
    4f895d3 View commit details
    Browse the repository at this point in the history
  4. Be compatible with old gomega versions

    Old versions of gomega don't have gexec.TerminateAndWait(). We can do
    without it if we call controlPlane.Stop() after our tests.
    totherme authored and hoegaarden committed Jan 22, 2018
    Configuration menu
    Copy the full SHA
    f45df22 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #11 from totherme/ginkgo-compatibility

    Be compatible with old gomega versions
    k8s-ci-robot committed Jan 22, 2018
    Configuration menu
    Copy the full SHA
    9425ce4 View commit details
    Browse the repository at this point in the history
  6. Beginnings of KubeCtl

    hoegaarden committed Jan 22, 2018
    Configuration menu
    Copy the full SHA
    8a9436d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1d75373 View commit details
    Browse the repository at this point in the history
  8. Update docs for KubeCtl

    hoegaarden committed Jan 22, 2018
    Configuration menu
    Copy the full SHA
    136d34e View commit details
    Browse the repository at this point in the history
  9. Make Integration Framework Integration tests internal

    ...this way they're not so easily confused for the Integration Framework
    Unit tests.
    totherme authored and hoegaarden committed Jan 22, 2018
    Configuration menu
    Copy the full SHA
    bc729fc View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    e4bd89c View commit details
    Browse the repository at this point in the history
  11. Make ControlPlane.APIURL return a pointer

    ...because all the methods on url.URL are on the pointer type.
    totherme authored and hoegaarden committed Jan 22, 2018
    Configuration menu
    Copy the full SHA
    2611b4b View commit details
    Browse the repository at this point in the history
  12. Cleanup kubectl tests and docs

    totherme authored and hoegaarden committed Jan 22, 2018
    Configuration menu
    Copy the full SHA
    6459e53 View commit details
    Browse the repository at this point in the history
  13. Merge pull request #12 from totherme/kubectl

    Add Kubectl Struct
    k8s-ci-robot committed Jan 22, 2018
    Configuration menu
    Copy the full SHA
    d2b1690 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    4153dcb View commit details
    Browse the repository at this point in the history
  15. Merge pull request #13 from totherme/docs

    Document the purpose of this repo, and the framework
    k8s-ci-robot committed Jan 22, 2018
    Configuration menu
    Copy the full SHA
    6f27ce6 View commit details
    Browse the repository at this point in the history

Commits on Jan 23, 2018

  1. Add a non-test file to internal/integration_tests

    ... otherwise godep will complain and bail out, because the package
    github.com/kubernetes-sig-testing/frameworks/integration/internal/integration_tests
    only has test files but no source files.
    hoegaarden authored and totherme committed Jan 23, 2018
    Configuration menu
    Copy the full SHA
    337f264 View commit details
    Browse the repository at this point in the history
  2. Change default APIServer arguments

    Removing "GenericAdmissionWebhook" from the --admission-control option,
    as this does not work with the current master of kubernetes.
    
    This clearly shows that we need to think about different versions and
    thus arguments of our binaries earlier then expected.
    hoegaarden authored and totherme committed Jan 23, 2018
    Configuration menu
    Copy the full SHA
    f27a9f0 View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2018

  1. Merge pull request #17 from totherme/update-for-apiserver

    Update for kubernetes/kubernetes
    k8s-ci-robot committed Jan 24, 2018
    Configuration menu
    Copy the full SHA
    958dc63 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2018

  1. Make kubectl.Run return stdout and stderr

    This makes more sense than leaving stdout and stderr as part of the
    Kubectl struct, because a single struct may run many commands.
    hoegaarden authored and totherme committed Jan 25, 2018
    Configuration menu
    Copy the full SHA
    608fc35 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2018

  1. Switch download script to use curl

    curl is installed on more platforms (darwin, centos, fedora) compared
    to wget.
    marun committed Jan 29, 2018
    Configuration menu
    Copy the full SHA
    4875cd9 View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2018

  1. Merge pull request #22 from marun/use-curl

    Switch download script to use curl
    k8s-ci-robot committed Jan 30, 2018
    Configuration menu
    Copy the full SHA
    52de847 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #18 from totherme/kubectl-io

    Make kubectl.Run return stdout and stderr
    k8s-ci-robot committed Jan 30, 2018
    Configuration menu
    Copy the full SHA
    b35d2d2 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2018

  1. Clearify docs for kubectl

    hoegaarden committed Jan 31, 2018
    Configuration menu
    Copy the full SHA
    248a788 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1a9ec51 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dd2d527 View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2018

  1. Enhance download script

    - Print some data after download
      - destination folder
      - binary version
    - Have the option to override the default download location
      `./scripts/download-binaries.sh <some_other_dir>`
    hoegaarden committed Feb 1, 2018
    Configuration menu
    Copy the full SHA
    ae30189 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #27 from hoegaarden/24_doc_kubectl

    Integration: Clarify docs for kubectl
    k8s-ci-robot committed Feb 1, 2018
    Configuration menu
    Copy the full SHA
    941a212 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #32 from hoegaarden/25_download_script

    Integration: Enhance download script
    k8s-ci-robot committed Feb 1, 2018
    Configuration menu
    Copy the full SHA
    00e16b8 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #28 from hoegaarden/14_start_msgs

    Integration: Make processes' start messages aware of secure connections
    k8s-ci-robot committed Feb 1, 2018
    Configuration menu
    Copy the full SHA
    9f47ad1 View commit details
    Browse the repository at this point in the history

Commits on Feb 2, 2018

  1. Configuration menu
    Copy the full SHA
    6bcee00 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7eeb6fe View commit details
    Browse the repository at this point in the history
  3. Have ProcessState.Start() take io.Writers for IO

    Start() now takes one io.Writer for StdOut and second io.Writer for
    StdeErr. Either of those can be nil.
    hoegaarden committed Feb 2, 2018
    Configuration menu
    Copy the full SHA
    a7a42ea View commit details
    Browse the repository at this point in the history
  4. Make it possible to inspect Std{Out,Err}

    ... of both Etcd and APIServer
    hoegaarden committed Feb 2, 2018
    Configuration menu
    Copy the full SHA
    6456736 View commit details
    Browse the repository at this point in the history
  5. Fix typos

    hoegaarden committed Feb 2, 2018
    Configuration menu
    Copy the full SHA
    2ac46b3 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    40b63fe View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    bb01384 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    21810f9 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d8e1e1c View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    f3f1fd8 View commit details
    Browse the repository at this point in the history
  11. Move Etcd's test into the integration_tests

    ... as they are really integration and not unit tests.
    hoegaarden committed Feb 2, 2018
    Configuration menu
    Copy the full SHA
    68b9b8f View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    fc6edbc View commit details
    Browse the repository at this point in the history
  13. Merge pull request #26 from hoegaarden/expose_IO_and_URL

    Integration: Expose StdIO and URL
    hoegaarden committed Feb 2, 2018
    Configuration menu
    Copy the full SHA
    95aa8d7 View commit details
    Browse the repository at this point in the history
  14. Merge pull request #31 from hoegaarden/14_process_args

    Integration: Make process arguments configurable
    hoegaarden committed Feb 2, 2018
    Configuration menu
    Copy the full SHA
    93ef391 View commit details
    Browse the repository at this point in the history
  15. Guard against Panic of APIServer

    In the APIServer, if the `EtcdURL` is not configured, it used to panic on
    `Start()`. In the arguments template, we called the method `String()` on
    the `EtcdURL` even if it was `nil`.
    
    This is now checked against and a proper error is ommited in case
    `EtcdURL` is `nil`.
    
    Additionally, we also guard in the default argument templates against
    issues like that. We should never run into issues here, as the
    defaulting should make it impossible to for our default templates to
    call methods on `nil`. However, we want to be good role models and do
    out best to guard against error.
    hoegaarden committed Feb 2, 2018
    Configuration menu
    Copy the full SHA
    2f5ff67 View commit details
    Browse the repository at this point in the history
  16. Fix type in filename

    hoegaarden committed Feb 2, 2018
    Configuration menu
    Copy the full SHA
    9777b76 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2018

  1. Diable apiserver to listen for secure connections

    ... for now.
    hoegaarden committed Feb 13, 2018
    Configuration menu
    Copy the full SHA
    435773e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3ddd313 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    06af849 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2018

  1. Configuration menu
    Copy the full SHA
    8f75942 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2018

  1. Add script to run tests on prow

    Josh Hill authored and hoegaarden committed Feb 20, 2018
    Configuration menu
    Copy the full SHA
    8c458a4 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #42 from hoegaarden/parallel-tests

    Integration: Parallel tests
    hoegaarden committed Feb 20, 2018
    Configuration menu
    Copy the full SHA
    f2478e5 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2018

  1. Configuration menu
    Copy the full SHA
    0017bca View commit details
    Browse the repository at this point in the history
  2. Merge pull request #35 from hoegaarden/apiserver_shall_not_panic

    Integration: Guard against Panic of APIServer
    k8s-ci-robot committed Feb 21, 2018
    Configuration menu
    Copy the full SHA
    d99c401 View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2018

  1. Merge pull request #45 from hoegaarden/test-on-prow

    Add script to run tests on prow
    k8s-ci-robot committed Feb 28, 2018
    Configuration menu
    Copy the full SHA
    2105dfc View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2018

  1. Change APIServer startup message

    We found that the APIServer was not fully up when it logged "Serving
    (in)securely on ...". We tried to find a different log line we can wait
    for to know when the APIServer is fully up.
    
    The autoregister controller came in with
    kubernetes/kubernetes#42732. It seems to be the
    last thing to come up before the server is ready to go.
    hoegaarden authored and totherme committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    52a74ea View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2018

  1. Check APIServer readiness using healthcheck API

    We now use the health check API of the APIServer to determine when the
    APIServer is ready.
    
    The implementation in the `processState` gives precedence to the the
    health check API in favour of the start message -- if you specify both,
    we only use the endpoint.
    Josh Hill authored and totherme committed Mar 20, 2018
    Configuration menu
    Copy the full SHA
    5205b84 View commit details
    Browse the repository at this point in the history

Commits on Mar 22, 2018

  1. Update imports after repo move

    The repo has been moved from
    github.com/kubernetes-sig-testing/frameworks to
    github.com/kubernetes-sigs/testing_frameworks.
    totherme authored and hoegaarden committed Mar 22, 2018
    Configuration menu
    Copy the full SHA
    b820d6d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    320842d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d8db11d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    151bdde View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a0f4835 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2018

  1. Configuration menu
    Copy the full SHA
    36d7cad View commit details
    Browse the repository at this point in the history
  2. Make HealthCheckPollInterval configurable

    The decission was made, that the defaulting is not done in the
    `DoDefaulting` function, as this does not apply for each process (as off
    now).
    In future we might consider splitting the `DoDefaulting` function into
    multiple functions and apply only certain on per process.
    hoegaarden committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    b04870d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    49018b7 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #48 from totherme/apiserver-startup-message

    Change APIServer startup message
    k8s-ci-robot committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    2909416 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2018

  1. Configuration menu
    Copy the full SHA
    6cb114a View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2018

  1. Update frameworks path in .travis.yml

    Hannes Hoerl committed Apr 4, 2018
    Configuration menu
    Copy the full SHA
    4d045c5 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #49 from totherme/update-imports-after-repo-move

    Update imports after repo move
    k8s-ci-robot committed Apr 4, 2018
    Configuration menu
    Copy the full SHA
    f500a47 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2018

  1. Use protobuf as a dependency

    Needed by ghttp
    hoegaarden committed Apr 6, 2018
    Configuration menu
    Copy the full SHA
    25514e2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2ed0b0c View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2018

  1. Merge pull request #50 from hoegaarden/add-protobuf-dep

    Add protobuf as a dependency
    k8s-ci-robot committed Apr 10, 2018
    Configuration menu
    Copy the full SHA
    15e7a6c View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2018

  1. Configuration menu
    Copy the full SHA
    62556c6 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #51 from pivotal-k8s/move-to-vanity-url

    Move to sigs.k8s.io/testing_frameworks
    k8s-ci-robot committed Apr 19, 2018
    Configuration menu
    Copy the full SHA
    f53464b View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2019

  1. Add security contacts

    X-Closes #52
    hoegaarden committed Dec 11, 2019
    Configuration menu
    Copy the full SHA
    e00770a View commit details
    Browse the repository at this point in the history
  2. Better UX for using additional arguments

    X-Closes: #55
    hoegaarden committed Dec 11, 2019
    Configuration menu
    Copy the full SHA
    f9f97cb View commit details
    Browse the repository at this point in the history
  3. Copy the internal default args for Etcd & APIServer

    ... and explicitly state that in the docs.
    hoegaarden committed Dec 11, 2019
    Configuration menu
    Copy the full SHA
    ce777c6 View commit details
    Browse the repository at this point in the history
  4. Fix typo / wording

    hoegaarden committed Dec 11, 2019
    Configuration menu
    Copy the full SHA
    d34cad5 View commit details
    Browse the repository at this point in the history
  5. make address manager public

    Mengqi Yu authored and hoegaarden committed Dec 11, 2019
    Configuration menu
    Copy the full SHA
    d759c86 View commit details
    Browse the repository at this point in the history
  6. make it work 1.12+ kube-apiserver --secure-port flag

    Mengqi Yu authored and hoegaarden committed Dec 11, 2019
    Configuration menu
    Copy the full SHA
    9f242e7 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2c61e32 View commit details
    Browse the repository at this point in the history
  8. add comments about process.ready bool state

    Co-Authored-By: s12chung <s12chung@users.noreply.github.com>
    hoegaarden and s12chung committed Dec 11, 2019
    Configuration menu
    Copy the full SHA
    f336db0 View commit details
    Browse the repository at this point in the history
  9. use net.JoinHostPort instead of Sprintf

    Mengqi Yu authored and hoegaarden committed Dec 11, 2019
    Configuration menu
    Copy the full SHA
    bf317d8 View commit details
    Browse the repository at this point in the history
  10. Fix a failing test caused by an kubectl output change in 1.16

    Mengqi Yu authored and hoegaarden committed Dec 11, 2019
    Configuration menu
    Copy the full SHA
    5343338 View commit details
    Browse the repository at this point in the history
  11. switch to use go modules

    Mengqi Yu authored and hoegaarden committed Dec 11, 2019
    Configuration menu
    Copy the full SHA
    cf7f618 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    d6eb1ac View commit details
    Browse the repository at this point in the history