Permalink
Branch: master
Commits on Oct 30, 2018
  1. exclave: tag v0.2.5

    xobs committed Oct 30, 2018
    This fixes version control, as well as building outside of git.
    
    Signed-off-by: Sean Cross <sean@xobs.io>
  2. ci: enable other targets for travis

    xobs committed Oct 30, 2018
    Since the build is working again, re-enable the other targets.
    
    Signed-off-by: Sean Cross <sean@xobs.io>
  3. ci: remove `find .` from before-deploy.sh

    xobs committed Oct 30, 2018
    We have a better idea of how the deploy process works now, so this is no
    longer necessary.
    
    Signed-off-by: Sean Cross <sean@xobs.io>
  4. ci: set GIT_VERSION in script.sh and before_deploy.sh

    xobs committed Oct 30, 2018
    Avoid errors in `build.rs` by setting the git version in bash instead.
    
    Signed-off-by: Sean Cross <sean@xobs.io>
  5. build: use default environment variable if git fails

    xobs committed Oct 30, 2018
    Since git isn't succeeding in running in Travis, try avoiding the issue
    entirely by just pulling it from the existing environment.
    
    Signed-off-by: Sean Cross <sean@xobs.io>
  6. ci: print out environment in before_deploy

    xobs committed Oct 30, 2018
    We'll use this as a fallback for when git is unavailable.
    
    Signed-off-by: Sean Cross <sean@xobs.io>
  7. ci: add discovery stuff to before_deploy.sh

    xobs committed Oct 30, 2018
    Turns out this is the script that's failing, not `script.sh`.
    
    Signed-off-by: Sean Cross <sean@xobs.io>
  8. ci: print git location and do ls -la

    xobs committed Oct 30, 2018
    Still getting more information...
    
    Signed-off-by: Sean Cross <sean@xobs.io>
  9. ci: disable extra targets, add more build.rs output

    xobs committed Oct 30, 2018
    Try to debug Travis by adding more debug output and disabling extra
    targets.
    
    Signed-off-by: Sean Cross <sean@xobs.io>
  10. ci: try to figure out why build.rs is crashing

    xobs committed Oct 30, 2018
    Try to get more information about the Travis environment, to figure out
    why it's crashing exactly.
    
    Signed-off-by: Sean Cross <sean@xobs.io>
Commits on Oct 29, 2018
  1. exclave: tag v0.2.4

    xobs committed Oct 29, 2018
    Signed-off-by: Sean Cross <sean@xobs.io>
  2. build: include version number in final binary

    xobs committed Oct 29, 2018
    Use git to parse the tag information, and include it in the output of
    `exclave --help`.
    
    Signed-off-by: Sean Cross <sean@xobs.io>
  3. travis: disable tests on windows

    xobs committed Oct 29, 2018
    The Travis tests don't run on real Windows, and are missing Powershell.
    Or maybe they exist, they're just named "pwsh".  Either way, disable
    tests as they are failing due to the lack of a shell.
    
    Signed-off-by: Sean Cross <sean@xobs.io>
  4. test: look for scenario end and abort test if found

    xobs committed Oct 29, 2018
    Many tests run and wait for a particular event.  If the event isn't
    found, the tester will wait around forever.
    
    Look for the end of a scenario, and panic if this is reached.
    
    Signed-off-by: Sean Cross <sean@xobs.io>
  5. ci: check for .exe extension on before_deploy.sh

    xobs committed Oct 29, 2018
    CHeck for exclave.exe, and use that extension if it exists.  This should
    fix the Windows build.
    
    Signed-off-by: Sean Cross <sean@xobs.io>
  6. travis: disable netbsd

    xobs committed Oct 29, 2018
    It's broken right now, due to termios not supporting NetBSD.
    
    Signed-off-by: Sean Cross <sean@xobs.io>
  7. ci: don't `cargo run` as part of the test

    xobs committed Oct 29, 2018
    It doesn't actually work.  The tests should be sufficient.
    
    Signed-off-by: Sean Cross <sean@xobs.io>
  8. ci: add appveyor/travis support files

    xobs committed Oct 29, 2018
    Based on https://github.com/japaric/trust
    
    Signed-off-by: Sean Cross <sean@xobs.io>
  9. docs: update RaspberryPiSetup

    xobs committed Oct 29, 2018
    Update the document to the latest version, including a backport of
    documentation from `tomu-tests`.
  10. exclave: bump version to v0.2.3

    xobs committed Oct 29, 2018
    Signed-off-by: Sean Cross <sean@xobs.io>
  11. unitmanager: print a message when starting/stopping scenario

    xobs committed Oct 29, 2018
    Print a message, and make it clearer what it does, when starting or
    stopping a scenario.
    
    Signed-off-by: Sean Cross <sean@xobs.io>
  12. units: scenario: make finish_scenario non-pub

    xobs committed Oct 29, 2018
    This function is only ever called from `scenario.rs`, so mark it as
    non-pub.
    
    Signed-off-by: Sean Cross <sean@xobs.io>
  13. units: scenario: print execstopsuccess/fail progress

    xobs committed Oct 29, 2018
    When these scripts are run, generate a log message.
    
    Signed-off-by: Sean Cross <sean@xobs.io>
  14. units: scenario: rename TestFinished -> ScenarioFinished

    xobs committed Oct 29, 2018
    This state is reached when all tests have finished, meaning the scenario
    is finished.  The new name is less confusing.
    
    Signed-off-by: Sean Cross <sean@xobs.io>
  15. units: scenario: accept ExecStopFail as ExecStopFailure

    xobs committed Oct 29, 2018
    This wording seems more natural, so accept it as an alternate spelling.
    
    This state is reached when the entire scenario is finished, so it makes
    more sense to call it `ScenarioFinished` rather than `TestFinished`.
    
    Signed-off-by: Sean Cross <sean@xobs.io>
  16. cargo: update dependy version to fix rust build

    xobs committed Oct 29, 2018
    Rust has changed its standard library since version 1.30, which causes
    older versions of `dependy` to no longer build.
    
    Move to a newer version of `dependy` that addresses this issue.
    
    Signed-off-by: Sean Cross <sean@xobs.io>
Commits on Oct 23, 2018
  1. test: add a test for Requires=

    xobs committed Oct 23, 2018
    Ensure that `Requires=` pulls in the correct dependencies.
    
    Signed-off-by: Sean Cross <sean@xobs.io>
  2. test: test execstopsuccess and execstopfailure as well

    xobs committed Oct 23, 2018
    In addition to execstop, test these two functions as well.
    
    Signed-off-by: Sean Cross <sean@xobs.io>
  3. test: fix scenario_execstop command

    xobs committed Oct 23, 2018
    Signed-off-by: Sean Cross <sean@xobs.io>
  4. test: enable unix compatibility

    xobs committed Oct 23, 2018
    This fixes some command line programs so they also run on Unix systems.
    
    Signed-off-by: Sean Cross <sean@xobs.io>
  5. unitbroadcaster: remove eprintln when receiver closes

    xobs committed Oct 23, 2018
    This happens now as part of the `cargo test` harness, where it's much
    less interesting to know that the endpoint has closed.
    
    Signed-off-by: Sean Cross <sean@xobs.io>
  6. test: add a test for scenario ExecStop

    xobs committed Oct 23, 2018
    Signed-off-by: Sean Cross <sean@xobs.io>
  7. units: scenario: implement ExecStop

    xobs committed Oct 23, 2018
    This is copied over to ExecStopSuccess and ExecStopFailure if either of
    those are unspecified, and ExecStop is specified.
    
    Signed-off-by: Sean Cross <sean@xobs.io>
  8. cargo: use runny-1.2.5

    xobs committed Oct 23, 2018
    This marks RunnyWatcher as debuggable, which is necessary to
    derive(Debug) on a bunch of classes.
    
    Signed-off-by: Sean Cross <sean@xobs.io>
  9. unitmanager: mark parts of ManagerControlMessage as pub

    xobs committed Oct 23, 2018
    These fields are used by the test suite, so they must be marked as
    public.
    
    Signed-off-by: Sean Cross <sean@xobs.io>