-
Notifications
You must be signed in to change notification settings - Fork 16
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
Project-specific variables #864
Labels
Comments
A few clarifying questions.
|
It's probably cleaner to make them available to read rather than pushing the same variables over and over. |
|
This should be closed with the 2023.3 release |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Something like key-value pairs that are stuck to Operations would be useful.
This would allow for people with custom Workers to make decisions based on a projects' variables.
An example: Slack channel names
slack_channel: example.com_campaign
slack_webhook: https://.........
slack_channel
variable and post to that slack channel that evidence was createdCurrently I'm using a dictionary in source to map operation slugs to slack-channel slugs. On every new operation, I'm going in to the source to add a new entry and then rebuilding/publishing new docker images. I then pull the image on a docker swarm manager and redeploy the slack worker.
I was about to start the process of modifying my worker to be able to read in and build that dictionary from environment variables, when the idea of operation variables popped in to my head.
The text was updated successfully, but these errors were encountered: