Giter VIP home page Giter VIP logo

Comments (23)

mitchellkrogza avatar mitchellkrogza commented on May 28, 2024 3

Closing, working 100%

from badd-boyz-hosts.

funilrys avatar funilrys commented on May 28, 2024 1

What about

  • Funceble run 40 minutes
    • After 40 minutes:
      • We commit without [ci skip]
      • We exit the script with exit 0

Then on next commit (last one)

  • Funceble run for 40 minutes
    • If we reach the last line we set a variable which gonna activate the commit with [ci skip]

from badd-boyz-hosts.

funilrys avatar funilrys commented on May 28, 2024 1

https://github.com/travis-ci/travis-build/blob/f603c0089116364ccb820cad790b0837f358fb53/lib/travis/build/templates/header.sh#L163-L167 😄

from badd-boyz-hosts.

mitchellkrogza avatar mitchellkrogza commented on May 28, 2024

@funilrys 40 minutes into Travis build and only on "m" ..... not going to make it 😁

from badd-boyz-hosts.

mitchellkrogza avatar mitchellkrogza commented on May 28, 2024

@funilrys .... reached until "rel" then maxed out due to the 50 minute timeout.

from badd-boyz-hosts.

funilrys avatar funilrys commented on May 28, 2024

@mitchellkrogza Before anything thanks! I planned to test with dead-hosts but this is just an awesome output :)

from badd-boyz-hosts.

funilrys avatar funilrys commented on May 28, 2024

The idea behind the auto save is to commit the continue.txt + all generated files then when you restart with all save files, it'll continue from the last saved domain/IP :)

Not bad at all "rel" :)

For me, the main issue is the outputs like https://travis-ci.org/mitchellkrogza/Badd-Boyz-Hosts/builds/265582291#L9807 😄

from badd-boyz-hosts.

funilrys avatar funilrys commented on May 28, 2024

@mitchellkrogza You can restart it :) Only the "m" issue have an influence with the Travis autosave :) The whois outputs don't have any influence with the result 😉

from badd-boyz-hosts.

mitchellkrogza avatar mitchellkrogza commented on May 28, 2024

Ok so how we do that? I'd like to test that for sure but think I am going to need some script changes in deploy etc ???

from badd-boyz-hosts.

funilrys avatar funilrys commented on May 28, 2024

For now, we need to start from beginning because commit -am did not work.

Than, we need only a commit so Travis restart its job ... But you're right I didn't really think about how we handle that part ...

from badd-boyz-hosts.

mitchellkrogza avatar mitchellkrogza commented on May 28, 2024

Going to have to re-work a lot of scripting so that it commits "without a [ci skip]" ... which will then tell Travis to go ahead and build again "but" this time continuing .... and keep doing this until it reaches the end of a list .... then move to final deploy with a [ci skip] message. This one's going to be tricky one to figure out.

from badd-boyz-hosts.

mitchellkrogza avatar mitchellkrogza commented on May 28, 2024

Oh yes, BTW, I found this awesome free app for iOS. https://itunes.apple.com/ua/app/codehub-a-client-for-github/id707173885?mt=8 I did two commits from my iPad last night which was a total breeze, absolutely brilliant little app.

from badd-boyz-hosts.

funilrys avatar funilrys commented on May 28, 2024

The big problem is that sometimes Travis stops at [40-50] minutes ...

Not bad 👍

from badd-boyz-hosts.

mitchellkrogza avatar mitchellkrogza commented on May 28, 2024

We will need to have YET another switch for funceble 😹 setting a -r (runtime) option and set it to 25 minutes, then commit and carry on.

👍 that Codehub app is awesome, I could sit in front of TV and do 2 quick commits with the greatest of ease. NOW .... when I go away for 12 days I can be GITTING all I like 🤣 🤣 .... Dylan would KILL ME if I did that.

from badd-boyz-hosts.

funilrys avatar funilrys commented on May 28, 2024

Or we stop Travis by exiting after 40 minutes 😹

from badd-boyz-hosts.

mitchellkrogza avatar mitchellkrogza commented on May 28, 2024

40 is good. To be safe I would go with 35 and not put Travis under too much pressure as some of our repo's tend to do 😹 .... one day I can see an email saying hey, slow down on Travis 🤣

from badd-boyz-hosts.

funilrys avatar funilrys commented on May 28, 2024

Then we need to handle the end of the file 😸

from badd-boyz-hosts.

mitchellkrogza avatar mitchellkrogza commented on May 28, 2024

What about

  • funceble with a runtime of let's say 40 minutes.
  • When 40 minutes lapses, funceble kills itself, writes the continue.txt file
  • Do a travis commit of all files without [ci skip] in the commit message
  • Travis then will trigger a new build
  • New build starts, funceble kicks in and continues from continue.txt
  • 40 minutes ... same thing.
  • Once funceble gets to the end of a list it should maybe write a .complete file
  • The final deploy script can search for the existence of .complete and then do the final commit with [ci skip]

Handling this logic in .travis.yml deploy section is what is going to be the trouble maker ???

from badd-boyz-hosts.

mitchellkrogza avatar mitchellkrogza commented on May 28, 2024

You have collaborator access to this repo .... so you can test anything you like here. I'm busy with a cleanup right now of some false positives and dead / inactive domains.

from badd-boyz-hosts.

mitchellkrogza avatar mitchellkrogza commented on May 28, 2024

@funilrys I ran this list on my Ubuntu Server this morning with a timeout of 5 seconds. It finished now.

Execution Time:
04:43:37

I also ran it as follows but cannot find any percentage.txt file anywhere ./funceble -a -ex -h -p -t 5 -f domains.txt ???

I ran it using the dev branch.

from badd-boyz-hosts.

mitchellkrogza avatar mitchellkrogza commented on May 28, 2024

Scratch that @funilrys i should not have added the -p switch ..... silly me.

from badd-boyz-hosts.

funilrys avatar funilrys commented on May 28, 2024

That is the reason I added Current value: xxxx into ./funceble --help 😹 😹 😹 😹

from badd-boyz-hosts.

mitchellkrogza avatar mitchellkrogza commented on May 28, 2024

@funilrys running new dev branch now.

from badd-boyz-hosts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.