forked from satnaing/astro-paper
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Tommy Tran Duc Thang
committed
Nov 9, 2024
1 parent
c8aa2f6
commit 32e25c5
Showing
11 changed files
with
296 additions
and
197 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
version: '3' | ||
|
||
vars: | ||
# K3d configuration | ||
K3D_CLUSTER_NAME: testcluster | ||
LOCAL_IMAGE_REGISTRY_URI: localregistry.localhost | ||
LOCAL_IMAGE_REGISTRY_PORT: 12345 | ||
|
||
APP_NAME: role-controller | ||
|
||
tasks: | ||
default: | ||
cmds: | ||
- task help | ||
silent: true | ||
|
||
help: | ||
cmds: | ||
- echo "Welcome to my project - maintainer<Tommy Tran Duc Thang> - email<[email protected]>" | ||
- echo "" | ||
- echo "Run task <task_name> to run predefined script" | ||
- echo "Note":" commands start with local":" are for local development" | ||
- echo "" | ||
- echo "For install dev environment task local:install" | ||
- echo "Going into dev environment task local:shell" | ||
- echo "" | ||
- echo "For running ci on pipeline task ci:execute but if running it from local make sure you run task:shell first" | ||
- echo "" | ||
- task -l | ||
silent: true | ||
|
||
local:install: | ||
desc: install required tools, setup env for macOS and Ubuntu | ||
cmds: | ||
- command -v devbox &> /dev/null || { curl -fsSL https://get.jetify.com/devbox | bash; } | ||
- devbox install | ||
silent: true | ||
|
||
local:shell: | ||
desc: Getting into dev shell that has all required tools for development | ||
cmds: | ||
- | | ||
if [ "$DEVBOX_SHELL_ENABLED" != "1" ]; then | ||
echo "Going into devbox shell" | ||
devbox shell | ||
fi | ||
- echo "You already in devbox shell" | ||
silent: true | ||
|
||
local:shell:check: | ||
desc: Getting into dev shell that has all required tools for development | ||
cmds: | ||
- | | ||
if [ "$DEVBOX_SHELL_ENABLED" != "1" ]; then | ||
echo "You are not in devbox shell. Please go into a devbox shell first by running:" | ||
echo "task local:shell" | ||
exit 1; | ||
fi | ||
silent: true | ||
internal: true | ||
|
||
kiki: | ||
desc: (Easter Egg) | ||
cmds: | ||
- echo "I love you my kiki Dayeon :3" | ||
silent: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,8 @@ | |
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.13.6/.schema/devbox.schema.json", | ||
"packages": [ | ||
"[email protected]", | ||
"markdownlint-cli2@latest" | ||
"markdownlint-cli2@latest", | ||
"go-task@latest" | ||
], | ||
"shell": { | ||
"init_hook": [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters