Pipeline
This commit is contained in:
@ -1,4 +1,8 @@
|
||||
---
|
||||
status: "1-Backlog"
|
||||
created: "2023-06-23T22:41:35.812Z"
|
||||
updated: "2023-07-27T18:05:52.706Z"
|
||||
type: "kanbn"
|
||||
---
|
||||
|
||||
# apt-get-install
|
||||
|
55
.kanbn/tasks/azure-pipeline.md
Normal file
55
.kanbn/tasks/azure-pipeline.md
Normal file
@ -0,0 +1,55 @@
|
||||
---
|
||||
created: "2023-07-27T18:04:46.640Z"
|
||||
updated: "2023-07-27T18:05:52.731Z"
|
||||
assigned: ""
|
||||
progress: 0
|
||||
started: "2023-07-27T18:04:48.076Z"
|
||||
status: "3-In Progress"
|
||||
type: "kanbn"
|
||||
---
|
||||
|
||||
# Azure Pipeline
|
||||
|
||||
```bash
|
||||
pscp D:/Tmp/phares/ag/vsts-agent-linux-x64-2.210.1.tar.gz unity4@unity4:/home/unity4/vsts-agent-linux-x64-2.210.1.tar.gz
|
||||
pscp D:/Tmp/phares/ag/vsts-agent-linux-x64-2.210.1.tar.gz unity5@unity5:/home/unity5/vsts-agent-linux-x64-2.210.1.tar.gz
|
||||
```
|
||||
|
||||
```bash
|
||||
mv vsts-agent-linux-x64-2.210.1.tar.gz vsts-agent-linux-x64-2.210.1-unity4
|
||||
cd vsts-agent-linux-x64-2.210.1-unity4
|
||||
tar xvzf vsts-agent-linux-x64-2.210.1.tar.gz
|
||||
chown unity4 /home/unity4/vsts-agent-linux-x64-2.210.1-unity4 -R
|
||||
chgrp unity4 /home/unity4/vsts-agent-linux-x64-2.210.1-unity4 -R
|
||||
./config.sh --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool Mesa-Linux --auth negotiate --userName infineon@phares
|
||||
./config.sh --url https://tfs.intra.infineon.com/tfs/manufacturingit --pool Mesa-Linux --auth pat --token asdf
|
||||
```
|
||||
|
||||
```bash
|
||||
sudo -i
|
||||
echo >/etc/systemd/system/vsts-agent-linux.service && nano /etc/systemd/system/vsts-agent-linux.service
|
||||
```
|
||||
|
||||
```conf
|
||||
[Unit]
|
||||
Description=vsts-agent-linux
|
||||
After=multi-user.target
|
||||
[Service]
|
||||
User=unity4
|
||||
WorkingDirectory= /home/unity4/vsts-agent-linux-x64-2.210.1-unity4
|
||||
ExecStart=/home/unity4/vsts-agent-linux-x64-2.210.1-unity4/run.sh
|
||||
Restart=always
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
```
|
||||
|
||||
```bash
|
||||
systemctl daemon-reload
|
||||
systemctl enable vsts-agent-linux.service
|
||||
systemctl start vsts-agent-linux.service
|
||||
systemctl status vsts-agent-linux.service
|
||||
systemctl stop vsts-agent-linux.service
|
||||
journalctl -fu vsts-agent-linux.service
|
||||
journalctl --rotate
|
||||
journalctl --vacuum-time=1s
|
||||
```
|
@ -1,4 +1,8 @@
|
||||
---
|
||||
status: "4-Done"
|
||||
created: "2023-07-25T17:31:10.375Z"
|
||||
updated: "2023-07-27T18:05:52.733Z"
|
||||
type: "kanbn"
|
||||
---
|
||||
|
||||
# configure-ufw
|
||||
@ -36,6 +40,7 @@ ufw enable
|
||||
ufw status numbered
|
||||
ufw disable
|
||||
```
|
||||
|
||||
```conf
|
||||
Status: active
|
||||
|
||||
|
@ -1,4 +1,8 @@
|
||||
---
|
||||
status: "4-Done"
|
||||
created: "2023-06-06T02:52:34.344Z"
|
||||
updated: "2023-07-27T18:05:52.738Z"
|
||||
type: "kanbn"
|
||||
---
|
||||
|
||||
# Create as Service
|
||||
@ -7,6 +11,7 @@
|
||||
sudo -i
|
||||
echo >/etc/systemd/system/barcode-host.service && nano /etc/systemd/system/barcode-host.service
|
||||
```
|
||||
|
||||
```conf
|
||||
[Unit]
|
||||
Description=Barcode Server
|
||||
@ -22,6 +27,7 @@ Environment=ASPNETCORE_ENVIRONMENT=Production
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
```
|
||||
|
||||
```bash
|
||||
systemctl daemon-reload
|
||||
systemctl enable barcode-host.service
|
||||
|
@ -1,9 +1,14 @@
|
||||
---
|
||||
status: "2-Todo"
|
||||
created: "2023-07-25T17:33:20.243Z"
|
||||
updated: "2023-07-27T18:05:52.708Z"
|
||||
type: "kanbn"
|
||||
---
|
||||
|
||||
# epi-pro-scan
|
||||
|
||||
```bash
|
||||
|
||||
```
|
||||
|
||||
## Sub-tasks
|
||||
|
@ -1,4 +1,8 @@
|
||||
---
|
||||
status: "4-Done"
|
||||
created: "2023-06-06T02:52:34.346Z"
|
||||
updated: "2023-07-27T18:05:52.739Z"
|
||||
type: "kanbn"
|
||||
---
|
||||
|
||||
# Install .net 7.0
|
||||
|
@ -1,4 +1,8 @@
|
||||
---
|
||||
status: "4-Done"
|
||||
created: "2023-06-06T02:52:34.347Z"
|
||||
updated: "2023-07-27T18:05:52.740Z"
|
||||
type: "kanbn"
|
||||
---
|
||||
|
||||
# install-ubuntu-frame
|
||||
|
@ -1,4 +1,8 @@
|
||||
---
|
||||
status: "4-Done"
|
||||
created: "2023-06-06T02:52:34.348Z"
|
||||
updated: "2023-07-27T18:05:52.741Z"
|
||||
type: "kanbn"
|
||||
---
|
||||
|
||||
# install-vscode-extensions
|
||||
|
@ -1,4 +1,8 @@
|
||||
---
|
||||
status: "1-Backlog"
|
||||
created: "2023-06-23T22:41:35.814Z"
|
||||
updated: "2023-07-27T18:05:52.707Z"
|
||||
type: "kanbn"
|
||||
---
|
||||
|
||||
# netplan
|
||||
@ -6,6 +10,7 @@
|
||||
```bash
|
||||
ip link
|
||||
```
|
||||
|
||||
```echo
|
||||
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
|
||||
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
|
||||
@ -13,12 +18,14 @@ ip link
|
||||
link/ether 6c:0b:84:e3:94:11 brd ff:ff:ff:ff:ff:ff
|
||||
altname enp0s31f6
|
||||
```
|
||||
|
||||
```bash
|
||||
https://ubuntu.com/server/docs/network-configuration
|
||||
ip a
|
||||
ip address show eno1
|
||||
echo >/etc/netplan/99_config.yaml && nano /etc/netplan/99_config.yaml
|
||||
```
|
||||
|
||||
```bash
|
||||
network:
|
||||
version: 2
|
||||
@ -33,6 +40,7 @@ network:
|
||||
nameservers:
|
||||
addresses: [192.168.0.1, 8.8.8.8, 4.4.4.4]
|
||||
```
|
||||
|
||||
```bash
|
||||
network:
|
||||
version: 2
|
||||
@ -47,11 +55,13 @@ network:
|
||||
nameservers:
|
||||
addresses: [192.168.0.1, 8.8.8.8, 4.4.4.4]
|
||||
```
|
||||
|
||||
```bash
|
||||
netplan apply
|
||||
ip addr flush eno1
|
||||
# soft reset
|
||||
```
|
||||
|
||||
```bash
|
||||
network:
|
||||
version: 2
|
||||
@ -66,6 +76,7 @@ network:
|
||||
nameservers:
|
||||
addresses: [10.95.128.11, 10.64.152.171, 8.8.8.8, 4.4.4.4]
|
||||
```
|
||||
|
||||
```bash
|
||||
network:
|
||||
version: 2
|
||||
|
@ -1,4 +1,8 @@
|
||||
---
|
||||
status: "3-In Progress"
|
||||
created: "2023-07-25T17:33:20.245Z"
|
||||
updated: "2023-07-27T18:05:52.709Z"
|
||||
type: "kanbn"
|
||||
---
|
||||
|
||||
# post-only-once
|
||||
|
@ -1,4 +1,8 @@
|
||||
---
|
||||
status: "3-In Progress"
|
||||
created: "2023-07-25T17:31:10.379Z"
|
||||
updated: "2023-07-27T18:05:52.711Z"
|
||||
type: "kanbn"
|
||||
---
|
||||
|
||||
# publish
|
||||
|
@ -1,4 +1,8 @@
|
||||
---
|
||||
status: "4-Done"
|
||||
created: "2023-06-06T02:52:34.351Z"
|
||||
updated: "2023-07-27T18:05:52.742Z"
|
||||
type: "kanbn"
|
||||
---
|
||||
|
||||
# Pull Repo
|
||||
|
@ -1,4 +1,8 @@
|
||||
---
|
||||
status: "3-In Progress"
|
||||
created: "2023-06-08T20:40:12.526Z"
|
||||
updated: "2023-07-27T18:05:52.712Z"
|
||||
type: "kanbn"
|
||||
---
|
||||
|
||||
# roll-out
|
||||
|
@ -1,4 +1,8 @@
|
||||
---
|
||||
status: "4-Done"
|
||||
created: "2023-07-25T18:25:05.485Z"
|
||||
updated: "2023-07-27T18:05:52.743Z"
|
||||
type: "kanbn"
|
||||
---
|
||||
|
||||
# run-secrets-task
|
||||
|
@ -1,4 +1,8 @@
|
||||
---
|
||||
status: "4-Done"
|
||||
created: "2023-06-06T02:52:34.353Z"
|
||||
updated: "2023-07-27T18:05:52.744Z"
|
||||
type: "kanbn"
|
||||
---
|
||||
|
||||
# run-test-ports
|
||||
@ -6,9 +10,11 @@
|
||||
```bash
|
||||
ls -l /dev/ttyUSB*
|
||||
```
|
||||
|
||||
```echo
|
||||
# crw-rw---- 1 root dialout 188, 0 Jun 3 14:54 /dev/ttyUSB0
|
||||
```
|
||||
|
||||
```bash
|
||||
sudo -i
|
||||
adduser unity4 dialout
|
||||
|
@ -1,4 +1,8 @@
|
||||
---
|
||||
status: "3-In Progress"
|
||||
created: "2023-07-25T17:31:10.382Z"
|
||||
updated: "2023-07-27T18:05:52.713Z"
|
||||
type: "kanbn"
|
||||
---
|
||||
|
||||
# self-signed-certificate
|
||||
@ -7,6 +11,7 @@
|
||||
sudo -i
|
||||
echo >/etc/hosts && nano /etc/hosts
|
||||
```
|
||||
|
||||
```conf
|
||||
127.0.0.1 localhost
|
||||
127.0.1.1 unity4
|
||||
@ -17,6 +22,7 @@ echo >/etc/hosts && nano /etc/hosts
|
||||
10.95.176.46 eaf-dev.mes.infineon.com
|
||||
10.95.128.35 eaf-prod.mes.infineon.com
|
||||
10.95.128.34 eaf-staging.mes.infineon.com
|
||||
10.95.128.122 oi-prod-ec-api.mes.infineon.com
|
||||
10.95.176.124 eaf-dev-reporting.mes.infineon.com
|
||||
10.95.128.37 oi-metrology-viewer-prod.mes.infineon.com
|
||||
# The following lines are desirable for IPv6 capable hosts
|
||||
@ -26,6 +32,7 @@ ff00::0 ip6-mcastprefix
|
||||
ff02::1 ip6-allnodes
|
||||
ff02::2 ip6-allrouters
|
||||
```
|
||||
|
||||
```bash
|
||||
sudo -i
|
||||
apt-get install -y ca-certificates
|
||||
|
@ -1,4 +1,8 @@
|
||||
---
|
||||
status: "4-Done"
|
||||
created: "2023-06-08T20:40:12.528Z"
|
||||
updated: "2023-07-27T18:05:52.745Z"
|
||||
type: "kanbn"
|
||||
---
|
||||
|
||||
# setup-nginx
|
||||
@ -6,6 +10,7 @@
|
||||
```bash
|
||||
echo >/etc/nginx/sites-available/default && nano /etc/nginx/sites-available/default
|
||||
```
|
||||
|
||||
```conf
|
||||
server {
|
||||
listen 80 default_server;
|
||||
@ -18,6 +23,7 @@ server {
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
```bash
|
||||
systemctl restart nginx
|
||||
lsof -i -P -n | grep LISTEN
|
||||
@ -26,6 +32,7 @@ nginx -t
|
||||
nginx -s reload
|
||||
echo >/etc/nginx/sites-available/Barcode-Host-Server && nano /etc/nginx/sites-available/Barcode-Host-Server
|
||||
```
|
||||
|
||||
```conf
|
||||
server {
|
||||
listen 80 default_server;
|
||||
@ -38,9 +45,11 @@ server {
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
```bash
|
||||
echo >/home/unity4/localhost.conf && nano /home/unity4/localhost.conf
|
||||
```
|
||||
|
||||
```conf
|
||||
[req]
|
||||
default_bits = 2048
|
||||
@ -75,11 +84,13 @@ DNS.1 = unity4
|
||||
DNS.2 = localhost
|
||||
DNS.3 = 127.0.0.1
|
||||
```
|
||||
|
||||
```bash
|
||||
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/localhost.key -out /etc/nginx/localhost.crt -config /home/unity4/localhost.conf
|
||||
ls /etc/nginx
|
||||
echo >/etc/nginx/sites-available/Barcode-Host-Server && nano /etc/nginx/sites-available/Barcode-Host-Server
|
||||
```
|
||||
|
||||
```conf
|
||||
server {
|
||||
server_name _;
|
||||
@ -99,6 +110,7 @@ server {
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
```bash
|
||||
ln -s /etc/nginx/sites-available/Barcode-Host-Server /etc/nginx/sites-enabled/Barcode-Host-Server
|
||||
nginx -t
|
||||
@ -106,6 +118,7 @@ nginx -s reload
|
||||
links https://localhost/api/lastscan
|
||||
links https://unity4/api/lastscan
|
||||
```
|
||||
|
||||
```conf
|
||||
# C:\Windows\System32\drivers\etc\hosts
|
||||
192.168.0.204 unity4
|
||||
|
@ -1,4 +1,8 @@
|
||||
---
|
||||
status: "5-Archive"
|
||||
created: "2023-06-08T20:40:12.529Z"
|
||||
updated: "2023-07-27T18:05:52.746Z"
|
||||
type: "kanbn"
|
||||
---
|
||||
|
||||
# signalr
|
||||
|
@ -1,4 +1,8 @@
|
||||
---
|
||||
status: "3-In Progress"
|
||||
created: "2023-07-25T17:31:10.383Z"
|
||||
updated: "2023-07-27T18:05:52.714Z"
|
||||
type: "kanbn"
|
||||
---
|
||||
|
||||
# update-os
|
||||
|
Reference in New Issue
Block a user