Comments (8)
Looks like there's no one perfect way to do this, but several approaches that would probably work:
- Just set a schedule to watch for releases
- Use a workflow in the octoprint/octprint project to send a workflow_dispatch or repository_dispatch event on release of octoprint/octoprint, to the octoprint/docker to run specific workflows in specific branches
from octoprint-docker.
May also be able to use the discord bot for octoprint/octoprint to actually trigger workflows in octoprint/docker 🤔 The key is making sure the payload is formatted correctly, and that may actually be easier to do using the discord bot than github itself (github actions really needs the ability to trigger on organization events and not just repository events)
from octoprint-docker.
https://github.community/t/run-action-on-event-in-another-repository/17667
from octoprint-docker.
Yes, the second option works well. I use it at work for several private repos. The one repo they all push the event to just "queues up" the releases. This is better than a polling method IMO as it keeps an order to the queue
I'd offer to help but I'm swamped with face shields for schools at the moment.
from octoprint-docker.
I see that OctoPrint/OctoPrint#3667 is out for review -- are you working on the octoprint/octoprint-docker
side of things to handle the event? If not I can take a stab at it
from octoprint-docker.
from octoprint-docker.
@eaceaser sorry for the short reply earlier, I was mobile. I am working on creating a matrix of tags from the same upstream release. I've actually been live-streaming my work as I go (part 1, part 2, but I tend to only work on OctoPrint stuff on the weekends only, and i didn't finish in time last weekend so I'll be wrapping it up friday or saturday.
This has actually inspired me to create a new github action that I call Tagging Strategy
(HackerHappyHour/tagging-strategy), that will do what I'm looking to do here.
(Basically, take a release event such as 1.4.1, and produce image tags all pointing to the same digest for 1
, 1.4
, 1.4.1
and latest
, as well as the same tags for any variants. )
I've cloned both OctoPrint and octoprint-docker into the HackerHappyHour org that I own so I can trigger release events from that octoprint fork for testing.
If you want to contribute or collaborate now that you're up to speed, just hop into discord.octoprint.org and say hello to @CHIEFdotJS
in the #dev-misc
channel and we can figure out how to insert you into this WIP (what fork & branch you can branch from).
from octoprint-docker.
fixed via #59
from octoprint-docker.
Related Issues (20)
- marlin-binary-protocol missing
- Config_Directory not properly initiated HOT 3
- Q: what is the preffered method of updating the octoprint-docker container? HOT 1
- [BUG] octoprint/octoprint:latest or :1.8.6 not up to date HOT 4
- Q: octoprint-docker on Windows HOT 2
- Multiple Webcam Support
- [BUG] Multi camera support uses wrong port HOT 1
- Can't get webcam working
- Multiple processes of mjpg streamer started HOT 7
- [BUG] Webassets are not loaded when X-Script-Name is set HOT 3
- [BUG] Loading error: Passive login failed. raspi 4 HOT 8
- Docker container with camera-streamer HOT 3
- Shutdown/Reboot commands HOT 3
- [BUG] `undefined` tag is present on Dockerhub HOT 1
- AttributeError: 'Babel' object has no attribute 'app' HOT 5
- [BUG] validating /<path>/docker-compose.yml: (root) Additional property payload is not allowed HOT 2
- upgrade to bookworm release python HOT 3
- [BUG] and proposed fix for "PermissionError: [Errno 1] Operation not permitted" due to libseccomp2 HOT 1
- [BUG] mjpg_steamer fails and needs to be restarted
- Q: How do I use with CasaOS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from octoprint-docker.