GitLab CI Running

View All Rules

alias: GitLab CI Running
trigger:
  - platform: state
    entity_id: sensor.gitlab_279_pipeline_master
    to: 'running'
  - platform: state
    entity_id: sensor.gitlab_279_pipeline_develop
    to: 'running'
condition:
  - condition: state
    entity_id: sensor.family_stuart_state
    state: '7'
  - condition: state
    entity_id: light.ff_study_wall
    state: 'on'
action:
  - service: light.turn_on
    data:
      entity_id: light.ff_study_wall
      effect: colorloop
      brightness: 255
      transition: 3
  - service: light.turn_on
    data:
      entity_id: light.ff_study_desk
      effect: colorloop
      brightness: 77
      transition: 3
  - service: script.notify_tts_room
    data_template:
      room: "study"
      value1: "Git Lab is running continuous Integration testing now."
      hashtag: "#GitLab #CI"

© 2020. Some rights reserved. The contents of this site is released under a Creative Commons Attribution-Share Alike license.