diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml deleted file mode 100644 index 3cc9a200..00000000 --- a/.github/workflows/test.yaml +++ /dev/null @@ -1,17 +0,0 @@ -name: dotfiles -on: push - -jobs: - void: - runs-on: ubuntu-latest - steps: - - name: Cancel Previous Runs - uses: styfle/cancel-workflow-action@0.9.1 - with: - access_token: ${{ github.token }} - - uses: actions/checkout@v2 - - name: Pull docker image - run: docker-compose pull - - - name: Run installer on Void - run: docker-compose up --build --exit-code-from dotfiles diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index bbb2eb62..00000000 --- a/Dockerfile +++ /dev/null @@ -1,23 +0,0 @@ -FROM ghcr.io/void-linux/void-linux:latest-full-x86_64 -MAINTAINER starr-dusT - -RUN xbps-install -Su xbps -y -RUN xbps-install -S sudo bash -y - -RUN useradd -ms /bin/bash tstarr -RUN gpasswd -a tstarr wheel -RUN echo 'tstarr ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers - -RUN echo "LANG=en_US.UTF-8" > /etc/locale.conf -RUN echo "en_US.UTF-8 UTF-8" > /etc/default/libc-locales -RUN xbps-reconfigure -f glibc-locales - -USER tstarr - -RUN mkdir -p /home/tstarr/.local/share/chezmoi -COPY --chown=tstarr:users . ./home/tstarr/.local/share/chezmoi -WORKDIR /home/tstarr/.local/share/chezmoi - -RUN locale - -ENTRYPOINT ["sh", "docker-entrypoint.sh"] diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index afc2ffec..00000000 --- a/docker-compose.yml +++ /dev/null @@ -1,10 +0,0 @@ -version: "3" -services: - dotfiles: - environment: - - CI=1 - build: . - container_name: dotfiles - image: starr-dust/dotfiles - volumes: - - .:/usr/src/ diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh deleted file mode 100755 index b479bb41..00000000 --- a/docker-entrypoint.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/usr/bin/env bash -# This script stands in for the void-initial scripts that bootstraps void with -# some specific fixes to work within github workflows - -# Install seed packages -whoami -sudo xpbs-install -Syu -y -sudo xbps-install python3 python3-pip ansible -y -sudo pip install pexpect github3.py - -# Install roles and run playbook -LANG=en_US.UTF-8 ansible-galaxy install -r /home/tstarr/.local/share/chezmoi/provision/requirements.yml -cd /home/tstarr/.local/share/chezmoi/provision -LANG=en_US.UTF-8 ansible-playbook setup.yml -i hosts