Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Gullit Miranda
    @gullitmiranda
    @saitodisse you remember the reason for not accepting "_" in the field?
    Slobodan Mišković
    @slobo
    "index-worker" is accepted too, but then I have to quote it in the file, hence i preferred to use underscore (not uppercase)
    Gullit Miranda
    @gullitmiranda
    :point_up: May 14 2015 4:23 PM cc: @fearenales
    Felipe Arenales Santos
    @fearenales
    hmm let's dig! 1 min @slobo !
    here it is: https://github.com/azukiapp/azk/blob/master/src/manifest/index.js#L180-L183
    I confess I don't know why we only support that pattern, but @nuxlli surely does
    Slobodan Mišković
    @slobo
    thanks
    Gullit Miranda
    @gullitmiranda
    @nuxlli said: "container name of limitation in docker"
    @slobo ^
    Slobodan Mišković
    @slobo
    that makes sense, thanks for checking into it!
    for azk agent on OSX, why does it remove virtual machine on start, and does that wipe out any of the existing containers / persistent data?
    Gullit Miranda
    @gullitmiranda
    no
    The VM is removed, but the disk is maintained.
    Slobodan Mišković
    @slobo
    perfect!
    Slobodan Mišković
    @slobo
    last time you guys helped me setup a system that isn't expected to stay running, instead just used for running a set of provisioning commands that are not appropriate for any other system (such as testing database migrations). This was via wait: false and. However, because that system goes down azk start returns an error status code. Are there plans to add support for these "standby" systems so that azk start doesn't see them as failed and thus be more useful when scripting azk?
    In the meantime I suppose I can keep the system running by setting command: "sleep forever" or similar...
    Gullit Miranda
    @gullitmiranda
    It is a system that you do not normally does not start, you can disable the start by default:
    scalable: {default: 0}
    and why it is returning an error?
    Slobodan Mišković
    @slobo
    i have that, but it still tries to start it
    actually, i have scalable: {"default": 0, limit: 1},
    Gullit Miranda
    @gullitmiranda
    And to answer your question, yes, the next versions of azk you have the concept of contexts where you can set different types of systems, such as compilation and build.
    if the scalable.default is to 0, it should only be started if u specify that you want it: azk start system
    except you have defined this system as a dependency.
    Slobodan Mišković
    @slobo
    it's not a dependency, but still tries to start it
    it does have depends of its own if that matters
    Gullit Miranda
    @gullitmiranda
    You could send me your Azkfile.js?
    Slobodan Mišković
    @slobo
    sure, PMd you
    Gullit Miranda
    @gullitmiranda
    ok
    Slobodan Mišković
    @slobo
    interesting, it did try the start, but this time status code was 0. i think it was returning 3 before because some systems were already running
    Slobodan Mišković
    @slobo
    in this case i would have expected "azk start" to be idempotent, i.e. to just ensure all systems running and return success if so. Or is there another command for that?
    Gullit Miranda
    @gullitmiranda

    I identified what is happening. There is a bug if the limit is not 0, it starts the system.

    If I well understand your question, you like to have a way for the 'AZK start` not stop on error?

    Slobodan Mišković
    @slobo
    ok, i'll try adding limit: 0
    i would like (azk start && azk start) to return status code 0 if all systems are going .
    right now
    azk start ; echo $?; azk start; echo $?
    returns 0, then 3
    since second command finds systems already running and i guess it thinks that's an error.
    Gullit Miranda
    @gullitmiranda
    In this case, the second command will even return an error because the system is already set up.
    Slobodan Mišković
    @slobo
    is there a command that would do what I expect? like azk ensure-all-started that I can put in a script and have it only return error code if something couldn't be started?
    Gullit Miranda
    @gullitmiranda
    yes
    a moment, I will try, because we've done it a few times.
    in this case it is made to see if the agent is launched, more can use the same principle to the start.
    Gullit Miranda
    @gullitmiranda
    you can open the issue on the bug scalable: {default: 0, limit: 1}?
    Slobodan Mišković
    @slobo
    #405, thanks
    Gullit Miranda
    @gullitmiranda
    I thank you.
    Slobodan Mišković
    @slobo
    btw, circleci is complaining on pull requests. it says: Please contact CircleCI support for iOS beta access. Does azk need iOS support?
    Felipe Arenales Santos
    @fearenales
    oh @slobo , don't worry about it. We used to use CircleCi and probably there's a webhook remaining in Github settings... :/ Should be fixed ASAP
    Slobodan Mišković
    @slobo
    what CI system are you switching to?
    Felipe Arenales Santos
    @fearenales
    Jenkins
    not the best one, but we need to run it in a MacOS X box in order to test azk properly
    Slobodan Mišković
    @slobo
    hosting your own?
    Felipe Arenales Santos
    @fearenales
    yes
    Slobodan Mišković
    @slobo
    would travis-ci work, i think they do osx? (these days i try not to manage any systems i don't have to :) )
    hm, i guess they already run inside a VM, so starting vbox would not work
    gitlab multi runner works on OSX, so you could just register one OSX box as a runner and not worry about managing the CI server. But not sure how well GitLab CI integrates with hosting code and issues on GitHub