Skip to content

Commit

Permalink
Merge pull request #1 from kiliantyler/updates
Browse files Browse the repository at this point in the history
  • Loading branch information
kiliantyler committed Aug 24, 2024
2 parents e4ea7af + 76d12ce commit 7102da2
Show file tree
Hide file tree
Showing 216 changed files with 47,441 additions and 58 deletions.
1 change: 0 additions & 1 deletion .chezmoiignore

This file was deleted.

1 change: 1 addition & 0 deletions .chezmoiroot
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dotfiles
File renamed without changes.
37 changes: 37 additions & 0 deletions .github/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# dotfiles

Documentation is a work in progress.

As is this whole repo...

<!-- TODO: Make documentation -->

<!-- Make docusaurus -->

## chezmoi

## zsh

## zidote

## trunk

### commitlint

## editorrc

## go-task

## direnv

## asdf

## homebrew

## comtrya

## age

## 1Password

## vscode
7 changes: 6 additions & 1 deletion .github/workflows/docusaurus-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
build:
name: Build Docusaurus
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./docs
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -18,16 +21,18 @@ jobs:
with:
node-version: 18
cache: npm
cache-dependency-path: ./docs/package-lock.json

- name: Install dependencies
run: npm ci

- name: Build website
run: npm run build

- name: Upload Build Artifact
uses: actions/upload-pages-artifact@v3
with:
path: build
path: docs/build

deploy:
name: Deploy to GitHub Pages
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/docusaurus-test-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ jobs:
test-deploy:
name: Test deployment
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./docs
steps:

- uses: actions/checkout@v4
Expand Down
23 changes: 11 additions & 12 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# Private
.private

*.archive
*.archive/

# ---------------------------------------------- #

Expand Down Expand Up @@ -913,23 +913,22 @@ cython_debug/
## ##
##################################################

trunk/*out
trunk/*logs
trunk/*actions
trunk/*notifications
trunk/*tools
trunk/plugins
trunk/user_trunk.yaml
trunk/user.yaml
trunk/tmp
.trunk/
.trunk/plugins/
!.trunk/config/
!.trunk/trunk.yaml

##################################################
## ##
## TODO ##
## Todo ##
## ##
##################################################

.TODO*
# Ignore TODO folder
.TODO/

# Ignore TODO files
*.TODO


##################################################
Expand Down
18 changes: 0 additions & 18 deletions .taskfiles/PrecommitTasks.yaml

This file was deleted.

22 changes: 22 additions & 0 deletions .taskfiles/ansible/Taskfile.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# yaml-language-server: $schema=https://taskfile.dev/schema.json
version: "3"

vars:
ANSIBLE_DIR: "{{ .ROOT_DIR }}/ansible"

env:
ANSIBLE_CONFIG: "{{ .ANSIBLE_DIR }}/ansible.cfg"

tasks:
init:
desc: "Initialize ansible"
cmds:
- ansible-galaxy install -r "{{.ANSIBLE_DIR}}/requirements.yaml"

run:
desc: "Run ansible-playbook"
dir: "{{ .ANSIBLE_DIR }}"
deps:
- init
cmds:
- ansible-playbook "{{.ANSIBLE_DIR}}/playbook.yaml"
11 changes: 11 additions & 0 deletions .taskfiles/docs/Taskfile.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
version: "3"

vars:
DocsDir: "/docs"

tasks:
serve:
desc: "Start the Docusaurus development server"
cmds:
- npm run start
dir: "{{.DocsDir}}"
5 changes: 5 additions & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
task 3.38.0
trunk 1.22.3
1password-cli 2.30.0
age 1.2.0
nodejs 22.5.1
1 change: 0 additions & 1 deletion .trunk/plugins/trunk

This file was deleted.

1 change: 0 additions & 1 deletion .trunk/plugins/trunk-yls

This file was deleted.

1 change: 0 additions & 1 deletion .trunk/plugins/yamlfmt

This file was deleted.

2 changes: 1 addition & 1 deletion .trunk/trunk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,4 @@ actions:
- trunk-upgrade-available
tools:
enabled:
- action-validator@0.6.0
- action-validator@0.6.0
21 changes: 0 additions & 21 deletions README.md

This file was deleted.

9 changes: 8 additions & 1 deletion Taskfile.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# yaml-language-server: $schema=https://taskfile.dev/schema.json
version: "3"

vars:
PROJECT_DIR:
sh: git rev-parse --show-toplevel
TASKFILE_DIR: "{{.ROOT_DIR}}/.taskfiles"

dotenv: [.config.env]

Expand All @@ -11,7 +13,12 @@ env:
VIRTUAL_ENV: "{{.ROOT_DIR}}/.venv"

includes:
precommit: .taskfiles/PrecommitTasks.yaml
ansible:
taskfile: ".taskfiles/ansible/Taskfile.yaml"
aliases: [a]
docusaurus:
taskfile: ".taskfiles/docs/Taskfile.yaml"
aliases: [d, docs]

tasks:
default:
Expand Down
1 change: 1 addition & 0 deletions ansible/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
collections/
Loading

0 comments on commit 7102da2

Please sign in to comment.