Skip to content

SAD

Overview

This space contains the following topics:

[1] DevOps: Development Operation

[2] Operations Checklist for Infrastructure Change, New,…

[3] How to make things within this area

flowchart LR
playbook --> ansible --> deploy_action
action_trigger -->  deploy_action
deploy_action --> a[API Call HTTP] --> Trigger[bash]

Check trigger script → ||||| ANSIBLE (WORK LINUX) ||| → Intergate Server

Instruction (shell script) → execute → Target Host market available → call schedule → failed

TRIGGER EVENT WITH ACTION BY HTTP

bash script [Fast API] → ANSIBLE

This will drop any exitxt check about platform.

E.g: The covered warrant is CANCELLED status

  1. If id is in fact_vsd_registration_cancelled_code, it should be in VSD component with CANCELLED trading_status

Object filters You can use the * syntax to apply a filter and select matching items in a collection.

For example, consider an array of objects named fruits.

[
  { "name": "apple", "quantity": 1 },
  { "name": "orange", "quantity": 2 },
  { "name": "pear", "quantity": 1 }
]

The filter fruits.*.name returns the array [ "apple", "orange", "pear" ].

You may also use the * syntax on an object. For example, suppose you have an object named vegetables.

{
  "scallions": {
    "colors": ["green", "white", "red"],
    "ediblePortions": ["roots", "stalks"]
  },
  "beets": {
    "colors": ["purple", "red", "gold", "white", "pink"],
    "ediblePortions": ["roots", "stems", "leaves"]
  },
  "artichokes": {
    "colors": ["green", "purple", "red", "black"],
    "ediblePortions": ["hearts", "stems", "leaves"]
  }
}

The filter vegetables.*.ediblePortions could evaluate to:

Using collection object filter to deploy multiple target host and multiple by user

https://docs.github.com/en/actions/learn-github-actions/expressions#functions

Appendix

Appendix A: Record of Changes

Table: Record of changes

Version Date Author Description of Change
0.1.0 06/04/2024 Bao Truong Initation documentation