chaijs / chaijs.github.io

The chaijs.com website source code. Contributions welcome.
http://chaijs.github.io
49 stars 71 forks source link

Readme.md for chai-exec plugin is out of date #191

Open eduard-malakhov opened 4 years ago

eduard-malakhov commented 4 years ago

Readme.md for chai-exec (plugins/chai_exec.md) hasn't been updated since 10 Jan 2019. Meanwhile, there have been changes in the original readme (https://github.com/chaijs/chaijs.github.io/blob/master/plugins/chai_exec.md) including badge links which are now broken at https://www.chaijs.com/plugins/chai-exec/

I am not aware of the mechanism for updating these readme's and who's responsibility it is, but I thought it would be nice to bring the docs in sync with the source.

@JamesMessinger, you might want to take a look on this.

keithamus commented 4 years ago

Hm, we had Travis running in a cron job, but I guess the service is no longer running properly. Migrating to GitHub Actions might be worthwhile now.

eduard-malakhov commented 4 years ago

@keithamus, the last commit from @chaijs-bot was on Jun 10, 2019 (fac9905d0026cff89f411c236a4ad0ca36942f32)... Have you planned migrating to GitHub actions yet?

keithamus commented 4 years ago

I've been very busy with my personal life recently, too busy to spend any significant amount of time with Chai. I haven't planned migrating this particular build to GitHub Actions, but we've been using it more and more throughout other Chai projects, so I think it would work well here.

eduard-malakhov commented 4 years ago

@keithamus, can you point me to some repos where you've moved to GitHub actions already? I am now starting to migrate some of my projects and I think I could draft actions for this repo too, but I'd like to see some examples to ensure consistency across different Chai-related projects.

keithamus commented 4 years ago

@eduard-malakhov loupe runs on GitHub Actions now: https://github.com/chaijs/loupe/tree/master/.github/workflows, as does chai-http: https://github.com/chaijs/chai-http/tree/master/.github/workflows

keithamus commented 4 years ago

@eduard-malakhov it's possible to run GH Actions on commit to master and also on cron job - which would be useful for this repo

eduard-malakhov commented 4 years ago

@keithamus, thank you, I will take a look. What was the schedule for Travis job?

keithamus commented 4 years ago

It ran daily I think! Perhaps at midnight UTC? I don’t think it’s import so much when, as long as it runs regularly.

eduard-malakhov commented 4 years ago

There's only a limited number of free compute hours for GA per account, so daily runs might generate extra costs. There have been 34 commits from @chaijs-bot during 6 the last six month when the builds were running, which gives us approx. one commit every 4 days. We can use this for reference.

JamesMessinger commented 4 years ago

Hi guys. I just now saw this issue. Am I correct in understanding that this isn't a problem with chai-exec, but rather with an automated job that builds the Chai.js website?

keithamus commented 4 years ago

@JamesMessinger yes that's correct. The Chai.js website hasn't been updated for 6 months.

keithamus commented 4 years ago

There's only a limited number of free compute hours for GA per account, so daily runs might generate extra costs.

GitHub Actions is free and unlimited for public (aka FOSS) repos (within the usage policy https://help.github.com/en/actions/getting-started-with-github-actions/about-github-actions#usage-limits). Private repositories cost in minutes, but this repo is not private. Rest assured we can run the job daily @eduard-malakhov 😄 😉