Skip to Content.
Sympa Menu

rare-dev - Re: [rare-dev] automatic updates

Subject: Rare project developers

List archive

Re: [rare-dev] automatic updates


Chronological Thread 
  • From: mc36 <>
  • To: Alexander Gall <>, "" <>
  • Subject: Re: [rare-dev] automatic updates
  • Date: Mon, 28 Mar 2022 13:15:01 +0200

hi,

it seems that daemonizing was not enough alone, here is the current solution:

PAR0001#show alias | include upg
test tna-upgrade attach shell3 systemd-run --scope --slice=system.slice /nix/var/nix/profiles/RARE/bin/daemonRun.bin /nix/var/nix/profiles/RARE/bin/ptyRun.bin /nix/var/nix/profiles/RARE/bin/release-manager --auto-switch --install-git origin/master

PAR0001#

it resulted in the following tree:

rare@par0001:~$ systemd-cgls
Control group /:
-.slice
init.scope
1 /lib/systemd/systemd --system --deserialize 33
system.slice
[..]
freerouter.service
204541
/nix/store/rk1m90hlhw5i7rr54nbzzjlwhfvs1yid-openjdk-14.0.2-ga-minimal-jre/bin/java
-Xmx2048m >
204616
/nix/store/xxk035cgdbxddpzbis2zascwc2r5gv6s-freerouter-native-22.3.28/bin/tapInt.bin
tapnet 2>
204617
/nix/store/a3fc4zqaiak11jks9zd579mz5v0li8bg-bash-4.4-p23/bin/sh
/nix/store/1pfml72536qk1nnjb8>
204619 pcapInt.bin bf_pci0 20002 127.0.0.1 20001 127.0.0.1
204620 pcapInt.bin mgmt0 20004 127.0.0.1 20003 127.0.0.1
204634
/nix/store/a3fc4zqaiak11jks9zd579mz5v0li8bg-bash-4.4-p23/bin/bash
/nix/store/g376q6857ylar2gr>
204764 /usr/bin/sudo env
SDE=/nix/store/qfvagj74a27zwkdsl0qxyar3mf7fv0ka-bf-sde-accton-runtime-env-9>
204765 bf_switchd --install-dir
/nix/store/qfvagj74a27zwkdsl0qxyar3mf7fv0ka-bf-sde-accton-runtime-e>
204901
/nix/store/v72cj06nk69cynckz2s12rhar25k1h7v-python3-3.8.5/bin/python3.8
/nix/store/w7n9ckxp9b>
[..]
run-rd7522ff869f84afbad296b7eabce00bc.scope
205083 /nix/var/nix/profiles/RARE/bin/ptyRun.bin
/nix/var/nix/profiles/RARE/bin/release-manager --au>
205084
/nix/store/a3fc4zqaiak11jks9zd579mz5v0li8bg-bash-4.4-p23/bin/bash
/nix/var/nix/profiles/RARE/>
205169
/nix/store/a3fc4zqaiak11jks9zd579mz5v0li8bg-bash-4.4-p23/bin/bash
/nix/var/nix/profiles/RARE/>
205170
/nix/store/a3fc4zqaiak11jks9zd579mz5v0li8bg-bash-4.4-p23/bin/bash
/nix/var/nix/profiles/RARE/>
205171 nix eval --raw (let
fn = import ./.;
args = { gitTag = "release-1eta-34-gedaf8b2"; kernelRelease =
"5.10.0-8-amd64"; platform >
in
with builtins;
with fn (intersectAttrs (functionArgs fn) args);
with install;
replaceStrings ["\n"] [""] (readFile (versionFile + "/version") +
":" +
readFile (sliceFile + "/slice")))

expect one more bump, but at this time i'll upgrade from the router cli to
see if it really works... :)

then the rollback...

regards,
cs





On 3/28/22 12:02, mc36 wrote:
hi,

On 3/28/22 11:20, Alexander Gall wrote:
Yes, that would be fine :) What would be really nice is if you could
put a short summary of changes into the commit message.

so freerouter have the changelog already:
https://github.com/mc36/freeRouter/blob/master/changelog.txt
it considers both the integration test results and the todo list...
is it ok if i convert it to a debian changelog then do the diff from the last
one?

thanks,
cs



Archive powered by MHonArc 2.6.19.

Top of Page