Skip to content

Commit d246c6b

Browse files
committed
fixes for cli instructions, gh auth, Bob interactions, podman
1 parent 2f64841 commit d246c6b

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

‎virt-lightning/AGENTS.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@
1414
** be persistent in trying to solve problems
1515
** spawn sub-agents to complete distinct tasks to keep your context clean
1616
* look for existing projects in user home dir and clone them if missing
17-
* use `gh` cli if it was configured for github interactions
17+
* use `gh` cli if configured for github interactions
18+
* use `acli` cli if configured for JIRA interactions

‎virt-lightning/virt-lightning-example.yaml‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@
55
root_disk_size: 30
66
username: bob
77
runcmd:
8+
- mkdir -p ~/.config/containers/registries.conf.d
9+
- |+
10+
cat > ~/.config/containers/registries.conf.d/00-shortnames.conf << 'EOF'
11+
short-name-mode = "permissive"
12+
unqualified-search-registries = ["docker.io"]
13+
EOF
14+
815
- dnf install -y git gh jq tmux ripgrep
916
- curl -L "https://github.com/asdf-vm/asdf/releases/download/v0.19.0/asdf-v0.19.0-linux-amd64.tar.gz" | tar xvz -C /usr/local/bin
1017

@@ -24,7 +31,7 @@
2431
# obtain BOBSHELL_API_KEY from https://bob.ibm.com/admin/apikeys
2532
- echo "BOBSHELL_API_KEY=my-bob-api-key" >> /etc/environment
2633
- mkdir /etc/bobshell
27-
- echo '{"context":{"fileFiltering":{"respectGitIgnore":false,"respectBobIgnore":false}}}' > /etc/bobshell/settings.json
34+
- echo '{"context":{"fileFiltering":{"respectGitIgnore":false,"respectBobIgnore":false}},"session":{"maxTurns": 100000}}' > /etc/bobshell/settings.json
2835
# - echo '{ "model": { "name": "pro-latest" } }' > /etc/bobshell/system-defaults.json
2936
- |+
3037
sudo -u bob -i <<'EOF'
@@ -130,6 +137,7 @@
130137
131138
chmod 755 ~/bin/gh
132139
gh auth setup-git
140+
sed -ie 's#!/usr/bin/gh#!gh#' ~/.gitconfig
133141
EOB
134142
135143
# Atlasian CLI

0 commit comments

Comments
 (0)