Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 0 additions & 12 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,7 @@ jobs:
env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}

- name: Git Setup
run: |
mkdir -p ~/.ssh
echo 'Host ${{ vars.SERVER_IP }} ' >> ~/.ssh/config
echo ' HostName ${{ vars.SERVER_IP }}' >> ~/.ssh/config
echo ' Port ${{ vars.SERVER_SSH_PORT }}' >> ~/.ssh/config
cat ~/.ssh/config

- uses: actions/checkout@v4
with:
ssh-key: ${{ secrets.DEPLOY_PRIVATE_KEY }}
token: ${{ secrets.GITEA_TOKEN }}
ssh-known-hosts: ${{ secrets.KNOWN_HOSTS }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
Expand Down
11 changes: 0 additions & 11 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,19 +38,8 @@ jobs:
id-token: write

steps:
- name: Git Setup
run: |
mkdir -p ~/.ssh
echo 'Host ${{ vars.SERVER_IP }} ' >> ~/.ssh/config
echo ' HostName ${{ vars.SERVER_IP }}' >> ~/.ssh/config
echo ' Port ${{ vars.SERVER_SSH_PORT }}' >> ~/.ssh/config
cat ~/.ssh/config

- uses: actions/checkout@v4
with:
ssh-key: ${{ secrets.DEPLOY_PRIVATE_KEY }}
token: ${{ secrets.GITEA_TOKEN }}
ssh-known-hosts: ${{ secrets.KNOWN_HOSTS }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
Expand Down
21 changes: 0 additions & 21 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,6 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Git Setup
run: |
mkdir -p ~/.ssh
echo 'Host ${{ vars.SERVER_IP }} ' >> ~/.ssh/config
echo ' HostName ${{ vars.SERVER_IP }}' >> ~/.ssh/config
echo ' Port ${{ vars.SERVER_SSH_PORT }}' >> ~/.ssh/config
cat ~/.ssh/config

- uses: actions/checkout@v4
with:
ssh-key: ${{ secrets.DEPLOY_PRIVATE_KEY }}
token: ${{ secrets.GITEA_TOKEN }}
ssh-known-hosts: ${{ secrets.KNOWN_HOSTS }}

- uses: actions/setup-python@v3
- uses: leafo/gh-actions-lua@v9
- uses: leafo/gh-actions-luarocks@v4
- name: Install luaformatter
run: |
apt-get update
apt-get install cmake -y
luarocks install --server=https://luarocks.org/dev luaformatter

- uses: pre-commit/action@v3.0.1
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -232,3 +232,4 @@ venv.bak/
# mypy
.mypy_cache/
.aider*
home/.password-store/@ansys-internal.gpg
70 changes: 7 additions & 63 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ RUN apk add --no-cache \
git \
lazygit \
make \
shfmt \
# Uncategorized dependencies \
iputils \
bind-tools \
Expand All @@ -40,6 +39,7 @@ RUN apk add --no-cache \
rsync \
# System apps \
sed \
stow \
gawk \
graphviz \
zoxide \
Expand All @@ -57,18 +57,15 @@ RUN apk add --no-cache \
rust \
rust-analyzer \
cargo \
lua \
lua-dev \
luarocks \
python3 \
python3-dev \
perl \
texlive \
nodejs \
npm \
# Miscellaneous tools \
neovim \
jq \
neofetch \
tmux \
vim \
# Shells and Zsh plugins \
zsh \
zsh-autosuggestions \
Expand Down Expand Up @@ -117,43 +114,26 @@ RUN apk --no-cache --virtual .build-deps add \
gcc-doc && \
# uv tool install aider-chat && \ TODO: Fix this, something to do with scipy
uv tool install --verbose pre-commit && \
uv tool install --verbose cookiecutter && \
uv tool install --verbose ruff && \
uv tool install --verbose ipython && \
uv tool install --verbose ipdb && \
uv tool install --verbose awscli && \
uv tool install --verbose pyright && \
uv tool install --verbose ruff-lsp && \
uv tool install --verbose just && \
uv tool install --verbose aws-parallelcluster && \
uv tool install --verbose ansible

# luarocks installs
ENV PATH="/usr/local/lib/luarocks/bin/:$HOME/.luarocks/bin/:$PATH"
RUN luarocks-5.1 config local_by_default true
RUN apk --no-cache --virtual .build-deps add \
g++ \
cmake \
&& luarocks-5.1 install --server=https://luarocks.org/dev luaformatter \
&& apk del .build-deps

# deno installs
RUN curl -fsSL https://deno.land/install.sh | sh
RUN deno install --global \
# npm installs
RUN npm install -g \
prettier \
pyright \
twilio-cli
pyright

# Install tfenv
RUN git clone --depth=1 https://github.com/tfutils/tfenv.git $HOME/.tfenv
RUN .tfenv/bin/tfenv install latest

# Go installs
ENV PATH="$HOME/go/bin:$PATH"
RUN go install github.com/terraform-docs/terraform-docs@v0.18.0 \
&& terraform-docs --version \
&& go install github.com/ankitpokhrel/jira-cli/cmd/jira@latest \
&& jira --help

# Install gh
ENV PATH=$HOME/.local/bin:$PATH
Expand All @@ -173,39 +153,6 @@ RUN git clone https://github.com/eth-p/bat-extras.git \
&& cd bat-extras \
&& ./build.sh --install --no-verify

# Install ngrok cli
RUN ARCH=$(echo "$TARGETPLATFORM" | sed 's/linux\///') \
&& wget https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-${ARCH}.tgz \
&& tar -xvf ngrok-v3-stable-linux-${ARCH}.tgz -C /usr/local/bin

# Slurm
# WORKDIR /tmp
# RUN wget https://download.schedmd.com/slurm/slurm-<version>.tar.bz2 && \
# tar -xaf slurm-24.05.2.tar.bz2 && \
# cd slurm-24.05.2.tar.bz2 && \
# ./configure --prefix=/usr --sysconfdir=/etc/slurm --with-munge && \
# make && \
# make install && \
# ldconfig -n /usr/lib && \
# ldconfig -n /usr/lib64 && \
# rm -rf /var/cache/apk/* /tmp/slurm-*
# WORKDIR /home/root

# Stow
RUN apk --no-cache --virtual .build-deps add \
build-base \
automake \
autoconf \
texinfo \
&& git clone https://github.com/aspiers/stow.git \
&& cd stow \
&& sed '131,143d' -i Makefile.am \
&& sed -i '/check_pmdir/d' Makefile.am \
&& set -x && autoreconf -iv \
&& ./configure \
&& make install \
&& apk del .build-deps

# Copies
ENV SHELL_DIR=$HOME/shell
COPY . $SHELL_DIR
Expand All @@ -222,9 +169,6 @@ RUN cd $SHELL_DIR \
# Chmod so that these files are runnable
RUN find $SHELL_DIR/home/bin -type f -exec chmod +x {} \;

# Get neovim to download all its stuff
RUN nvim --headless '+Lazy install' +qall

# terminal colors with xterm
ENV TERM=xterm-256color

Expand Down
5 changes: 1 addition & 4 deletions home/.alacritty/profiles/tmux.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
[general]
import = [
"~/.alacritty/includes/shared.toml"
]

[terminal]

[terminal.shell]
[shell]
program = "/bin/zsh"
args = [
"-l",
Expand Down
Empty file added home/.config/.gitkeep
Empty file.
43 changes: 0 additions & 43 deletions home/.config/mynvim/init.lua

This file was deleted.

34 changes: 0 additions & 34 deletions home/.config/mynvim/lua/config/lazy.lua

This file was deleted.

34 changes: 0 additions & 34 deletions home/.config/mynvim/lua/config/maps.lua

This file was deleted.

25 changes: 0 additions & 25 deletions home/.config/mynvim/lua/config/settings.lua

This file was deleted.

1 change: 0 additions & 1 deletion home/.config/mynvim/lua/plugins/aider.lua

This file was deleted.

15 changes: 0 additions & 15 deletions home/.config/mynvim/lua/plugins/autopairs.lua

This file was deleted.

4 changes: 0 additions & 4 deletions home/.config/mynvim/lua/plugins/colorizer.lua

This file was deleted.

6 changes: 0 additions & 6 deletions home/.config/mynvim/lua/plugins/comment.lua

This file was deleted.

Loading
Loading