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

Add adabot For Auto-updating Libraries/Contrib Info #174

Merged
merged 3 commits into from
Apr 30, 2019

Conversation

sommersoft
Copy link
Collaborator

The next (last?) part to #119.

Two environment variables will need to be added to Travis:

  • ADABOT_GITHUB_ACCESS_TOKEN: self explanatory
  • CP_ORG_UPDATER_RUN_DAY: Sets the day of the week that the script will actually run. Day is a number between 0 & 6, with 0 being Monday. (Travis cron will be set to run daily. This ensures the script runs on the day we want since Travis won't guarantee that a weekly cron will run on a certain day.)

I was unsure that the rvm stuff in the original .travis.yml was necessary, since the script section is empty. If its not needed I can remove it. Also, I just thought about this: I could also exclude it from the daily cron, using the $TRAVIS_EVENT_TYPE env var if need be.

Copy link
Contributor

@kattni kattni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing this! Looks great! I'll wait on @jwcooper to comment on the rvm bits in .travis.yml to merge.

@jwcooper
Copy link
Member

You can remove the unused bits. I think rvm is not needed there, likely a remnant from originally setting up the site.

@kattni kattni merged commit d362399 into adafruit:master Apr 30, 2019
@sommersoft sommersoft deleted the adabot_has_arrived branch May 12, 2019 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants