You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by as...@apache.org on 2021/03/19 21:24:50 UTC

[airflow-ci-infra] branch fix-vector-config-bug created (now 8e78313)

This is an automated email from the ASF dual-hosted git repository.

ash pushed a change to branch fix-vector-config-bug
in repository https://gitbox.apache.org/repos/asf/airflow-ci-infra.git.


      at 8e78313  Strip ANSI escape codes from logs in CloudWatch

This branch includes the following new commits:

     new 8e78313  Strip ANSI escape codes from logs in CloudWatch

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[airflow-ci-infra] 01/01: Strip ANSI escape codes from logs in CloudWatch

Posted by as...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ash pushed a commit to branch fix-vector-config-bug
in repository https://gitbox.apache.org/repos/asf/airflow-ci-infra.git

commit 8e783134bff2d44e8010cfb48f22ee30a2479fc7
Author: Ash Berlin-Taylor <as...@firemirror.com>
AuthorDate: Fri Mar 19 21:21:58 2021 +0000

    Strip ANSI escape codes from logs in CloudWatch
    
    Now that we are included step logs, we need to strip the colour escape
    sequences.
---
 cloud-init.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cloud-init.yml b/cloud-init.yml
index e65b954..9b2f9f5 100644
--- a/cloud-init.yml
+++ b/cloud-init.yml
@@ -288,6 +288,7 @@ write_files:
 
           if err == null {
             . = merge(., structured)
+            .message = strip_ansi_escape_codes!(.message)
             .type = "job-output"
           }
         '''