test-day-221

Today’s Task

  • Fix Catalog Clear DB semi-auto pipeline
  • Add Nexus and Catalog support to Component Audit v4
  • Upgrade Sanity Jenkins to support post build scripts
  • Fix common template branch for shared library
  • Fix Catalog support for slack notification bot

Additional Task

  • Deploy Nucleus to AWS STG

Thought

Jenkins 升级前千万要记得备份整个目录

备份完了之后先升级所有的插件

然后停掉进程,再去换 jenkins.war

test-day-215

Today’s Task

  • Common stages for gitlab ci (sharding-lib)
  • Fix LBCP build script change pom
  • add image version into job description after buildling image
  • Send slack message after building image

Additional Task

Thought

test-day-213

Today’s Task

  • Build Script User Friendly Changes

    • Common methods for T2
  • Slack Bot

    • New Features
      • Recut Request
    • FrogFoot
      • What’s lunch
  • Hadar Maintenance

    • Hadar, failed job retry success, make slack message success -> split message into three sections
    • Auto Start job on time
  • Release Tools

    • Component Audit Fix - debugging
    • Fixed NPE and colored output
  • New Bot

    • STG Sanity status

Additional Task

Thought

我觉得需要一个啥地方去记录我做过的事情。。。

不然时间长了必定会忘记

Jira Kanban 的 task 做完了就没了

test-day-208

Today’s Task

  • Build Script User Friendly Changes

    • Common methods for T2
  • Slack Bot

    • New Features
      • Recut Request
    • FrogFoot
      • What’s lunch
  • Hadar Maintenance

    • Hadar, failed job retry success, make slack message success -> split message into three sections
    • Auto Start job on time
  • Release Tools

    • Component Audit Fix - debugging
    • Fixed NPE and colored output
  • New Bot

    • STG Sanity status

Additional Task

  • Help Matt on CP image and deploy

Thought

test-day-205

Today’s Task

  • Build Script User Friendly Changes

    • Common methods for T2
  • Slack Bot

    • New Features
      • Create temp CM modal & notification
      • Split modules
  • Hadar Maintenance

    • Hadar, failed job add console to url end
    • Hadar, failed job retry success, make slack message success -> split message into three sections
    • TIM server name change in groovy
    • CI Support
    • Fix Server 500 - configuration file in image
    • Auto Start job on time
  • Release Tools

    • Component Audit Fix - debugging
  • New Bot

    • STG Sanity status
  • FrogFoot

    • What’s lunch

Additional Task

  • Create branch for catalog
  • Review image version for prod

Thought

test-day-204

Today’s Task

  • Build Script User Friendly Changes

    • Common methods for T2
  • Slack Bot

    • New Features
      • Create temp CM modal & notification
      • Split modules
  • Hadar Maintenance

    • Hadar, failed job add console to url end
    • Hadar, failed job retry success, make slack message success
    • TIM server name change
    • CI Support
    • Fix Server 500
    • Auto Start job on time
  • Release Tools

    • Component Audit Fix

Additional Task

  • Help Rose on Jenkins Job
  • Help Vince on Nexus branch

Thought

test-day-203

Today’s Task

  • Build Script User Friendly Changes

    • Common methods for T2
  • Slack Bot

    • New Features
      • Create temp CM modal & notification
      • Split modules
  • Hadar Maintenance

    • Hadar, failed job add console to url end
    • Hadar, failed job retry success, make slack message success
    • TIM server name change
    • CI Support
  • Component Audit Fix

Additional Task

Thought

test-day-196

Today’s Task

  • Build Script User Friendly Changes

    • Extract Common Methods for PCT jobs
    • Remove Audit Tool from old repo
    • Extract Common methods for T1 image release scripts
      • Catalog
      • Nexus
      • Nucleus
    • Common methods for T3
      • sloth
      • vaquita
      • cp
      • Saola
    • Common methods for T2
  • Slack Bot

    • run on AWS
    • Try Demo Full Functions
    • Basic Function
    • Easter Eggs
    • New Features
      • Create temp CM modal & notification
      • Split modules
  • Hadar Maintenance

    • Hadar, failed job add console to url end
    • Hadar, failed job retry success, make slack message success

Additional Task

  • Fix Component Audit
  • Fix ReleaseNexus
  • More Easter Eggs for slack bot

Thought

test-day-193

Today’s Task

  • Build Script User Friendly Changes

    • Extract Common Methods for PCT jobs
    • Remove Audit Tool from old repo
    • Extract Common methods for T1 image release scripts
      • Catalog
      • Nexus
      • Nucleus
    • Common methods for T3
      • sloth
      • vaquita
      • cp
    • Common methods for T2
  • Slack Bot

    • run on AWS
    • Try Demo Full Functions
    • Basic Function
    • Easter Eggs
    • New Features
      • Create temp CM modal & notification
      • Split modules
  • Hadar Maintenance

    • Hadar, failed job add console to url end
    • Hadar, failed job retry success, make slack message success

Additional Task

  • Send Failure tracking mails

Thought

1

slack bot 发消息有长度限制,3000 B

会导致有时候 icon 没法更新

要么把消息拆开来,要么就再缩一缩

那 audit 和 merge 的消息算一条

build 单独算一条

deploy & liquibase 算一条

2

WakaTime Error,重设了 api key

VS Code Remote 真的好舒服

可以直接冲上 aws 一边写一边测 Slack Bot

配合 Nodemon 的话甚至可以 Hot Reload

感觉前几年折腾的 vim 插件比如说 NERDTree, Ctags 都用不上了。。。

3

axios post 和 get 的参数并不同

post 多一个 data

test-day-192

Today’s Task

  • Build Script User Friendly Changes

    • Extract Common Methods for PCT jobs
    • Remove Audit Tool from old repo
    • Extract Common methods for T1 image release scripts
      • Catalog
      • Nexus
      • Nucleus
    • Common methods for T3
      • sloth
      • vaquita
      • cp
    • Common methods for T2
  • Slack Bot

    • run on AWS
    • Try Demo Full Functions
    • Basic Function
    • Easter Eggs
    • New Features
      • Create temp CM modal & notification
      • Split modules
  • Hadar Maintenance

    • Hadar, failed job add console to url end
    • Hadar, failed job retry success, make slack message success

Additional Task

  • Resolve Merge Conflict in Nucleus
  • Fix clear catalog db job to exec prepareRole sql
  • Push v3 image to aws

Thought

cm tool 的 api 有点奇怪

首先需要在 Header 里面带上 base64 的 用户名:密码 作为 Basic Authentication

然后会得到一个 Token, 请求其他 api 需要带上这个作为 Basic Authentication, 而不是 Bearer