github action that invokes semaphore api and poll for a result #1617
gulbinas
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I have made a working prototype and wanted to share here, maybe it would be some interest.
https://github.com/gulbinas/semaphore-action
Basic setup:
found and forked libpython-semaphore-client, but it didn't worked with websocket endpoint to poll status of task, so for that I have used websockets python library
Here is an example of
.github/workflows/deploy.yml
:Please, bear in mind thats a first prototype to prove a concept, so everything is a total mess:)
As far as I looked there is no straightforward way to use ansible semaphore from github actions, so please let me know if there is any use for somebody.
Also, PR's and ideas are welcome:)
j.
Beta Was this translation helpful? Give feedback.
All reactions