Skip to content

Commit

Permalink
feat: generate tmp-ids concat
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Ramon Mañes <jose@celestia.org>
  • Loading branch information
tty47 committed Jun 23, 2023
1 parent 9ffb274 commit 902692f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deployment/overlays/robusta-torch-1/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ resources:

images:
- name: ghcr.io/jrmanes/torch
newTag: aa51c18
newTag: 9ffb274

configMapGenerator:
- name: config
Expand Down
4 changes: 2 additions & 2 deletions pkg/k8s/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@ else
--output-document - \
http://localhost:26658 > /tmp/tmp-id)
Addr=$(echo $(cat /tmp/tmp-id) | jq -r '.result.Addrs[0]')
ADDR=$(echo $(cat /tmp/tmp-id) | grep -o '"Addrs":\s*\["[^"]*"' tmp-id | sed 's/"Addrs":\s*\["\([^"]*\)".*/\1/')
ID=$(echo $(cat /tmp/tmp-id) | jq -r '.result.ID')
output="$Addr/$ID"
output="$ADDR/$ID"
echo -n "${output}" >> "%[1]s"
cat "%[1]s"
Expand Down

0 comments on commit 902692f

Please sign in to comment.