From 7be2a81d3c9bb52893f6705209245c9484a6a7f9 Mon Sep 17 00:00:00 2001 From: Daksh Date: Sat, 26 Feb 2022 19:58:04 +0530 Subject: [PATCH 01/12] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index da757e0..86942e6 100644 --- a/README.md +++ b/README.md @@ -5,3 +5,9 @@ + +[![Sparkline](https://stars.medv.io/DakshCodess/badges.svg)](https://stars.medv.io/DakshCodess/badges) + +[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://GitHub.com/DakshCodess/Strapdown.js/graphs/commit-activity) + +[![Linux](https://svgshare.com/i/Zhy.svg)](https://svgshare.com/i/Zhy.svg) From a0d08c6d34277eb1577978c9fd7b731be5d87fec Mon Sep 17 00:00:00 2001 From: Daksh Date: Sat, 26 Feb 2022 20:09:16 +0530 Subject: [PATCH 02/12] Update README.md --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 86942e6..1da0b6f 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,9 @@ -[![Sparkline](https://stars.medv.io/DakshCodess/badges.svg)](https://stars.medv.io/DakshCodess/badges) -[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://GitHub.com/DakshCodess/Strapdown.js/graphs/commit-activity) + +[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/DakshCodess/OnlineAlienGamePassing/graphs/commit-activity) [![Linux](https://svgshare.com/i/Zhy.svg)](https://svgshare.com/i/Zhy.svg) + From 511851d785da8953bbfa11369aaf395ba3665104 Mon Sep 17 00:00:00 2001 From: Daksh Date: Sat, 9 Apr 2022 18:06:53 +0530 Subject: [PATCH 03/12] Update README.md --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1da0b6f..89e55a4 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ - Hi there 👋 +## Hi there 👋 ![DakshCodess' GitHub stats](https://github-readme-stats.vercel.app/api?username=DakshCodess&show_icons=true&theme=tokyonight) @@ -8,7 +8,17 @@ -[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/DakshCodess/OnlineAlienGamePassing/graphs/commit-activity) +[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/DakshCodess/super-mario-bros/graphs/commit-activity) [![Linux](https://svgshare.com/i/Zhy.svg)](https://svgshare.com/i/Zhy.svg) + + +## TECH +![Python](https://img.shields.io/badge/-Python-3776AB?logo=python&logoColor=ffffff) +![C++](https://img.shields.io/badge/-C++-00599C?logo=c%2b%2b&logoColor=ffffff) +![C](https://img.shields.io/badge/-C-A8B9CC?&logo=C&logoColor=000000) +![Java](https://img.shields.io/badge/-Java-007396?logo=Java&logoColor=000000) +![SQL](https://img.shields.io/badge/-SQL-003B57?&logo=postgresql) +![JavaScript](https://img.shields.io/badge/-JavaScript-F7DF1E?&logo=javascript&logoColor=000000) +![TypeScript](https://img.shields.io/badge/-TypeScript-007ACC?&logo=TypeScript&logoColor=ffffff) From b231ecb0fa18a1c33c31465ada3bf1214946adf3 Mon Sep 17 00:00:00 2001 From: Daksh Date: Sat, 9 Apr 2022 18:07:27 +0530 Subject: [PATCH 04/12] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 89e55a4..31651dd 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ [![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/DakshCodess/super-mario-bros/graphs/commit-activity) -[![Linux](https://svgshare.com/i/Zhy.svg)](https://svgshare.com/i/Zhy.svg) + From ba8fe1250c13a14f4cf53fc4851d701f1f97c5d8 Mon Sep 17 00:00:00 2001 From: Daksh Date: Sat, 9 Apr 2022 18:17:38 +0530 Subject: [PATCH 05/12] Update README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 31651dd..cd9aa0a 100644 --- a/README.md +++ b/README.md @@ -22,3 +22,8 @@ ![SQL](https://img.shields.io/badge/-SQL-003B57?&logo=postgresql) ![JavaScript](https://img.shields.io/badge/-JavaScript-F7DF1E?&logo=javascript&logoColor=000000) ![TypeScript](https://img.shields.io/badge/-TypeScript-007ACC?&logo=TypeScript&logoColor=ffffff) + +## Current Project + + + From 81108e60add017ae7992c305a05551bcd2c52ac0 Mon Sep 17 00:00:00 2001 From: Daksh Date: Thu, 14 Apr 2022 18:09:16 +0530 Subject: [PATCH 06/12] Create blank.yml --- .github/workflows/blank.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/blank.yml diff --git a/.github/workflows/blank.yml b/.github/workflows/blank.yml new file mode 100644 index 0000000..6e73746 --- /dev/null +++ b/.github/workflows/blank.yml @@ -0,0 +1,36 @@ +# This is a basic workflow to help you get started with Actions + +name: CI + +# Controls when the workflow will run +on: + # Triggers the workflow on push or pull request events but only for the main branch + push: + branches: [ main ] + pull_request: + branches: [ main ] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "build" + build: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it + - uses: actions/checkout@v3 + + # Runs a single command using the runners shell + - name: Run a one-line script + run: echo Hello, world! + + # Runs a set of commands using the runners shell + - name: Run a multi-line script + run: | + echo Add other actions to build, + echo test, and deploy your project. From da6925b0c3573bb21a85f6ab564e680221801472 Mon Sep 17 00:00:00 2001 From: Daksh Date: Thu, 14 Apr 2022 18:11:10 +0530 Subject: [PATCH 07/12] Create manual.yml --- .github/workflows/manual.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/manual.yml diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml new file mode 100644 index 0000000..47f24e1 --- /dev/null +++ b/.github/workflows/manual.yml @@ -0,0 +1,30 @@ +# This is a basic workflow that is manually triggered + +name: Manual workflow + +# Controls when the action will run. Workflow runs when manually triggered using the UI +# or API. +on: + workflow_dispatch: + # Inputs the workflow accepts. + inputs: + name: + # Friendly description to be shown in the UI instead of 'name' + description: 'Person to greet' + # Default value if no value is explicitly provided + default: 'World' + # Input has to be provided for the workflow to run + required: true + +# A workflow run is made up of one or more jobs that can run sequentially or in parallel +jobs: + # This workflow contains a single job called "greet" + greet: + # The type of runner that the job will run on + runs-on: ubuntu-latest + + # Steps represent a sequence of tasks that will be executed as part of the job + steps: + # Runs a single command using the runners shell + - name: Send greeting + run: echo "Hello ${{ github.event.inputs.name }}" From e4fee3cb9deef9e006b4a3f9d08c7c562a932a58 Mon Sep 17 00:00:00 2001 From: Daksh Date: Mon, 13 Jun 2022 08:12:23 +0530 Subject: [PATCH 08/12] Update README.md --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cd9aa0a..f328019 100644 --- a/README.md +++ b/README.md @@ -10,8 +10,10 @@ [![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/DakshCodess/super-mario-bros/graphs/commit-activity) +## Views +

- +
## TECH @@ -27,3 +29,10 @@ + +## Trophy + From e627f7371a5cba9dcfe3b6c9dc2ad245d1ddee75 Mon Sep 17 00:00:00 2001 From: Daksh Date: Mon, 13 Jun 2022 08:13:08 +0530 Subject: [PATCH 09/12] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f328019..772a079 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ -## Trophy +

Trophies

From 2f83b5801a1e8525aa8736588d812fa831deb446 Mon Sep 17 00:00:00 2001 From: Daksh Date: Mon, 13 Jun 2022 08:14:27 +0530 Subject: [PATCH 10/12] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 772a079..e865ee4 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,6 @@ From 7083204bdf15f3c68f713aecac2227b482b7261b Mon Sep 17 00:00:00 2001 From: Daksh Date: Sun, 26 Feb 2023 23:43:50 +0530 Subject: [PATCH 11/12] Create tencent.yml Signed-off-by: Daksh --- .github/workflows/tencent.yml | 79 +++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 .github/workflows/tencent.yml diff --git a/.github/workflows/tencent.yml b/.github/workflows/tencent.yml new file mode 100644 index 0000000..49c0467 --- /dev/null +++ b/.github/workflows/tencent.yml @@ -0,0 +1,79 @@ +# This workflow will build a docker container, publish and deploy it to Tencent Kubernetes Engine (TKE) when there is a push to the "main" branch. +# +# To configure this workflow: +# +# 1. Ensure that your repository contains the necessary configuration for your Tencent Kubernetes Engine cluster, +# including deployment.yml, kustomization.yml, service.yml, etc. +# +# 2. Set up secrets in your workspace: +# - TENCENT_CLOUD_SECRET_ID with Tencent Cloud secret id +# - TENCENT_CLOUD_SECRET_KEY with Tencent Cloud secret key +# - TENCENT_CLOUD_ACCOUNT_ID with Tencent Cloud account id +# - TKE_REGISTRY_PASSWORD with TKE registry password +# +# 3. Change the values for the TKE_IMAGE_URL, TKE_REGION, TKE_CLUSTER_ID and DEPLOYMENT_NAME environment variables (below). + +name: Tencent Kubernetes Engine + +on: + push: + branches: [ "main" ] + +# Environment variables available to all jobs and steps in this workflow +env: + TKE_IMAGE_URL: ccr.ccs.tencentyun.com/demo/mywebapp + TKE_REGION: ap-guangzhou + TKE_CLUSTER_ID: cls-mywebapp + DEPLOYMENT_NAME: tke-test + +permissions: + contents: read + +jobs: + setup-build-publish-deploy: + name: Setup, Build, Publish, and Deploy + runs-on: ubuntu-latest + environment: production + steps: + + - name: Checkout + uses: actions/checkout@v3 + + # Build + - name: Build Docker image + run: | + docker build -t ${TKE_IMAGE_URL}:${GITHUB_SHA} . + + - name: Login TKE Registry + run: | + docker login -u ${{ secrets.TENCENT_CLOUD_ACCOUNT_ID }} -p '${{ secrets.TKE_REGISTRY_PASSWORD }}' ${TKE_IMAGE_URL} + + # Push the Docker image to TKE Registry + - name: Publish + run: | + docker push ${TKE_IMAGE_URL}:${GITHUB_SHA} + + - name: Set up Kustomize + run: | + curl -o kustomize --location https://github.com/kubernetes-sigs/kustomize/releases/download/v3.1.0/kustomize_3.1.0_linux_amd64 + chmod u+x ./kustomize + + - name: Set up ~/.kube/config for connecting TKE cluster + uses: TencentCloud/tke-cluster-credential-action@v1 + with: + secret_id: ${{ secrets.TENCENT_CLOUD_SECRET_ID }} + secret_key: ${{ secrets.TENCENT_CLOUD_SECRET_KEY }} + tke_region: ${{ env.TKE_REGION }} + cluster_id: ${{ env.TKE_CLUSTER_ID }} + + - name: Switch to TKE context + run: | + kubectl config use-context ${TKE_CLUSTER_ID}-context-default + + # Deploy the Docker image to the TKE cluster + - name: Deploy + run: | + ./kustomize edit set image ${TKE_IMAGE_URL}:${GITHUB_SHA} + ./kustomize build . | kubectl apply -f - + kubectl rollout status deployment/${DEPLOYMENT_NAME} + kubectl get services -o wide From a12a8e4098cb278078f900bd55353b067289e8c8 Mon Sep 17 00:00:00 2001 From: The-User-Python <97610126+The-User-Python@users.noreply.github.com> Date: Sat, 11 Mar 2023 18:36:45 +0530 Subject: [PATCH 12/12] Update README.md Signed-off-by: The-User-Python <97610126+The-User-Python@users.noreply.github.com> --- README.md | 26 +++----------------------- 1 file changed, 3 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index e865ee4..ff495fb 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,13 @@ ## Hi there 👋 -![DakshCodess' GitHub stats](https://github-readme-stats.vercel.app/api?username=DakshCodess&show_icons=true&theme=tokyonight) +![The-User-Python' GitHub stats](https://github-readme-stats.vercel.app/api?username=The-User-Python&show_icons=true&theme=tokyonight) - - + + -[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/DakshCodess/super-mario-bros/graphs/commit-activity) - ## Views

@@ -18,21 +16,3 @@ ## TECH ![Python](https://img.shields.io/badge/-Python-3776AB?logo=python&logoColor=ffffff) -![C++](https://img.shields.io/badge/-C++-00599C?logo=c%2b%2b&logoColor=ffffff) -![C](https://img.shields.io/badge/-C-A8B9CC?&logo=C&logoColor=000000) -![Java](https://img.shields.io/badge/-Java-007396?logo=Java&logoColor=000000) -![SQL](https://img.shields.io/badge/-SQL-003B57?&logo=postgresql) -![JavaScript](https://img.shields.io/badge/-JavaScript-F7DF1E?&logo=javascript&logoColor=000000) -![TypeScript](https://img.shields.io/badge/-TypeScript-007ACC?&logo=TypeScript&logoColor=ffffff) - -## Current Project - - - - - -