Compare commits

..

No commits in common. "f100665946106b89b71d09c1a3ad83b3ed1e9167" and "821ebc8dd8346a65a8e984cca833ef9368391331" have entirely different histories.

4 changed files with 5 additions and 22 deletions

View File

@ -7,8 +7,8 @@
"protocol": "http",
"domain": "qstack.pl",
"port": "3000",
"token_name": "t",
"token": "a12b9583297c6bce982d9894a48714c7c2b9f73d",
"token_name": "r",
"token": "41d7b3f929d00db8887773e7e7f4c79630db346a",
"group": "1i-2023",
"project": "homework"
}

View File

@ -13,8 +13,8 @@ DEFAULT_CONFIG = {
"protocol": "http",
"domain": "qstack.pl",
"port": "3000",
"token_name": "t",
"token": "a12b9583297c6bce982d9894a48714c7c2b9f73d",
"token_name": "r",
"token": "41d7b3f929d00db8887773e7e7f4c79630db346a",
"group": "1i-2023",
"project": "homework"
}]

Binary file not shown.

View File

@ -1,17 +0,0 @@
#!/bin/bash
# Tworzenie nowej sesji tmux o nazwie 'my_session' i wykonywanie poleceń w niej
tmux new-session -d -s dockerr
# Wykonywanie poleceń w pierwszym oknie sesji
tmux send-keys -t dockerr "cd _srvc/devops/cluster/user" C-m
tmux send-keys -t dockerr "docker-compose up" C-m
sleep 5 # Oczekiwanie na uruchomienie kontenerów
# Tworzenie nowego okna w tej samej sesji i wejście do kontenera z uruchomieniem tmux
tmux new-window -t dockerr
tmux send-keys -t dockerr:1 "docker exec -it user_py1_1 bash -c 'tmux new-session -d -s my_container_session && tmux split-window -h && tmux split-window -v && tmux select-pane -t 0 && tmux split-window -v && tmux select-pane -t 0 && tmux send-keys -t 0 \"cd work/cpp && vim\" C-m && tmux send-keys -t 1 \"cd work/cpp/cpp && make clean && make\" C-m && tmux send-keys -t 2 \"cd riscv/VexRiscv/src/test/cpp/murax && make run\" C-m && tmux send-keys -t 3 \"cd riscv/openocd_riscv && . ./__\" C-m && tmux attach-session -d -t my_container_session'" C-m
# Przełączanie na nowe okno i wejście w interaktywny tryb tmux
tmux select-window -t dockerr:1
tmux attach-session -t dockerr