Home
DevCentral
Search
Configure Global Search
Log In
Transactions
D347
Change Details
Change Details
Old
New
Diff
The code is currently live on Wearg. **Proc tests** - `notifications::docker_format_builds "a 4 b 5 c 6 d 7"` gives `a (4x), b (5x), c (6x), d (7x)` - The projects we currently have have been added to the registry `registry set notifications.projects [list Wolfplex Keruald Nasqueron]` Then, `notifications::get_projects` gives correctly this list. **Integration test** - put a notification payload in $rawContent - `notifications::docker_build_summary DockerHub Nasqueron docker $rawContent push "image pushed" "somelink"` 3x - `notifications::channel_notify_periodics 0 0 0 0 0` prints on the channel `New images pushed to Docker Hub: svendowideit/testhook (3x)` - `registry get notifications.periodics.docker.Nasqueron` returns correctly an empty string at this stage **To test the bind time** The eggdrop binds TCL procedure stores the amount of time a proc has been triggered. At 15:30 UTC, the counter increased correctly. ``` 15:25:33 <Dereckson> .tcl binds time 15:25:33 <Wearg> Tcl: {time -|- {30 *} 1 ::notifications::channel_notify_periodics} 15:32:49 <Dereckson> .tcl binds time 15:32:49 <Wearg> Tcl: {time -|- {30 *} 2 ::notifications::channel_notify_periodics} ```
The code is currently live on Wearg. **Proc tests** - `notifications::docker_format_builds "a 4 b 5 c 6 d 7"` gives `a (4x), b (5x), c (6x), d (7x)` - The projects we currently have have been added to the registry `registry set notifications.projects [list Wolfplex Keruald Nasqueron]` Then, `notifications::get_projects` gives correctly this list. **Integration test** - put a notification payload to `$rawContent` - `notifications::docker_build_summary DockerHub Nasqueron docker $rawContent push "image pushed" "somelink"` 3x - `notifications::channel_notify_periodics 0 0 0 0 0` prints on the channel `New images pushed to Docker Hub: svendowideit/testhook (3x)` - `registry get notifications.periodics.docker.Nasqueron` returns correctly an empty string at this stage **To test the bind time** The eggdrop binds TCL procedure stores the amount of time a proc has been triggered. At 15:30 UTC, the counter increased correctly. ``` 15:25:33 <Dereckson> .tcl binds time 15:25:33 <Wearg> Tcl: {time -|- {30 *} 1 ::notifications::channel_notify_periodics} 15:32:49 <Dereckson> .tcl binds time 15:32:49 <Wearg> Tcl: {time -|- {30 *} 2 ::notifications::channel_notify_periodics} ```
The code is currently live on Wearg. **Proc tests** - `notifications::docker_format_builds "a 4 b 5 c 6 d 7"` gives `a (4x), b (5x), c (6x), d (7x)` - The projects we currently have have been added to the registry `registry set notifications.projects [list Wolfplex Keruald Nasqueron]` Then, `notifications::get_projects` gives correctly this list. **Integration test** - put a notification payload
in
to `
$rawContent
`
- `notifications::docker_build_summary DockerHub Nasqueron docker $rawContent push "image pushed" "somelink"` 3x - `notifications::channel_notify_periodics 0 0 0 0 0` prints on the channel `New images pushed to Docker Hub: svendowideit/testhook (3x)` - `registry get notifications.periodics.docker.Nasqueron` returns correctly an empty string at this stage **To test the bind time** The eggdrop binds TCL procedure stores the amount of time a proc has been triggered. At 15:30 UTC, the counter increased correctly. ``` 15:25:33 <Dereckson> .tcl binds time 15:25:33 <Wearg> Tcl: {time -|- {30 *} 1 ::notifications::channel_notify_periodics} 15:32:49 <Dereckson> .tcl binds time 15:32:49 <Wearg> Tcl: {time -|- {30 *} 2 ::notifications::channel_notify_periodics} ```
Continue