Hi Kamil, I tested it with your file in a virtual environment for the OLD UI and it looks like it works fine.
*Screenshot*: https://i.imgur.com/Bb0Wy8k.png ❯ cd airflow_1.10.11rc2 ❯ tree . . ├── airflow.cfg ├── airflow.db ├── config │ └── airflow_local_settings.py ❯ cat config/airflow_local_settings.py STATE_COLORS = { "queued": 'blue', "running": 'blue', "success": 'blue', "failed": 'firebrick', "up_for_retry": 'yellow', "up_for_reschedule": 'turquoise', "upstream_failed": 'orange', "skipped": 'darkorchid', "scheduled": 'blue', } Regards, Kaxil On Thu, Jul 9, 2020 at 9:58 PM Kamil Breguła <[email protected]> wrote: > I have a problem with new colors for tasks. (new feature: Allow changing > Task States Colors (#9520)) > > I created airflow_local_settings.py file: > $ cat ~/airflow/config/airflow_local_settings.py > > STATE_COLORS = { > "queued": 'blue', > "running": 'blue', > "success": 'blue', > "failed": 'firebrick', > "up_for_retry": 'yellow', > "up_for_reschedule": 'turquoise', > "upstream_failed": 'orange', > "skipped": 'darkorchid', > "scheduled": 'blue', > } > > But the colors still haven't changed. I tried to turn RBAC on and off and > it didn't help. Did I miss something? > > I also tested the airflow info and airflow config commands. These work > fine. > > > On Wed, Jul 8, 2020 at 9:10 PM Kaxil Naik <[email protected]> wrote: > > > Indeed it is > > > > On Wed, Jul 8, 2020, 20:01 Jarek Potiuk <[email protected]> > wrote: > > > > > I guess Tomek's vote is binding now :) > > > > > > J. > > > > > > On Wed, Jul 8, 2020 at 1:18 PM Jarek Potiuk <[email protected]> > > > wrote: > > > > > > > Source looks good :). Tested with RAT for licences, checked the > > > > signature/SHA. > > > > > > > > I tested few different combinations of Python/Backedn (2.7, 3.5, 3.6, > > > 3.7) > > > > x (MySQL, SQlite, Postgres) [ It's a Breeze to test it now in Docker > > with > > > > --install-airflow-version switch :)) > > > > > > > > +1 binding from me. > > > > > > > > > > > > J. > > > > > > > > > > > > On Tue, Jul 7, 2020 at 4:57 PM Tomasz Urbaszek <[email protected] > > > > > > wrote: > > > > > > > >> I've installed the 1.10.11rc2 in environment with 1.10.10 - no > > > >> problems encountered including a smooth db upgrade. > > > >> > > > >> Using Postgres as a backend I did: > > > >> - changed Airflow config > > > >> - run webserver > > > >> - run scheduler as daemon for few minutes with both Sequential and > > > >> Celery executor > > > >> - execute some task (scheduled and manualy) > > > >> > > > >> +1 non-binding > > > >> > > > >> T. > > > >> > > > >> > > > >> > > > >> On Tue, Jul 7, 2020 at 1:29 PM Kaxil Naik <[email protected]> > > wrote: > > > >> > > > > >> > Hello Airflow Community, > > > >> > > > > >> > This is a call for the vote to release Apache Airflow version > > 1.10.11 > > > >> from > > > >> > 1.10.11rc2. > > > >> > > > > >> > The release candidate: > > > >> > https://dist.apache.org/repos/dist/dev/airflow/1.10.11rc2/ > > > >> > > > > >> > *apache-airflow-1.10.11rc2-source.tar.gz* is a source release that > > > comes > > > >> > with INSTALL instructions. > > > >> > *apache-airflow-1.10.11rc2-bin.tar.gz* is the binary Python > "sdist" > > > >> release. > > > >> > *apache_airflow-1.10.11rc2-py2.py3-none-any.whl* is the binary > > Python > > > >> wheel > > > >> > release. > > > >> > > > > >> > Public keys are available at: > > > https://www.apache.org/dist/airflow/KEYS > > > >> > > > > >> > For convenience, RC is also uploaded on PyPI so you can install it > > > using > > > >> > *pip install apache-airflow==1.10.11rc2* > > > >> > > > > >> > *Changelog since 1.10.11rc1* > > > >> > > > > >> > - 2d25377a2 Update Changelog > > > >> > - 9fda048df [AIRFLOW-XXXX] Expose SQLAlchemy's connect_args and > > > make > > > >> it > > > >> > configurable (#6478) > > > >> > - 868945d6e Functionality to shuffle HMS connections used by > > > >> > HiveMetastoreHook facilitating load balancing (#9280) > > > >> > - f55906c84 re-add airflow_local_settings.py mount for > Kubernetes > > > >> > Executor > > > >> > - 14dc87485 Remove Helm Chart Folder > > > >> > > > > >> > > > > >> > Full Changelog: > > > >> > https://github.com/apache/airflow/blob/1.10.11rc2/CHANGELOG.txt > > > >> > > > > >> > The vote will be open for at least 72 hours (2020-07-10 11:30 UTC) > > or > > > >> until > > > >> > the necessary number > > > >> > of votes are reached. > > > >> > > > > >> > > > > >> > > > > > > https://www.timeanddate.com/countdown/to?iso=20200710T1230&p0=136&font=cursive > > > >> > > > > >> > Please vote accordingly: > > > >> > > > > >> > [ ] +1 approve > > > >> > [ ] +0 no opinion > > > >> > [ ] -1 disapprove with the reason > > > >> > > > > >> > Only votes from PMC members are binding, but members of the > > community > > > >> are > > > >> > encouraged to test the release and vote with "(non-binding)". > > > >> > > > > >> > Please note that the version number excludes the `rcX` string, so > > it's > > > >> now > > > >> > simply 1.10.11. This will allow us to rename the artifact without > > > >> modifying > > > >> > the artifact checksums when we actually release. > > > >> > > > > >> > Thanks, > > > >> > Kaxil Naik > > > >> > > > > > > > > > > > > -- > > > > > > > > Jarek Potiuk > > > > Polidea <https://www.polidea.com/> | Principal Software Engineer > > > > > > > > M: +48 660 796 129 <+48660796129> > > > > [image: Polidea] <https://www.polidea.com/> > > > > > > > > > > > > > > -- > > > > > > Jarek Potiuk > > > Polidea <https://www.polidea.com/> | Principal Software Engineer > > > > > > M: +48 660 796 129 <+48660796129> > > > [image: Polidea] <https://www.polidea.com/> > > > > > >
