Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Tommy Tran Duc Thang committed Nov 9, 2024
1 parent c8aa2f6 commit 32e25c5
Show file tree
Hide file tree
Showing 11 changed files with 296 additions and 197 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
# Trigger the workflow every time you push to the `main` branch
# Using a different branch name? Replace `main` with your branch’s name
push:
branches: [ main ]
branches: [main]
# Allows you to run this workflow manually from the Actions tab on GitHub.
workflow_dispatch:

Expand All @@ -23,9 +23,9 @@ jobs:
- name: Install, build, and upload your site
uses: withastro/action@v3
# with:
# path: . # The root location of your Astro project inside the repository. (optional)
# node-version: 20 # The specific version of Node that should be used to build your site. Defaults to 20. (optional)
# package-manager: pnpm@latest # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)
# path: . # The root location of your Astro project inside the repository. (optional)
# node-version: 20 # The specific version of Node that should be used to build your site. Defaults to 20. (optional)
# package-manager: pnpm@latest # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)

deploy:
needs: build
Expand Down
294 changes: 136 additions & 158 deletions CHANGELOG.md

Large diffs are not rendered by default.

66 changes: 66 additions & 0 deletions Taskfile.yml
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
3 changes: 2 additions & 1 deletion devbox.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
48 changes: 48 additions & 0 deletions devbox.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,54 @@
{
"lockfile_version": "1",
"packages": {
"go-task@latest": {
"last_modified": "2024-11-03T14:18:04Z",
"resolved": "github:NixOS/nixpkgs/4ae2e647537bcdbb82265469442713d066675275#go-task",
"source": "devbox-search",
"version": "3.39.2",
"systems": {
"aarch64-darwin": {
"outputs": [
{
"name": "out",
"path": "/nix/store/gbjz4920rwwlmlwb6wdgvvpk4yh31vnk-go-task-3.39.2",
"default": true
}
],
"store_path": "/nix/store/gbjz4920rwwlmlwb6wdgvvpk4yh31vnk-go-task-3.39.2"
},
"aarch64-linux": {
"outputs": [
{
"name": "out",
"path": "/nix/store/a38ydnaa915s50yq7pahlam6wmhpi9k8-go-task-3.39.2",
"default": true
}
],
"store_path": "/nix/store/a38ydnaa915s50yq7pahlam6wmhpi9k8-go-task-3.39.2"
},
"x86_64-darwin": {
"outputs": [
{
"name": "out",
"path": "/nix/store/8py3ncvx2ir85pilzrcp1ygai9s82hx4-go-task-3.39.2",
"default": true
}
],
"store_path": "/nix/store/8py3ncvx2ir85pilzrcp1ygai9s82hx4-go-task-3.39.2"
},
"x86_64-linux": {
"outputs": [
{
"name": "out",
"path": "/nix/store/pp4g03va3plfx8lmpfgwvpgx5jm8z7ny-go-task-3.39.2",
"default": true
}
],
"store_path": "/nix/store/pp4g03va3plfx8lmpfgwvpgx5jm8z7ny-go-task-3.39.2"
}
}
},
"markdownlint-cli2@latest": {
"last_modified": "2024-11-03T14:18:04Z",
"resolved": "github:NixOS/nixpkgs/4ae2e647537bcdbb82265469442713d066675275#markdownlint-cli2",
Expand Down
2 changes: 1 addition & 1 deletion src/components/LinkButton.astro
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const {
class:list={["group inline-block hover:text-skin-accent", className]}
aria-label={ariaLabel}
title={title}
target={target}
target={target}
>
<slot />
</a>
Expand Down
15 changes: 7 additions & 8 deletions src/content/blog/ci/ci-agnostic.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: CI Agnostic
author: Tommy Tran Duc Thang
pubDatetime: 2024-11-02T08:02:27Z
pubDatetime: 2024-11-02T08:02:27Z
slug: ci-agnostic
featured: true
# ogImage: ""
Expand All @@ -11,19 +11,18 @@ tags:
- CI Agnostic
- dagger.io
- earthly
description:
This blog is for sharing knownledge and how to archive
CI Agnostic
description: This blog is for sharing knownledge and how to archive
CI Agnostic
# canonicalURL: https://example.org/my-article-was-already-posted-here
---

## Introduction

This is my first technical blog, so it may have some errors here and
there, so please create a ***Suggest Changes*** If you feel like changing
This is my first technical blog, so it may have some errors here and
there, so please create a **_Suggest Changes_** If you feel like changing
any part of this blog. Really appreciate it!

As a DevOps/Developer or even Tester/QA I'm pretty sure you already get use
to the term CI/CD and you may already using something like Jenkins, Gitlab
CI, Github Action, ... But yeah you can see this blog is not just focusing on
to the term CI/CD and you may already using something like Jenkins, Gitlab
CI, Github Action, ... But yeah you can see this blog is not just focusing on
DevOps point of view, but rather for the experience of everyone using CI/CD
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ tags:
- nix
- dotfiles
- home-manager
description:
This blog is for sharing how to archive development env
exactly the same across platform
description: This blog is for sharing how to archive development env
exactly the same across platform
# canonicalURL: https://example.org/my-article-was-already-posted-here
---

Expand Down
3 changes: 1 addition & 2 deletions src/content/blog/devtools/what-is-neovim.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ tags:
- nvim
- devtools
- texteditor
description:
This blog is for explaining what is neovim
description: This blog is for explaining what is neovim
# canonicalURL: https://example.org/my-article-was-already-posted-here
---

Expand Down
9 changes: 8 additions & 1 deletion src/pages/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ and experience for K8s and developing K8s native solution and customizing openso
e.g: I customized kubevela opensource code).

With extensive CI/CD experience using Jenkins and AWS CodePipeline, I specialize in implementing
observability platforms like Opentelemetry, Loki, Jaeger, Prometheus, and Grafana, along with
observability platforms like Opentelemetry, Loki, Jaeger, Prometheus, and Grafana, along with
knowledge in ELK and Datadog.

I'm experience with creating devkit (development tools for enhancing developer experience) with
Expand All @@ -32,21 +32,26 @@ and training DevOps team.
Finally, I'm a neovim/vim enthusiast.

## Tech Stack

Included but not limited to:

1. Languages

- Golang
- TS/JS

2. Cloud

- AWS (Proficient/Expert)
- GCP

3. K8s

- K8s Core
- Writing/Customizing K8s custom/crds controller

4. CI/CD

- Gitlab CI
- AWS CodePipeline
- Jenkins
Expand All @@ -56,11 +61,13 @@ Included but not limited to:
- ArgoCD

5. Platform Engineer

- Kubevela
- Crossplane
- Backstage.io

6. IaC

- Terraform
- AWS CDK
- CloudFormation
Expand Down
40 changes: 21 additions & 19 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -42,31 +42,33 @@ const socialCount = SOCIALS.filter(social => social.active).length;
</a>

<p>
Welcome to my blog! I'm Tommy, a DevOps/Platform/Cloud engineer. This blog I write
about technology, programming, and other things I find interesting. However, most
of the content will be about technology, programming, and DevOps/Platform development.
I hope you enjoy reading my blog and find it helpful.
Welcome to my blog! I'm Tommy, a DevOps/Platform/Cloud engineer. This
blog I write about technology, programming, and other things I find
interesting. However, most of the content will be about technology,
programming, and DevOps/Platform development. I hope you enjoy reading
my blog and find it helpful.
</p>
<p>
This blog page is built using Astro, and forked from satnaing's template (Shout out to him!)
<a
href="https://github.com/satnaing/astro-paper#readme"
class="text-skin-accent styled-link group inline-block hover:underline"
target="_blank"
This blog page is built using Astro, and forked from satnaing's template
(Shout out to him!)
<a
href="https://github.com/satnaing/astro-paper#readme"
class="text-skin-accent styled-link group inline-block hover:underline"
target="_blank"
>
astro-paper
</a>.
astro-paper
</a>.
</p>
<p>
I did some customization to make it more suitable for my blog. You can find the source
code in my repo here:
<a
href="https://github.com/TranThang-2804/blog"
class="text-skin-accent styled-link group inline-block hover:underline"
target="_blank"
I did some customization to make it more suitable for my blog. You can
find the source code in my repo here:
<a
href="https://github.com/TranThang-2804/blog"
class="text-skin-accent styled-link group inline-block hover:underline"
target="_blank"
>
My Blog Source Code
</a>
My Blog Source Code
</a>
</p>
{
// only display if at least one social link is enabled
Expand Down

0 comments on commit 32e25c5

Please sign in to comment.