Skip to content

Commit

Permalink
Beautify queues output on overviewer page (apache#43734)
Browse files Browse the repository at this point in the history
Co-authored-by: Marco Küttelwesch <marco.kuettelwesch@de.bosch.com>
  • Loading branch information
2 people authored and ellisms committed Nov 13, 2024
1 parent 65a838a commit fce4d9d
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 3 deletions.
8 changes: 8 additions & 0 deletions providers/src/airflow/providers/edge/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@
Changelog
---------

0.5.2pre0
.........

Misc
~~~~

* ``Small beautification for host status in Edge Worker view.``

0.5.1pre0
.........

Expand Down
2 changes: 1 addition & 1 deletion providers/src/airflow/providers/edge/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

__all__ = ["__version__"]

__version__ = "0.5.1pre0"
__version__ = "0.5.2pre0"

if packaging.version.parse(packaging.version.parse(airflow_version).base_version) < packaging.version.parse(
"2.10.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,17 @@ <h2>Edge Worker Hosts</h2>
<span class="label" style="color:white; background-color:hotpink;" title="Current State: {{ host.state }}">{{ host.state }}</span>
{%- endif -%}
</td>
<td>{% if host.queues %}{{ host.queues }}{% else %}(all){% endif %}</td>
<td>
{% if host.queues %}
<ul>
{% for item in host.queues %}
<li>{{ item }}</li>
{% endfor %}
</ul>
{% else %}
(all)
{% endif %}
</td>
<td><time datetime="{{ host.first_online }}">{{ host.first_online }}</time></td>
<td>{% if host.last_update %}<time datetime="{{ host.last_update }}">{{ host.last_update }}</time>{% endif %}</td>
<td>{{ host.jobs_active }}</td>
Expand Down
2 changes: 1 addition & 1 deletion providers/src/airflow/providers/edge/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ source-date-epoch: 1729683247

# note that those versions are maintained by release manager - do not update them manually
versions:
- 0.5.1pre0
- 0.5.2pre0

dependencies:
- apache-airflow>=2.10.0
Expand Down

0 comments on commit fce4d9d

Please sign in to comment.