diff options
author | Andreas Fankhauser hiddenalpha.ch | 2024-09-03 16:58:08 +0200 |
---|---|---|
committer | Andreas Fankhauser hiddenalpha.ch | 2024-09-03 16:58:08 +0200 |
commit | 0c30ed915599c03aba8848544f8c84271785b26a (patch) | |
tree | 0ae10770196b68097c0b68213940e8c082b0349c /doc | |
parent | 4d2708679f64f46d5644b785ccddbc28666941ff (diff) | |
download | UnspecifiedGarbage-0c30ed915599c03aba8848544f8c84271785b26a.zip UnspecifiedGarbage-0c30ed915599c03aba8848544f8c84271785b26a.tar.gz |
NoSlim stuff.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/note/aws/aws.txt | 6 | ||||
-rw-r--r-- | doc/note/git/git.txt | 13 | ||||
-rw-r--r-- | doc/note/links/links.txt | 1 | ||||
-rw-r--r-- | doc/note/setup/paisa-zwp-devEnv.txt | 18 |
4 files changed, 32 insertions, 6 deletions
diff --git a/doc/note/aws/aws.txt b/doc/note/aws/aws.txt index b3d0767..ee6b033 100644 --- a/doc/note/aws/aws.txt +++ b/doc/note/aws/aws.txt @@ -15,12 +15,12 @@ See "../kubernetes/kubectl.txt" ## How to get logs from super-fancy-UI [Kubernetes Inventory](https://wikit.post.ch/x/wSk0Ow) -- dann "Mobility Services" +- "Mobility Services" -> "Argo CD" - dann "houston" (entweder alle via hauptnode, oder instance via unten) - dann irgendwo auf logs -## Houston Logs Tail follow +## Houston Logs CLI argocd --server "https://deployment-eks-prod-m15cp0001.eks.aws.pnetcloud.ch/applications/argocd" app list @@ -30,6 +30,8 @@ See "../kubernetes/kubectl.txt" kubectl -n "${NAMESPACE?}" exec -ti houston-0 -- sh -c 'cd /usr/local/vertx/logs && tail -F houston.log | egrep -v '\''( Forwarder | INFO ClusterWatchdogVerticle | at io|^ *["}]| HttpMultiGetServer | BisectClient )'\''' + kubectl -n "${NAMESPACE?}" exec -ti houston-0 -- sh -c 'cd /usr/local/vertx/logs && tar cz *log*' > houston-"${stage:?}"-0-log-$(date -u +%Y%m%d-%H%M%SZ).tgz + ## Houston auto chunk logs dload diff --git a/doc/note/git/git.txt b/doc/note/git/git.txt index f86fce1..a4e8e26 100644 --- a/doc/note/git/git.txt +++ b/doc/note/git/git.txt @@ -33,6 +33,19 @@ twice with colon in between): git fetch origin --depth=1 refs/tags/v1.2.3:refs/tags/v1.2.3 +## Auto-destroy code-format + + && REMOTENAME=upstream \ + && BRANCH= \ + && ISSUENR= \ + && if test -n "$(git status --porcelain)"; then echo "working tree not clean" && false; fi \ + && git detach \ + && mvn spotless:apply \ + && git add -- . && git commit -m "[${ISSUENR:?}] Auto-destroy code-format" \ + && git l2 \ + && printf '\nTODO git br %s HEAD\n\n' "${BRANCH:?}" \ + && printf '\nTODO git push %s HEAD:%s\n\n' "${REMOTENAME:?}" "HEAD:${BRANCH:?}" \ + ## Reduce local disk usage diff --git a/doc/note/links/links.txt b/doc/note/links/links.txt index 00480a2..e964b12 100644 --- a/doc/note/links/links.txt +++ b/doc/note/links/links.txt @@ -169,7 +169,6 @@ Links (Aka argument amplifiers) - [static final java uppercase](https://gitit.post.ch/projects/ISA/repos/preflux/pull-requests/82/overview?commentId=39126) - [invalid java class name](https://gitit.post.ch/projects/ISA/repos/preflux/pull-requests/82/overview?commentId=39125) - [spotless produces crap](https://gitit.post.ch/projects/ISA/repos/poodoo/pull-requests/40/overview?commentId=263122) -- [spotless produces crap](https://gitit.post.ch/projects/ISA/repos/minetti/pull-requests/14/overview) - [spotless produces crap](https://gitit.post.ch/projects/ISA/repos/veet/pull-requests/2/overview?commentId=233638) - [spotless produces crap](https://gitit.post.ch/projects/ISA/repos/trin/pull-requests/79) - [spotless produces crap](https://gitit.post.ch/projects/ISA/repos/houston/pull-requests/449/overview?commentId=263593) diff --git a/doc/note/setup/paisa-zwp-devEnv.txt b/doc/note/setup/paisa-zwp-devEnv.txt index f1c79b8..46739e1 100644 --- a/doc/note/setup/paisa-zwp-devEnv.txt +++ b/doc/note/setup/paisa-zwp-devEnv.txt @@ -4,18 +4,22 @@ Environment for Zarniwoop development TODO: "Quartus Prime 16 Lite" required, but no longer available via intel dload page. Need some solution here. + Half-done kludge for quartus dot-run stuff not working, due to "CPU too old". + TRY: Maybe try to dload the pure archives and extract manually. && (set -e \ && DIO_VERSION="054897-060542" \ && DIO_ZIP="d-${DIO_VERSION:?}.zip" \ && DIO_URL="https://wikit.post.ch/download/attachments/613505757/${DIO_ZIP:?}?api=v2" \ + && QUARTUS_URL="https://cdrdv2.intel.com/v1/dl/getContent/825277/825299?filename=qinst-lite-linux-23.1std.1-993.run" \ + && QUARTUS_RUN="${QUARTUS_URL##*filename=}" \ && SUDO=sudo \ && WORKDIR=/home/$USER/zarniwoop-workspace \ && CACHEDIR=/var/tmp \ && $SUDO apt install -y --no-install-recommends openssh-server vim make curl git unzip \ && cd "${CACHEDIR:?}" \ - && echo H4sIAAAAAAAAA1XLOw4CMQwA0Z5TUCMtsuNffBw7jiU6ak7PChqoZppX4NEUaLOw2Vfw6JRg8UXW6tdbHSA83c644by/Hs8Lp23PziU+AjcHdcKmjbjFJ8av0nPGRwGanmRkdSlsKTItcBQgjCL8U+b6VW9H4D67ogAAAA== | base64 -d | gunzip > MD5SUM \ - && curl -Lo "${DIO_ZIP:?}" "${DIO_URL:?}" \ + && echo H4sIAMfN1WYAA1XLQQoCMQyF4b2ncC20JE3bNMdJmxYGZFBnBsTTW8SFbt7/Np+B6CBFLoYjStMYRk0akzTikeV8MQcpFuEZYSz+tdxOsXKXOmpLEhR7VBoVOnXEnqSg/qo8T/goQM6ThGrDMvRkxNlAMAGhGuGfYslfxXG0YgFSJZ6EFBpI46DAxjzVfVm33V2Xvc9Zj6cL5HHbzaMTIf841tMbjUzVLOcAAAA= | base64 -d | gunzip > MD5SUM \ + && curl -Lo "${CACHEDIR:?}/${DIO_ZIP:?}" "${DIO_URL:?}" \ && grep "${DIO_VERSION:?}" MD5SUM | md5sum -c - \ && mkdir -p "${WORKDIR:?}" \ && cd "${WORKDIR:?}" \ @@ -24,7 +28,15 @@ TODO: "Quartus Prime 16 Lite" required, but no longer available via intel dload && cd "d-${DIO_VERSION:?}/devel" \ && rm -rf app \ && git clone https://gitit.post.ch/scm/isa/zarniwoop.git app \ - && cd app \ + && cd /tmp \ + && curl -Lo "${CACHEDIR:?}/${QUARTUS_RUN:?}" "${QUARTUS_URL:?}" \ + && grep -E "lite.*23" MD5SUM | md5sum -c - \ + && mkdir "${CACHEDIR:?}/quartus-inst" \ + && (cd "${CACHEDIR:?}" && sh "${QUARTUS_RUN:?}" --target "quartus-inst" --noexec) \ + && (cd "${CACHEDIR:?}/quartus-inst" && sh qinst.sh --cli) \ && printf '\n Zarniwoop setup complete (TODO install compiler etc)\n\n' \ && true) \ + +[maybe helpful for quartus install](https://community.intel.com/t5/Nios-V-II-Embedded-Design-Suite/Nios-V-Processor-Installation-and-Hello-World-Execution-Part-1/m-p/1552554) + |