-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Clarify and document Daniel Ridge bot behavior #42
Comments
Hey @JasonEb let me know if you need anything from me here. I did write up a wiki within the ghpages-docker repo itself, but it doesn't explicitly talk about Daniel Ridge. Also, the latest issue that Daniel Ridge opened is legit--GitHub Pages really did recently update the version of Ruby they use from 2.7.3 to 2.7.4. This seems like a great opportunity to test out the workflow for updating the Docker image as described in the link that Daniel Ridge includes when it opens an issue, and to update the workflow description if it's unclear. |
@JasonEb Found the README for @danielridgebot, think it's super helpful.
I hope this is helpful! https://github.com/hackforla/ops/wiki/@danielridgebot-wiki
Pretty much done. We can briefly discuss this in our next meeting on Wednesday.
@ericvennemeyer I agree! Together with the ghpages-docker/wiki, I was able to create a PR #1 to update Ruby from 2.7.3-alpine3.13 to 2.7.4-alpine3.14. If someone can confirm that it looks good and it's working as expected, please go ahead and merge it. I know settings for certain teams & repos can be customized and roles for approval can be assigned, but if that's not necessary, I think having someone else merge the PR can be a simple way of approval and confirms everything looks good. |
FYI @JasonEb Thanks for your help with this, @yoyoyojoe I just merged your pull request and everything ran smoothly. As a result, there is now another issue in the Ops repo notifying that the new image was successfully built and pushed to Docker Hub. I know you'd mentioned adding additional detail to the success/failure notifications, so please let me know when a decision has been reached there. @yoyoyojoe I did realize that even pushing your change to its own branch in One thought did occur to me: even if the image is updated and published, devs will not use it because Docker defaults to the image already pulled and stored locally. So there may need to be some procedure to remind people to periodically delete their local image so Docker can pull down the new one next time it gets spun up. Happy to hear any suggestions if there's a better way of doing this. |
Thanks @ericvennemeyer! Before understanding the behavior of Daniel, I was thinking it might be helpful to know what who did the build, what was updated in that build or what had failed in that build. Now that we know Daniel pretty much does 2 things, and one workflow triggers another, I think it's okay to leave things as they are.
Yes! Great observation.
Great point. I think this would be good to discuss at the Ops meeting. My thought is, perhaps simply to suggest to all teams to add a new step to each team's workflow, so they can adopt a habit of updating their Docker image every so often (i.e. every major/minor/patch version update). Something to be discussed at their Community of Practice meetings? I'm also still learning how all teams work together as well, so would be happy to be in that discussion. |
@yoyoyojoe Ok cool. Re: bringing this up at the CoP meeting, |
Can we have Daniel Ridge apply labels such as We would also like to consider moving these kind of issues to the https://github.com/hackforla/ghpages-docker/issues. We will revisit this with Bonni |
Found some docs relating to adding labels to issues. Will be happy to dig into once we identify exactly which labels to use. I think @JasonEb I think it makes sense to move it to ghpages-docker, but let me (and @ericvennemeyer) know your thoughts afterwards! We can work on this after hearing back from you. Thanks! |
Hey hey. Yes, that's no problem. We can have Daniel Ridge apply labels and open issues in ghpages-docker rather than in ops. Would you like to use the same labels for issues that notify about required updates as for issues that notify about build success/failure? @yoyoyojoe thanks for finding the docs about adding labels to issues. The workflows (in both Daniel Ridge and ghpages-docker repos) use the Anyway, yes please let us know when there's a final decision re: which labels to use and whether to open issues in ghpages-docker, and I can make those changes. |
@yoyoyojoe please check out this page, where you can see the hfla website wiki that has our format for documenting automations. Can you make the wiki page for this issue, have some of that same executive level summary. Please make a separate issue that would fix the readme to have more detailed information about the automation |
Thanks @ericvennemeyer ! Hey so I'm just exploring writing in yaml syntax right now. Does this look right to you? run: gh issue create
--repo github.com/hackforla/ghpages-docker
--title "GHPAGES-DOCKER needs to be updated"
--body "GitHub Pages is now using **v${{ env.RUBY_RELEASE_VERSION }}** of Ruby. You are using **v${{ env.RUBY_CURRENT_VERSION }}**. Please refer to the [ghpages-docker Wiki](https://github.com/hackforla/ghpages-docker/wiki#how-do-you-update-ghpages-docker) for instructions on how to update."
--label "feature: maintenance", "size: missing", "role: Site Reliability Engineer", "size: 0.5pt", "good first issue"
# currently using ":" to escape colon ":" as I can see the colons are affecting the syntax erroneously. How would you do this? This "feature':' maintenance" seems to do something, but not 100% sure if it will work. And the comma between the labels? Don't worry. I'm not gonna commit, or, you can still be the one to update script, when we hear back from Jason. Waiting to confirm from @JasonEb:
|
With the disclaimer that I haven't actually tested this out myself, it seems like the following should work as a way to assign multiple labels:
In other words, enclose all the labels within one set of I'm not sure why the colons would need to be escaped. You're saying you tried to open a test issue with the labels present and it didn't work? |
No, I haven't try to open a test issue yet. Maybe we can touch base after Jason's update and through slack & zoom? |
Sure, sounds good to me. Jason actually reached out last week via Slack asking for a good time that we could all connect, but I'm not sure where that landed. Anyway, I'm available. |
Met with Joey and Eric. Clarified:
|
Hey Joey, whenever good - can you provide an update to the documentation? Lmk if you have any issues or blockers. Thanks! Progress: "What is the current status of your project? What have you completed and what is left to do?" |
Hey Jason, thanks for checking in. @ericvennemeyer and I worked on the workflow instructions asynchrously and ran into some unexpected blockers, so it took us a while to resolve it (started from "how to properly escape colon in a yml file" to I just got the testing workflow to work, and am updating the related workflows right now. Should be done in a little bit. |
Just merged the PR for I'd consider this issue resolved. In regards to an update to the documentation, I believe that is now moved to be issue #50? Progress: I'd say issue #50 is 70% complete. Would like to review it another day to make sure what's written makes sense and think about what to add. |
@yoyoyojoe I think we ended up using quite a bit of the last meeting to talk about 311's issues. So, I am not sure if you got to cover this or not. Jason, Dean and I have added it to the upcoming ops meeting agenda #12 (comment) |
Hi Bonnie, yeah for this particular issue #42 I would say it is completed with the help of @ericvennemeyer, now pending @JasonEb's review and seeing if there are other concerns before closing this one. A new issue #50 has been opened to further "clarify and document Daniel Ridge bot behavior" and to follow certain pre-existing format, and it is nearing completion. If you'd like to comment on what else to add or remove for what's been done so far, that could be helpful to move issue #50 to the right direction and resolve that as well. |
#50 got closed and since this was a follow on to that issue, we are closing this issue. |
Overview
Currently, we have a bot from @ericvennemeyer that helps manage https://github.com/hackforla/ghpages-docker/.
This bot populates ops Issues board. Let's capture it's behavior into documentation and clean up the Issues board.
Given I'm viewing Ops Issues on Github, then should I see no test issues.
Action Items
Resources/Instructions
The text was updated successfully, but these errors were encountered: