From 536bb732f3b9db63d02f3d2774a6b2caa540a82e Mon Sep 17 00:00:00 2001 From: JeongHun Date: Thu, 13 Feb 2020 20:33:21 +0900 Subject: [PATCH 001/104] Create ccpp.yml --- .github/workflows/ccpp.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/ccpp.yml diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml new file mode 100644 index 00000000..d9708a55 --- /dev/null +++ b/.github/workflows/ccpp.yml @@ -0,0 +1,19 @@ +name: C/C++ CI + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: configure + run: ./configure + - name: make + run: make + - name: make check + run: make check + - name: make distcheck + run: make distcheck From 91e364928da42b046f031bf84348cb8a7e243915 Mon Sep 17 00:00:00 2001 From: JeongHun Date: Thu, 13 Feb 2020 20:34:22 +0900 Subject: [PATCH 002/104] make all --- .github/workflows/ccpp.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index d9708a55..a79b1052 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -9,11 +9,7 @@ jobs: steps: - uses: actions/checkout@v2 - - name: configure - run: ./configure - name: make - run: make - - name: make check - run: make check - - name: make distcheck - run: make distcheck + run: make all + + From b18b14b48a4971fee64824e2d6fec74a8630e9c2 Mon Sep 17 00:00:00 2001 From: JeongHun Date: Thu, 13 Feb 2020 21:36:08 +0900 Subject: [PATCH 003/104] Add .circleci/config.yml --- .circleci/config.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 00000000..01c267cc --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,13 @@ +# Use the latest 2.1 version of CircleCI pipeline process engine. See: https://circleci.com/docs/2.0/configuration-reference +version: 2.1 +# Use a package of configuration called an orb. +orbs: + # Declare a dependency on the welcome-orb + welcome: circleci/welcome-orb@0.4.1 +# Orchestrate or schedule a set of jobs +workflows: + # Name the workflow "welcome" + welcome: + # Run the welcome/run job in its own container + jobs: + - welcome/run \ No newline at end of file From 34b410d3aea0ce0b7b510354a4193f8eb67d18fd Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Tue, 14 Nov 2023 15:06:10 +0900 Subject: [PATCH 004/104] Add .circleci/config.yml --- .circleci/config.yml | 33 +++++++++++++++++++++++---------- 1 file changed, 23 insertions(+), 10 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 01c267cc..4175da6c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,13 +1,26 @@ -# Use the latest 2.1 version of CircleCI pipeline process engine. See: https://circleci.com/docs/2.0/configuration-reference +# Use the latest 2.1 version of CircleCI pipeline process engine. +# See: https://circleci.com/docs/configuration-reference version: 2.1 -# Use a package of configuration called an orb. -orbs: - # Declare a dependency on the welcome-orb - welcome: circleci/welcome-orb@0.4.1 -# Orchestrate or schedule a set of jobs + +# Define a job to be invoked later in a workflow. +# See: https://circleci.com/docs/configuration-reference/#jobs +jobs: + say-hello: + # Specify the execution environment. You can specify an image from Docker Hub or use one of our convenience images from CircleCI's Developer Hub. + # See: https://circleci.com/docs/configuration-reference/#executor-job + docker: + - image: cimg/base:stable + # Add steps to the job + # See: https://circleci.com/docs/configuration-reference/#steps + steps: + - checkout + - run: + name: "Say hello" + command: "echo Hello, World!" + +# Orchestrate jobs using workflows +# See: https://circleci.com/docs/configuration-reference/#workflows workflows: - # Name the workflow "welcome" - welcome: - # Run the welcome/run job in its own container + say-hello-workflow: jobs: - - welcome/run \ No newline at end of file + - say-hello From fe5fe3225b201bf99b916e1dd4c13578d061f404 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Tue, 14 Nov 2023 15:30:45 +0900 Subject: [PATCH 005/104] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4175da6c..2277268f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -17,6 +17,7 @@ jobs: - run: name: "Say hello" command: "echo Hello, World!" + command: make all # Orchestrate jobs using workflows # See: https://circleci.com/docs/configuration-reference/#workflows From fcc31bc4f3f6e13f60bed0153d68f42b42c22904 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Tue, 14 Nov 2023 15:35:20 +0900 Subject: [PATCH 006/104] Update config.yml --- .circleci/config.yml | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2277268f..e3e51ed4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,9 +15,28 @@ jobs: steps: - checkout - run: - name: "Say hello" - command: "echo Hello, World!" - command: make all + name: "Step.1" + command: | + echo "start to build Lora Gateway" + make all + - run: + name: "Step.2" + command: | + echo "Copy Lora GWlib to Output" + mkdir -p output + cp -a libloragw/libloragw.a ./output/ + cp -a util_pkt_logger/util_pkt_logger ./output/ + cp -a util_spi_stress/util_spi_stress ./output/ + cp -a util_tx_test/util_tx_test ./output/ + cp -a util_lbt_test/util_lbt_test ./output/ + cp -a util_tx_continuous/util_tx_continuous ./output/ + cp -a util_spectral_scan/util_spectral_scan ./output/ + cp -a ./output ./artifacts + mkdir -p /tmp/112233/output + cp -a ./output /tmp/112233/output + FILE_LIST=`ls ./artifacts/` + echo "FILE: $FILE_LIST " + # Orchestrate jobs using workflows # See: https://circleci.com/docs/configuration-reference/#workflows From 88394c093a4b3cd3bb882d3ac6f895c705f6e5ed Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Tue, 14 Nov 2023 15:36:15 +0900 Subject: [PATCH 007/104] Update config.yml --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e3e51ed4..b062ef59 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,12 +15,12 @@ jobs: steps: - checkout - run: - name: "Step.1" + name: "Step.1 Build LoRA Gateway" command: | echo "start to build Lora Gateway" make all - run: - name: "Step.2" + name: "Step.2 Copy LoRA Gwlib to Output" command: | echo "Copy Lora GWlib to Output" mkdir -p output From 3344579facfcfc95ba6ba56eea824058195cfb0f Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Tue, 14 Nov 2023 15:49:36 +0900 Subject: [PATCH 008/104] Update config.yml --- .circleci/config.yml | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b062ef59..6fb2f41c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -5,7 +5,7 @@ version: 2.1 # Define a job to be invoked later in a workflow. # See: https://circleci.com/docs/configuration-reference/#jobs jobs: - say-hello: + build-LoraGW: # Specify the execution environment. You can specify an image from Docker Hub or use one of our convenience images from CircleCI's Developer Hub. # See: https://circleci.com/docs/configuration-reference/#executor-job docker: @@ -37,10 +37,19 @@ jobs: FILE_LIST=`ls ./artifacts/` echo "FILE: $FILE_LIST " + release-LoraGW: + # Specify the execution environment. You can specify an image from Docker Hub or use one of our convenience images from CircleCI's Developer Hub. + # See: https://circleci.com/docs/configuration-reference/#executor-job + docker: + - image: cimg/base:stable + steps: + - github-release/release + + # Orchestrate jobs using workflows # See: https://circleci.com/docs/configuration-reference/#workflows workflows: - say-hello-workflow: + build-LoraGW: jobs: - - say-hello + - Step.1 Build LoRA Gateway From 10b7f59d3f24fffa9b309a6761d73a3d14223332 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Tue, 14 Nov 2023 15:50:37 +0900 Subject: [PATCH 009/104] Update config.yml --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 6fb2f41c..93e7fec5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -52,4 +52,5 @@ jobs: workflows: build-LoraGW: jobs: - - Step.1 Build LoRA Gateway + - build-LoraGW + - release-LoraGW From c75493a42fcfb5bd8935f04c5bd6d1e818e11ce8 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Tue, 14 Nov 2023 16:03:53 +0900 Subject: [PATCH 010/104] Update config.yml --- .circleci/config.yml | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 93e7fec5..0b62de68 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,6 +2,9 @@ # See: https://circleci.com/docs/configuration-reference version: 2.1 +orbs: + github-release: JeonghunLee/github-release@0.1 + # Define a job to be invoked later in a workflow. # See: https://circleci.com/docs/configuration-reference/#jobs jobs: @@ -37,20 +40,9 @@ jobs: FILE_LIST=`ls ./artifacts/` echo "FILE: $FILE_LIST " - release-LoraGW: - # Specify the execution environment. You can specify an image from Docker Hub or use one of our convenience images from CircleCI's Developer Hub. - # See: https://circleci.com/docs/configuration-reference/#executor-job - docker: - - image: cimg/base:stable - steps: - - github-release/release - - - # Orchestrate jobs using workflows # See: https://circleci.com/docs/configuration-reference/#workflows workflows: build-LoraGW: jobs: - build-LoraGW - - release-LoraGW From 285001370f532fe4f4554389880461d8174ffdde Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Tue, 14 Nov 2023 16:05:07 +0900 Subject: [PATCH 011/104] Update config.yml --- .circleci/config.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0b62de68..fea6ecc0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,8 +2,6 @@ # See: https://circleci.com/docs/configuration-reference version: 2.1 -orbs: - github-release: JeonghunLee/github-release@0.1 # Define a job to be invoked later in a workflow. # See: https://circleci.com/docs/configuration-reference/#jobs From 66820fb9ff000809cbb1046b51a9a4ef93968a53 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Tue, 14 Nov 2023 16:06:43 +0900 Subject: [PATCH 012/104] Update config.yml --- .circleci/config.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index fea6ecc0..e6d2ef9f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -37,7 +37,14 @@ jobs: cp -a ./output /tmp/112233/output FILE_LIST=`ls ./artifacts/` echo "FILE: $FILE_LIST " - + + - store_artifacts: + path: ./artifacts + + - persist_to_workspace: + root: /tmp/112233 + paths: + - output # Orchestrate jobs using workflows # See: https://circleci.com/docs/configuration-reference/#workflows workflows: From 4804a1be8f92219c9415976bf7b9d773ce93be85 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Tue, 14 Nov 2023 16:12:25 +0900 Subject: [PATCH 013/104] Update config.yml --- .circleci/config.yml | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e6d2ef9f..38f436a7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,7 +6,7 @@ version: 2.1 # Define a job to be invoked later in a workflow. # See: https://circleci.com/docs/configuration-reference/#jobs jobs: - build-LoraGW: + build: # Specify the execution environment. You can specify an image from Docker Hub or use one of our convenience images from CircleCI's Developer Hub. # See: https://circleci.com/docs/configuration-reference/#executor-job docker: @@ -45,9 +45,30 @@ jobs: root: /tmp/112233 paths: - output + + publish-github-release: + docker: + - image: cibuilds/github:0.10 + steps: + - attach_workspace: + at: ./artifacts + - run: + name: "Publish Release on GitHub" + command: | + echo " STEP2 EXEC ls " + FILE_LIST=`ls ./artifacts/` + echo " STEP3 FILE: $FILE_LIST " + FILE_LIST=`ls /tmp/112233/` + echo " STEP3 FILE: $FILE_LIST " + pwd + echo " STEP4 EXEC ghr " + ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} v5.0 ./artifacts + echo " STEP5 WORKING OK " + + # Orchestrate jobs using workflows # See: https://circleci.com/docs/configuration-reference/#workflows workflows: - build-LoraGW: + build: jobs: - build-LoraGW From 454200aeeb4a5845b49233c322ac8b073df1cb25 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Tue, 14 Nov 2023 16:14:47 +0900 Subject: [PATCH 014/104] Update config.yml --- .circleci/config.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 38f436a7..860d5d8e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -71,4 +71,10 @@ jobs: workflows: build: jobs: - - build-LoraGW + - build + - publish-github-release: + requires: + - build + filters: + branches: + only: circleci-project-setup From f52985b0828dee0780679b19d6c6e61908f18e9c Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Tue, 14 Nov 2023 16:19:12 +0900 Subject: [PATCH 015/104] Update config.yml --- .circleci/config.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 860d5d8e..51222921 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -57,9 +57,7 @@ jobs: command: | echo " STEP2 EXEC ls " FILE_LIST=`ls ./artifacts/` - echo " STEP3 FILE: $FILE_LIST " - FILE_LIST=`ls /tmp/112233/` - echo " STEP3 FILE: $FILE_LIST " + echo " STEP3 FILE: $FILE_LIST " pwd echo " STEP4 EXEC ghr " ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} v5.0 ./artifacts From cac76b021dc399c1a5c24489be4c90b74292cb81 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Tue, 14 Nov 2023 16:24:51 +0900 Subject: [PATCH 016/104] Update config.yml --- .circleci/config.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 51222921..e0a87c4a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -46,6 +46,7 @@ jobs: paths: - output + publish-github-release: docker: - image: cibuilds/github:0.10 @@ -57,13 +58,16 @@ jobs: command: | echo " STEP2 EXEC ls " FILE_LIST=`ls ./artifacts/` - echo " STEP3 FILE: $FILE_LIST " + echo " STEP3 artifact FILE: $FILE_LIST " + FILE_LIST=`ls /tmp/112233/` + echo " STEP3 tmp/112233/ FILE: $FILE_LIST " pwd echo " STEP4 EXEC ghr " ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} v5.0 ./artifacts echo " STEP5 WORKING OK " + # Orchestrate jobs using workflows # See: https://circleci.com/docs/configuration-reference/#workflows workflows: From e55b38afba41c917320c2119ccd49a3bed742b3b Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Tue, 14 Nov 2023 16:27:19 +0900 Subject: [PATCH 017/104] Update config.yml --- .circleci/config.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e0a87c4a..e4a2b737 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -55,16 +55,16 @@ jobs: at: ./artifacts - run: name: "Publish Release on GitHub" - command: | - echo " STEP2 EXEC ls " + command: | + echo " STEP.1 EXEC ls " FILE_LIST=`ls ./artifacts/` - echo " STEP3 artifact FILE: $FILE_LIST " + echo " STEP.2 artifact FILE: $FILE_LIST " FILE_LIST=`ls /tmp/112233/` - echo " STEP3 tmp/112233/ FILE: $FILE_LIST " + echo " STEP.3 tmp/112233/ FILE: $FILE_LIST " pwd - echo " STEP4 EXEC ghr " + echo " STEP.4 EXEC ghr " ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} v5.0 ./artifacts - echo " STEP5 WORKING OK " + echo " STEP.5 WORKING OK " From d6ef9d1c9da538e1e6de2133ecc4bb7ad2d9692e Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Tue, 14 Nov 2023 16:33:10 +0900 Subject: [PATCH 018/104] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e4a2b737..b9062a8a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -49,7 +49,7 @@ jobs: publish-github-release: docker: - - image: cibuilds/github:0.10 + - image: cimg/base:stable steps: - attach_workspace: at: ./artifacts From 5efb9c7c2c41f19903b2f659e6f541a2e9c1147f Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Tue, 14 Nov 2023 16:35:56 +0900 Subject: [PATCH 019/104] Update config.yml --- .circleci/config.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b9062a8a..9e7e36ed 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -59,8 +59,6 @@ jobs: echo " STEP.1 EXEC ls " FILE_LIST=`ls ./artifacts/` echo " STEP.2 artifact FILE: $FILE_LIST " - FILE_LIST=`ls /tmp/112233/` - echo " STEP.3 tmp/112233/ FILE: $FILE_LIST " pwd echo " STEP.4 EXEC ghr " ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} v5.0 ./artifacts From ebb3709660992db663efdecf2c58573d6d3afc3e Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Tue, 14 Nov 2023 16:39:28 +0900 Subject: [PATCH 020/104] Update config.yml --- .circleci/config.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9e7e36ed..c8f60b56 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -46,21 +46,18 @@ jobs: paths: - output - +# +# https://circleci.com/blog/publishing-to-github-releases-via-circleci/ +# publish-github-release: docker: - - image: cimg/base:stable + - image: cibuilds/github:0.10 steps: - attach_workspace: at: ./artifacts - run: name: "Publish Release on GitHub" command: | - echo " STEP.1 EXEC ls " - FILE_LIST=`ls ./artifacts/` - echo " STEP.2 artifact FILE: $FILE_LIST " - pwd - echo " STEP.4 EXEC ghr " ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} v5.0 ./artifacts echo " STEP.5 WORKING OK " From 1328a5e2e4f82c9e4bfae29dd06ccceb873a91a1 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 09:32:50 +0900 Subject: [PATCH 021/104] Update config.yml --- .circleci/config.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c8f60b56..b0d5b9e3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -51,14 +51,16 @@ jobs: # publish-github-release: docker: - - image: cibuilds/github:0.10 + - image: circleci/golang:1.8 steps: - attach_workspace: at: ./artifacts - run: name: "Publish Release on GitHub" - command: | - ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} v5.0 ./artifacts + command: | + go get github.com/tcnksm/ghr + VERSION=$(my-binary --version) + ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} ./artifacts/ echo " STEP.5 WORKING OK " From b1f513a8cc49e45ec69a9780c63bbab1092f5433 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 09:34:32 +0900 Subject: [PATCH 022/104] Update readme.md --- readme.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 001cfa0a..64b44558 100644 --- a/readme.md +++ b/readme.md @@ -1,4 +1,16 @@ - / _____) _ | | +# Template: +[![](https://circleci.com///.svg?style=svg)]() + +# Example: +[![CircleCI](https://circleci.com/gh/circleci/circleci-docs.svg?style=svg)](https://circleci.com/gh/circleci/circleci-docs) + +# Example for specific branch: +[![CircleCI](https://circleci.com/gh/circleci/circleci-docs/tree/teesloane-patch-5.svg?style=svg)](https://circleci.com/gh/circleci/circleci-docs/?branch=teesloane-patch-5) + + + + + / _____) _ | | ( (____ _____ ____ _| |_ _____ ____| |__ \____ \| ___ | (_ _) ___ |/ ___) _ \ _____) ) ____| | | || |_| ____( (___| | | | From 5ad905979654cbca297b153afadc61f399e6cc36 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 09:35:42 +0900 Subject: [PATCH 023/104] Update readme.md --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 64b44558..4a304517 100644 --- a/readme.md +++ b/readme.md @@ -5,7 +5,7 @@ [![CircleCI](https://circleci.com/gh/circleci/circleci-docs.svg?style=svg)](https://circleci.com/gh/circleci/circleci-docs) # Example for specific branch: -[![CircleCI](https://circleci.com/gh/circleci/circleci-docs/tree/teesloane-patch-5.svg?style=svg)](https://circleci.com/gh/circleci/circleci-docs/?branch=teesloane-patch-5) +[![CircleCI](https://circleci.com///.svg?style=svg&circle-token=)]() From 00d199b899ca529929e98f522546f492737562fb Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 09:45:06 +0900 Subject: [PATCH 024/104] Update readme.md --- readme.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/readme.md b/readme.md index 4a304517..1c63e7d3 100644 --- a/readme.md +++ b/readme.md @@ -1,11 +1,7 @@ # Template: [![](https://circleci.com///.svg?style=svg)]() - -# Example: -[![CircleCI](https://circleci.com/gh/circleci/circleci-docs.svg?style=svg)](https://circleci.com/gh/circleci/circleci-docs) - # Example for specific branch: -[![CircleCI](https://circleci.com///.svg?style=svg&circle-token=)]() +[![CircleCI](https://circleci.com/gh/circleci/circleci-docs/tree/teesloane-patch-5.svg?style=svg)](https://circleci.com/gh/circleci/circleci-docs/?branch=teesloane-patch-5) From 10a2b6f05af14c8ba907f4a811798aeab98f66f6 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 09:54:47 +0900 Subject: [PATCH 025/104] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b0d5b9e3..d2a3f608 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -59,7 +59,7 @@ jobs: name: "Publish Release on GitHub" command: | go get github.com/tcnksm/ghr - VERSION=$(my-binary --version) + VERSION=5.1 ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} ./artifacts/ echo " STEP.5 WORKING OK " From a493a5b30990a7d23fdb1eb651403f0ce570aedc Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 09:56:31 +0900 Subject: [PATCH 026/104] Update config.yml --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d2a3f608..20bcb985 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -58,10 +58,11 @@ jobs: - run: name: "Publish Release on GitHub" command: | + echo " STEP.1 WORKING OK " go get github.com/tcnksm/ghr VERSION=5.1 ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} ./artifacts/ - echo " STEP.5 WORKING OK " + echo " STEP.2 WORKING OK " From aca134cbb6a85eae09cdc05151d0b8e12a457de6 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 09:59:09 +0900 Subject: [PATCH 027/104] Update readme.md --- readme.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/readme.md b/readme.md index 1c63e7d3..8ff66c9f 100644 --- a/readme.md +++ b/readme.md @@ -1,7 +1,4 @@ -# Template: -[![](https://circleci.com///.svg?style=svg)]() -# Example for specific branch: -[![CircleCI](https://circleci.com/gh/circleci/circleci-docs/tree/teesloane-patch-5.svg?style=svg)](https://circleci.com/gh/circleci/circleci-docs/?branch=teesloane-patch-5) +[![CircleCI Build Status](https://circleci.com/gh/JeonghunLee/lora_gatway.svg?style=shield)](https://circleci.com/gh/JeonghunLee/lora_gatway) From b997da8550d19208fef16e21fd124ae4584b12e6 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 10:00:06 +0900 Subject: [PATCH 028/104] Update readme.md --- readme.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 8ff66c9f..b5770384 100644 --- a/readme.md +++ b/readme.md @@ -1,4 +1,5 @@ -[![CircleCI Build Status](https://circleci.com/gh/JeonghunLee/lora_gatway.svg?style=shield)](https://circleci.com/gh/JeonghunLee/lora_gatway) +# CircleCI Documentation +[![CircleCI Build Status](https://circleci.com/gh/JeonghunLee/lora_gateway.svg?style=shield)](https://circleci.com/gh/JeonghunLee/lora_gateway) From dc253f46f68299569de436db1ba2680f4408bd6d Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 10:01:01 +0900 Subject: [PATCH 029/104] Update readme.md --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index b5770384..4f90bed1 100644 --- a/readme.md +++ b/readme.md @@ -2,7 +2,7 @@ [![CircleCI Build Status](https://circleci.com/gh/JeonghunLee/lora_gateway.svg?style=shield)](https://circleci.com/gh/JeonghunLee/lora_gateway) - +# LoRa Gateway / _____) _ | | ( (____ _____ ____ _| |_ _____ ____| |__ From fcac7a72d03469b700918a8feccdb21e2182c4bb Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 10:01:47 +0900 Subject: [PATCH 030/104] Update readme.md --- readme.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 4f90bed1..d2b21bba 100644 --- a/readme.md +++ b/readme.md @@ -1,4 +1,5 @@ -# CircleCI Documentation +# CircleCI Documentation + [![CircleCI Build Status](https://circleci.com/gh/JeonghunLee/lora_gateway.svg?style=shield)](https://circleci.com/gh/JeonghunLee/lora_gateway) From 6aec2126fbaa00f197d1c46c9ca7998e30f266fa Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 10:04:37 +0900 Subject: [PATCH 031/104] Update readme.md --- readme.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index d2b21bba..b7724410 100644 --- a/readme.md +++ b/readme.md @@ -1,7 +1,9 @@ -# CircleCI Documentation +# CircleCI Documentation [![CircleCI Build Status](https://circleci.com/gh/JeonghunLee/lora_gateway.svg?style=shield)](https://circleci.com/gh/JeonghunLee/lora_gateway) +[![CircleCI](https://dl.circleci.com/insights-snapshot/gh/JeonghunLee/lora_gateway/circle-project-setup/build-deploy/badge.svg?window=30d)](https://app.circleci.com/insights/github/JeonghunLee/lora_gateway/workflows/build-deploy/overview?branch=circle-project-setup&reporting-window=last-30-days&insights-snapshot=true) + # LoRa Gateway From 2e38fd6ffa88a69707e9a7866abb8a6f7a5f4d37 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 10:07:21 +0900 Subject: [PATCH 032/104] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 20bcb985..0a26a93c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -69,7 +69,7 @@ jobs: # Orchestrate jobs using workflows # See: https://circleci.com/docs/configuration-reference/#workflows workflows: - build: + build-deploy: jobs: - build - publish-github-release: From 20535368bab6d6a853572f78ff46f23cd1e12abc Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 10:09:22 +0900 Subject: [PATCH 033/104] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0a26a93c..d9d5475e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -58,7 +58,7 @@ jobs: - run: name: "Publish Release on GitHub" command: | - echo " STEP.1 WORKING OK " + echo " STEP.1 Deploy to Github" go get github.com/tcnksm/ghr VERSION=5.1 ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} ./artifacts/ From 74536379f6d3ed783277cddad30917fbc28aeb0f Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 10:20:08 +0900 Subject: [PATCH 034/104] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d9d5475e..7309880b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -58,7 +58,7 @@ jobs: - run: name: "Publish Release on GitHub" command: | - echo " STEP.1 Deploy to Github" + echo " STEP.1 Deploy to Github ${GITHUB_TOKEN} ${CIRCLE_PROJECT_USERNAME} ${CIRCLE_PROJECT_REPONAME} " go get github.com/tcnksm/ghr VERSION=5.1 ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} ./artifacts/ From a3e655e38296e8a356372007d23fffd94d843792 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 10:22:45 +0900 Subject: [PATCH 035/104] Update config.yml --- .circleci/config.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 7309880b..b882b2fe 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -58,9 +58,11 @@ jobs: - run: name: "Publish Release on GitHub" command: | - echo " STEP.1 Deploy to Github ${GITHUB_TOKEN} ${CIRCLE_PROJECT_USERNAME} ${CIRCLE_PROJECT_REPONAME} " + echo " STEP.1 Start Deploying to Github" go get github.com/tcnksm/ghr + echo " STEP.2 Check working: Meta ${GITHUB_TOKEN} ${CIRCLE_PROJECT_USERNAME} ${CIRCLE_PROJECT_REPONAME} ${CIRCLE_SHA1} " VERSION=5.1 + echo " STEP.3 Check working: Version ${VERSION} " ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} ./artifacts/ echo " STEP.2 WORKING OK " From f88c164c9ad004bd99f864eed7cda857899e038c Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 10:25:54 +0900 Subject: [PATCH 036/104] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b882b2fe..b4a6dbac 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -64,7 +64,7 @@ jobs: VERSION=5.1 echo " STEP.3 Check working: Version ${VERSION} " ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} ./artifacts/ - echo " STEP.2 WORKING OK " + echo " STEP.4 WORKING OK " From fc9a28a31fb8a2c4a17971d58ff3fcd2183b6e3b Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 10:30:01 +0900 Subject: [PATCH 037/104] Update config.yml --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b4a6dbac..91fb1ee4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,7 +6,7 @@ version: 2.1 # Define a job to be invoked later in a workflow. # See: https://circleci.com/docs/configuration-reference/#jobs jobs: - build: + build-loragatway: # Specify the execution environment. You can specify an image from Docker Hub or use one of our convenience images from CircleCI's Developer Hub. # See: https://circleci.com/docs/configuration-reference/#executor-job docker: @@ -73,7 +73,7 @@ jobs: workflows: build-deploy: jobs: - - build + - build-loragatway - publish-github-release: requires: - build From e8bad78845b85a76a1aa3e00db70216d863b46d4 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 10:31:12 +0900 Subject: [PATCH 038/104] Update config.yml --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 91fb1ee4..b4a6dbac 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,7 +6,7 @@ version: 2.1 # Define a job to be invoked later in a workflow. # See: https://circleci.com/docs/configuration-reference/#jobs jobs: - build-loragatway: + build: # Specify the execution environment. You can specify an image from Docker Hub or use one of our convenience images from CircleCI's Developer Hub. # See: https://circleci.com/docs/configuration-reference/#executor-job docker: @@ -73,7 +73,7 @@ jobs: workflows: build-deploy: jobs: - - build-loragatway + - build - publish-github-release: requires: - build From 474b5ef5b5108090abce6a08432e1feab4359c1f Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 10:59:44 +0900 Subject: [PATCH 039/104] Update config.yml --- .circleci/config.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index b4a6dbac..0faa047b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,7 +8,11 @@ version: 2.1 jobs: build: # Specify the execution environment. You can specify an image from Docker Hub or use one of our convenience images from CircleCI's Developer Hub. + # # See: https://circleci.com/docs/configuration-reference/#executor-job + # + # See: https://circleci.com/docs/parallelism-faster-jobs/ + # docker: - image: cimg/base:stable # Add steps to the job From d9c8bc406c7fa7eeb5319b0799a378f1c625e604 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 11:04:51 +0900 Subject: [PATCH 040/104] Update config.yml --- .circleci/config.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0faa047b..126fe549 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -55,15 +55,14 @@ jobs: # publish-github-release: docker: - - image: circleci/golang:1.8 + - image: cibuilds/github:0.10 steps: - attach_workspace: at: ./artifacts - run: name: "Publish Release on GitHub" command: | - echo " STEP.1 Start Deploying to Github" - go get github.com/tcnksm/ghr + echo " STEP.1 Start Deploying to Github" echo " STEP.2 Check working: Meta ${GITHUB_TOKEN} ${CIRCLE_PROJECT_USERNAME} ${CIRCLE_PROJECT_REPONAME} ${CIRCLE_SHA1} " VERSION=5.1 echo " STEP.3 Check working: Version ${VERSION} " From 3162d8297d7584429a0e4d4775e8f0fbb50c01ce Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 11:11:23 +0900 Subject: [PATCH 041/104] Update readme.md --- readme.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index b7724410..f3afa59c 100644 --- a/readme.md +++ b/readme.md @@ -1,4 +1,7 @@ -# CircleCI Documentation +# CI + +[![GitHub release](https://img.shields.io/github/release/JeonghunLee/lora_gateway.svg?style=flat-square)][release] +[![Test](https://github.com/JeonghunLee/lora_gateway/actions/workflows/test.yml/badge.svg)][GitHub Actions] [![CircleCI Build Status](https://circleci.com/gh/JeonghunLee/lora_gateway.svg?style=shield)](https://circleci.com/gh/JeonghunLee/lora_gateway) From 3747e51d1a03479342828b462c51bbab8bb62f88 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 11:11:55 +0900 Subject: [PATCH 042/104] Update readme.md --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index f3afa59c..6176be57 100644 --- a/readme.md +++ b/readme.md @@ -1,4 +1,4 @@ -# CI +# Circle CI and Github [![GitHub release](https://img.shields.io/github/release/JeonghunLee/lora_gateway.svg?style=flat-square)][release] [![Test](https://github.com/JeonghunLee/lora_gateway/actions/workflows/test.yml/badge.svg)][GitHub Actions] From 6127b50f9707e3bb78fc12b4960e3eb9db101977 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 11:12:19 +0900 Subject: [PATCH 043/104] Update readme.md --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 6176be57..eba51be5 100644 --- a/readme.md +++ b/readme.md @@ -1,7 +1,7 @@ # Circle CI and Github [![GitHub release](https://img.shields.io/github/release/JeonghunLee/lora_gateway.svg?style=flat-square)][release] -[![Test](https://github.com/JeonghunLee/lora_gateway/actions/workflows/test.yml/badge.svg)][GitHub Actions] + [![CircleCI Build Status](https://circleci.com/gh/JeonghunLee/lora_gateway.svg?style=shield)](https://circleci.com/gh/JeonghunLee/lora_gateway) From e582adff24225664c7caf47bc7b7fbb400d4cf64 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 11:13:00 +0900 Subject: [PATCH 044/104] Update readme.md --- readme.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/readme.md b/readme.md index eba51be5..dfcc65fc 100644 --- a/readme.md +++ b/readme.md @@ -1,8 +1,7 @@ # Circle CI and Github - +==== [![GitHub release](https://img.shields.io/github/release/JeonghunLee/lora_gateway.svg?style=flat-square)][release] - [![CircleCI Build Status](https://circleci.com/gh/JeonghunLee/lora_gateway.svg?style=shield)](https://circleci.com/gh/JeonghunLee/lora_gateway) [![CircleCI](https://dl.circleci.com/insights-snapshot/gh/JeonghunLee/lora_gateway/circle-project-setup/build-deploy/badge.svg?window=30d)](https://app.circleci.com/insights/github/JeonghunLee/lora_gateway/workflows/build-deploy/overview?branch=circle-project-setup&reporting-window=last-30-days&insights-snapshot=true) From ff189cf9ea628e80b771f326b099f986887ed3fe Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 11:13:17 +0900 Subject: [PATCH 045/104] Update readme.md --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index dfcc65fc..ed248214 100644 --- a/readme.md +++ b/readme.md @@ -1,4 +1,4 @@ -# Circle CI and Github +Circle CI and Github ==== [![GitHub release](https://img.shields.io/github/release/JeonghunLee/lora_gateway.svg?style=flat-square)][release] From 488e9f2304e9fca3ad1292a5533dc91989aa7289 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 11:14:35 +0900 Subject: [PATCH 046/104] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 126fe549..edcbe022 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -66,7 +66,7 @@ jobs: echo " STEP.2 Check working: Meta ${GITHUB_TOKEN} ${CIRCLE_PROJECT_USERNAME} ${CIRCLE_PROJECT_REPONAME} ${CIRCLE_SHA1} " VERSION=5.1 echo " STEP.3 Check working: Version ${VERSION} " - ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} ./artifacts/ + ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} ${VERSION} ./artifacts/ echo " STEP.4 WORKING OK " From 41c4d6931b256a64298621847e91525b83c61ffa Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 11:17:43 +0900 Subject: [PATCH 047/104] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index edcbe022..e200263a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -63,7 +63,7 @@ jobs: name: "Publish Release on GitHub" command: | echo " STEP.1 Start Deploying to Github" - echo " STEP.2 Check working: Meta ${GITHUB_TOKEN} ${CIRCLE_PROJECT_USERNAME} ${CIRCLE_PROJECT_REPONAME} ${CIRCLE_SHA1} " + echo " STEP.2 Check working: Meta 1:${GITHUB_TOKEN} 2:${CIRCLE_PROJECT_USERNAME} 3:${CIRCLE_PROJECT_REPONAME} 4:${CIRCLE_SHA1} " VERSION=5.1 echo " STEP.3 Check working: Version ${VERSION} " ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} ${VERSION} ./artifacts/ From a94e81921bc32e27d3e82625b4841c3f9c3ebcd4 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 11:24:54 +0900 Subject: [PATCH 048/104] Update config.yml --- .circleci/config.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index e200263a..845feb98 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -52,6 +52,8 @@ jobs: # # https://circleci.com/blog/publishing-to-github-releases-via-circleci/ +# **GITHUB_TOKEN** +# https://docs.github.com/ko/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens # publish-github-release: docker: @@ -66,7 +68,7 @@ jobs: echo " STEP.2 Check working: Meta 1:${GITHUB_TOKEN} 2:${CIRCLE_PROJECT_USERNAME} 3:${CIRCLE_PROJECT_REPONAME} 4:${CIRCLE_SHA1} " VERSION=5.1 echo " STEP.3 Check working: Version ${VERSION} " - ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} ${VERSION} ./artifacts/ + ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} ./artifacts/ echo " STEP.4 WORKING OK " From 0d95a11bb2c5eb991c9bb175b38a0b108a341116 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 11:27:12 +0900 Subject: [PATCH 049/104] Update config.yml --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 845feb98..07fc845f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -52,7 +52,8 @@ jobs: # # https://circleci.com/blog/publishing-to-github-releases-via-circleci/ -# **GITHUB_TOKEN** +# +# ** GITHUB_TOKEN ** have to Setup Github # https://docs.github.com/ko/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens # publish-github-release: From ee8af4b52464924e4450695825fefdcb16bbd434 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 11:28:42 +0900 Subject: [PATCH 050/104] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 07fc845f..d13dc886 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -69,7 +69,7 @@ jobs: echo " STEP.2 Check working: Meta 1:${GITHUB_TOKEN} 2:${CIRCLE_PROJECT_USERNAME} 3:${CIRCLE_PROJECT_REPONAME} 4:${CIRCLE_SHA1} " VERSION=5.1 echo " STEP.3 Check working: Version ${VERSION} " - ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} ./artifacts/ + ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} ${VERSION} ./artifacts/ echo " STEP.4 WORKING OK " From 950a823558d7bb424173de3141f08beba0f23816 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 13:05:24 +0900 Subject: [PATCH 051/104] Update config.yml --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index d13dc886..052ced60 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -68,6 +68,7 @@ jobs: echo " STEP.1 Start Deploying to Github" echo " STEP.2 Check working: Meta 1:${GITHUB_TOKEN} 2:${CIRCLE_PROJECT_USERNAME} 3:${CIRCLE_PROJECT_REPONAME} 4:${CIRCLE_SHA1} " VERSION=5.1 + GITHUB_TOKEN="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" echo " STEP.3 Check working: Version ${VERSION} " ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} ${VERSION} ./artifacts/ echo " STEP.4 WORKING OK " From 13d5995c0d279df58db77619e7cd88f2c7ef950d Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 13:06:51 +0900 Subject: [PATCH 052/104] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 052ced60..1088c3ae 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -68,7 +68,7 @@ jobs: echo " STEP.1 Start Deploying to Github" echo " STEP.2 Check working: Meta 1:${GITHUB_TOKEN} 2:${CIRCLE_PROJECT_USERNAME} 3:${CIRCLE_PROJECT_REPONAME} 4:${CIRCLE_SHA1} " VERSION=5.1 - GITHUB_TOKEN="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" + GITHUB_TOKEN=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 echo " STEP.3 Check working: Version ${VERSION} " ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} ${VERSION} ./artifacts/ echo " STEP.4 WORKING OK " From 3b8bec2f04e01712fa6effbda2546e11c954bb1a Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 13:10:12 +0900 Subject: [PATCH 053/104] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1088c3ae..757d3fea 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -68,7 +68,7 @@ jobs: echo " STEP.1 Start Deploying to Github" echo " STEP.2 Check working: Meta 1:${GITHUB_TOKEN} 2:${CIRCLE_PROJECT_USERNAME} 3:${CIRCLE_PROJECT_REPONAME} 4:${CIRCLE_SHA1} " VERSION=5.1 - GITHUB_TOKEN=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 + GITHUB_TOKEN="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" echo " STEP.3 Check working: Version ${VERSION} " ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} ${VERSION} ./artifacts/ echo " STEP.4 WORKING OK " From 6083315b9abc7d4f4a6c27f55df9edef4a80945f Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 13:12:17 +0900 Subject: [PATCH 054/104] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 757d3fea..ef1854f4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -68,7 +68,7 @@ jobs: echo " STEP.1 Start Deploying to Github" echo " STEP.2 Check working: Meta 1:${GITHUB_TOKEN} 2:${CIRCLE_PROJECT_USERNAME} 3:${CIRCLE_PROJECT_REPONAME} 4:${CIRCLE_SHA1} " VERSION=5.1 - GITHUB_TOKEN="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" + GITHUB_TOKEN="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" echo " STEP.3 Check working: Version ${VERSION} " ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} ${VERSION} ./artifacts/ echo " STEP.4 WORKING OK " From 725acfe9f3c29cde9453c1865b8e76a58f5abd98 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 13:22:49 +0900 Subject: [PATCH 055/104] Update config.yml --- .circleci/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ef1854f4..fc7cad51 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -67,10 +67,10 @@ jobs: command: | echo " STEP.1 Start Deploying to Github" echo " STEP.2 Check working: Meta 1:${GITHUB_TOKEN} 2:${CIRCLE_PROJECT_USERNAME} 3:${CIRCLE_PROJECT_REPONAME} 4:${CIRCLE_SHA1} " - VERSION=5.1 - GITHUB_TOKEN="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" + VERSION=4.1 + GITHUB_TOKEN="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" echo " STEP.3 Check working: Version ${VERSION} " - ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} ${VERSION} ./artifacts/ + ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} delete ${VERSION} ./artifacts/ echo " STEP.4 WORKING OK " From 1ac57f6d0a9a4162ec3afffae39f564fb12b0285 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 13:23:18 +0900 Subject: [PATCH 056/104] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index fc7cad51..1688070d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -67,7 +67,7 @@ jobs: command: | echo " STEP.1 Start Deploying to Github" echo " STEP.2 Check working: Meta 1:${GITHUB_TOKEN} 2:${CIRCLE_PROJECT_USERNAME} 3:${CIRCLE_PROJECT_REPONAME} 4:${CIRCLE_SHA1} " - VERSION=4.1 + VERSION=4.1.2 GITHUB_TOKEN="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" echo " STEP.3 Check working: Version ${VERSION} " ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} delete ${VERSION} ./artifacts/ From 46ed00c6656283ba71a300b3f10db24dd9abdecb Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 13:24:51 +0900 Subject: [PATCH 057/104] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1688070d..98005762 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -68,7 +68,7 @@ jobs: echo " STEP.1 Start Deploying to Github" echo " STEP.2 Check working: Meta 1:${GITHUB_TOKEN} 2:${CIRCLE_PROJECT_USERNAME} 3:${CIRCLE_PROJECT_REPONAME} 4:${CIRCLE_SHA1} " VERSION=4.1.2 - GITHUB_TOKEN="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" + GITHUB_TOKEN="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" echo " STEP.3 Check working: Version ${VERSION} " ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} delete ${VERSION} ./artifacts/ echo " STEP.4 WORKING OK " From 1f0941bddff35ba25b9f84627327359f8b5aad7b Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 13:27:13 +0900 Subject: [PATCH 058/104] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 98005762..756ec717 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -70,7 +70,7 @@ jobs: VERSION=4.1.2 GITHUB_TOKEN="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" echo " STEP.3 Check working: Version ${VERSION} " - ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} delete ${VERSION} ./artifacts/ + ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} ${VERSION} ./artifacts/ echo " STEP.4 WORKING OK " From 52eee76df3eedfd00f9e67fe8eaa7bf242fea5b0 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 13:32:42 +0900 Subject: [PATCH 059/104] Update config.yml --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 756ec717..04f45aaf 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -67,8 +67,8 @@ jobs: command: | echo " STEP.1 Start Deploying to Github" echo " STEP.2 Check working: Meta 1:${GITHUB_TOKEN} 2:${CIRCLE_PROJECT_USERNAME} 3:${CIRCLE_PROJECT_REPONAME} 4:${CIRCLE_SHA1} " - VERSION=4.1.2 - GITHUB_TOKEN="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" + VERSION=5.1 + GITHUB_TOKEN="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" echo " STEP.3 Check working: Version ${VERSION} " ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} ${VERSION} ./artifacts/ echo " STEP.4 WORKING OK " From de2769116119ba06a8b5e0bb46421f9c7b603504 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 13:40:14 +0900 Subject: [PATCH 060/104] Update config.yml --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 04f45aaf..9321d3ed 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -68,9 +68,9 @@ jobs: echo " STEP.1 Start Deploying to Github" echo " STEP.2 Check working: Meta 1:${GITHUB_TOKEN} 2:${CIRCLE_PROJECT_USERNAME} 3:${CIRCLE_PROJECT_REPONAME} 4:${CIRCLE_SHA1} " VERSION=5.1 - GITHUB_TOKEN="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" + GITHUB_TOKEN="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" echo " STEP.3 Check working: Version ${VERSION} " - ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} ${VERSION} ./artifacts/ + ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${VERSION} ./artifacts/ echo " STEP.4 WORKING OK " From 832df063c88d968dafe85cc5684bb519134d5cb7 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 13:55:33 +0900 Subject: [PATCH 061/104] Update ccpp.yml --- .github/workflows/ccpp.yml | 34 +++++++++++++++++++++++++++++++--- 1 file changed, 31 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index a79b1052..b49aba82 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -6,10 +6,38 @@ jobs: build: runs-on: ubuntu-latest - + env: + PROJECT_PATH: examples/factory_demo + BIN_FILE: ESP-Box_Demo_V0.5.0.bin + steps: + - name: Checkout - uses: actions/checkout@v2 - - name: make - run: make all + + - name: Build + run: | + echo "Start to build Lora Gateway" + cd $GITHUB_WORKSPACE/$PROJECT_PATH + make all + + - name: Upload a Build Artifact + uses: actions/upload-artifact@v3.0.0 + with: + # Artifact name + name: LoRaLib + + mkdir -p output + cp -a libloragw/libloragw.a ./output/ + cp -a util_pkt_logger/util_pkt_logger ./output/ + cp -a util_spi_stress/util_spi_stress ./output/ + cp -a util_tx_test/util_tx_test ./output/ + cp -a util_lbt_test/util_lbt_test ./output/ + cp -a util_tx_continuous/util_tx_continuous ./output/ + cp -a util_spectral_scan/util_spectral_scan ./output/ + cp -a ./output ./artifacts + mkdir -p /tmp/112233/output + cp -a ./output /tmp/112233/output + FILE_LIST=`ls ./artifacts/` + echo "FILE: $FILE_LIST " From 62ee9a75f63baae6cf3e2443ea2c6efd13a27b4f Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 14:00:20 +0900 Subject: [PATCH 062/104] Update ccpp.yml --- .github/workflows/ccpp.yml | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index b49aba82..22041c8e 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -19,25 +19,22 @@ jobs: echo "Start to build Lora Gateway" cd $GITHUB_WORKSPACE/$PROJECT_PATH make all - + mkdir -p output + cp -a libloragw/libloragw.a ./output/ + cp -a util_pkt_logger/util_pkt_logger ./output/ + cp -a util_spi_stress/util_spi_stress ./output/ + cp -a util_tx_test/util_tx_test ./output/ + cp -a util_lbt_test/util_lbt_test ./output/ + cp -a util_tx_continuous/util_tx_continuous ./output/ + cp -a util_spectral_scan/util_spectral_scan ./output/ + + - name: Upload a Build Artifact uses: actions/upload-artifact@v3.0.0 with: # Artifact name name: LoRaLib - - mkdir -p output - cp -a libloragw/libloragw.a ./output/ - cp -a util_pkt_logger/util_pkt_logger ./output/ - cp -a util_spi_stress/util_spi_stress ./output/ - cp -a util_tx_test/util_tx_test ./output/ - cp -a util_lbt_test/util_lbt_test ./output/ - cp -a util_tx_continuous/util_tx_continuous ./output/ - cp -a util_spectral_scan/util_spectral_scan ./output/ - cp -a ./output ./artifacts - mkdir -p /tmp/112233/output - cp -a ./output /tmp/112233/output - FILE_LIST=`ls ./artifacts/` - echo "FILE: $FILE_LIST " + path: | + examples/factory_demo/output From a3e2131f6884fed76d8c0906f5777ad5514a641b Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 14:02:36 +0900 Subject: [PATCH 063/104] Update ccpp.yml --- .github/workflows/ccpp.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 22041c8e..a1ba7f44 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -36,5 +36,6 @@ jobs: name: LoRaLib path: | examples/factory_demo/output + retention-days: 90 From c4453171516bee38e9852040a22459b631863346 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 14:04:04 +0900 Subject: [PATCH 064/104] Update ccpp.yml --- .github/workflows/ccpp.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index a1ba7f44..258d463c 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -11,10 +11,8 @@ jobs: BIN_FILE: ESP-Box_Demo_V0.5.0.bin steps: - - name: Checkout + - name: Build - uses: actions/checkout@v2 - - - name: Build run: | echo "Start to build Lora Gateway" cd $GITHUB_WORKSPACE/$PROJECT_PATH From 4e2ed0abcd3a4fc347add54900ddfea68c362919 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 14:06:12 +0900 Subject: [PATCH 065/104] Update ccpp.yml --- .github/workflows/ccpp.yml | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 258d463c..1823f46c 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -11,20 +11,24 @@ jobs: BIN_FILE: ESP-Box_Demo_V0.5.0.bin steps: - - name: Build + - name: Checkout repo - uses: actions/checkout@v2 + + + - name: Build Lora Gateway run: | - echo "Start to build Lora Gateway" - cd $GITHUB_WORKSPACE/$PROJECT_PATH - make all - mkdir -p output - cp -a libloragw/libloragw.a ./output/ - cp -a util_pkt_logger/util_pkt_logger ./output/ - cp -a util_spi_stress/util_spi_stress ./output/ - cp -a util_tx_test/util_tx_test ./output/ - cp -a util_lbt_test/util_lbt_test ./output/ - cp -a util_tx_continuous/util_tx_continuous ./output/ - cp -a util_spectral_scan/util_spectral_scan ./output/ + pwd + echo "Start to build Lora Gateway" + cd $GITHUB_WORKSPACE/$PROJECT_PATH + make all + mkdir -p output + cp -a libloragw/libloragw.a ./output/ + cp -a util_pkt_logger/util_pkt_logger ./output/ + cp -a util_spi_stress/util_spi_stress ./output/ + cp -a util_tx_test/util_tx_test ./output/ + cp -a util_lbt_test/util_lbt_test ./output/ + cp -a util_tx_continuous/util_tx_continuous ./output/ + cp -a util_spectral_scan/util_spectral_scan ./output/ - name: Upload a Build Artifact From dbe95345fb673618ea8abac0d0b5a3092149ee4e Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 14:07:25 +0900 Subject: [PATCH 066/104] Update ccpp.yml --- .github/workflows/ccpp.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 1823f46c..b2cce0d7 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Checkout repo - - uses: actions/checkout@v2 + uses: actions/checkout@v2 - name: Build Lora Gateway From 442ecf49b61d527ea4f1db7158416b3bdd1478d0 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 14:08:59 +0900 Subject: [PATCH 067/104] Update ccpp.yml --- .github/workflows/ccpp.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index b2cce0d7..3dfa5db9 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -19,7 +19,6 @@ jobs: run: | pwd echo "Start to build Lora Gateway" - cd $GITHUB_WORKSPACE/$PROJECT_PATH make all mkdir -p output cp -a libloragw/libloragw.a ./output/ @@ -37,7 +36,7 @@ jobs: # Artifact name name: LoRaLib path: | - examples/factory_demo/output + ./output retention-days: 90 From 00682de0940b080b76679122b3231e5f6e1c9f24 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 14:18:50 +0900 Subject: [PATCH 068/104] Update ccpp.yml --- .github/workflows/ccpp.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 3dfa5db9..cf5239c9 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -5,11 +5,7 @@ on: [push] jobs: build: - runs-on: ubuntu-latest - env: - PROJECT_PATH: examples/factory_demo - BIN_FILE: ESP-Box_Demo_V0.5.0.bin - + runs-on: ubuntu-latest steps: - name: Checkout repo uses: actions/checkout@v2 From 81c4eefa012082f3afbfa34cb6ec89ccfff27fc7 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 14:20:14 +0900 Subject: [PATCH 069/104] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 9321d3ed..f0cba82c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -81,7 +81,7 @@ workflows: build-deploy: jobs: - build - - publish-github-release: +# - publish-github-release: requires: - build filters: From e9af416c83ccf48898bdae071b6b06d86c69669c Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 14:21:26 +0900 Subject: [PATCH 070/104] Update config.yml --- .circleci/config.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f0cba82c..f9cff525 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -82,8 +82,8 @@ workflows: jobs: - build # - publish-github-release: - requires: - - build - filters: - branches: - only: circleci-project-setup +# requires: +# - build +# filters: +# branches: +# only: circleci-project-setup From e0c94a0b33b4c3c39a718f2aa41744f5f43d9c74 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 17:03:46 +0900 Subject: [PATCH 071/104] Update ccpp.yml --- .github/workflows/ccpp.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index cf5239c9..c61ec53f 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -7,8 +7,8 @@ jobs: runs-on: ubuntu-latest steps: - - name: Checkout repo - uses: actions/checkout@v2 + - name: Checkout Repository + uses: actions/checkout@v3 - name: Build Lora Gateway From b4fa94134b37fc581e2b63164a2763f34d99575e Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 17:04:15 +0900 Subject: [PATCH 072/104] Update ccpp.yml --- .github/workflows/ccpp.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index c61ec53f..82afcb6a 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -1,4 +1,4 @@ -name: C/C++ CI +name: LoRa Gateway C/C++ CI on: [push] From cbe822935bfe31bc206b30ed62ac1232a3621892 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 17:24:41 +0900 Subject: [PATCH 073/104] Update ccpp.yml --- .github/workflows/ccpp.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 82afcb6a..e6364058 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -35,4 +35,10 @@ jobs: ./output retention-days: 90 - + - name: Create Release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: v5.1 + release_name: v5.1 From 35e47032f6085994f6515737bfa2f4e5e9278a26 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 17:31:54 +0900 Subject: [PATCH 074/104] Update ccpp.yml --- .github/workflows/ccpp.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index e6364058..aaf95d0b 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -35,10 +35,18 @@ jobs: ./output retention-days: 90 +# +# https://github.com/actions/create-release +# - name: Create Release + id: create_release uses: actions/create-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: v5.1 - release_name: v5.1 + release_name: v5.1 + body: | + Change this + + From 23dfb525fe4c0171d109ec2f7a601b6fb5f080d8 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 17:32:17 +0900 Subject: [PATCH 075/104] Update ccpp.yml --- .github/workflows/ccpp.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index aaf95d0b..888bfd3b 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -44,8 +44,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: v5.1 - release_name: v5.1 + tag_name: v5.2 + release_name: v5.2 body: | Change this From ce00317bf223545086c4d8e50a81bc6d28ea8f2b Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 17:39:17 +0900 Subject: [PATCH 076/104] Update ccpp.yml --- .github/workflows/ccpp.yml | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 888bfd3b..af3dcb00 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -47,6 +47,20 @@ jobs: tag_name: v5.2 release_name: v5.2 body: | - Change this - - + Changes in this Release + - First Change + - Second Change +# +# https://github.com/actions/upload-release-asset +# + - name: Upload Release Asset + id: upload-release-asset + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: ./LoRaLib.zip + asset_name: LoRaLib.zip + asset_content_type: application/zip + From 4ef89cfc43cccc837d1db3f439bd2f540cf149a1 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 17:39:37 +0900 Subject: [PATCH 077/104] Update ccpp.yml --- .github/workflows/ccpp.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index af3dcb00..1c74b8f1 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -44,8 +44,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: v5.2 - release_name: v5.2 + tag_name: v5.2.3 + release_name: v5.2.3 body: | Changes in this Release - First Change From 54a0161244d5c2fbe58cbab090f5b06e8ea20efd Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 17:41:32 +0900 Subject: [PATCH 078/104] Update ccpp.yml --- .github/workflows/ccpp.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 1c74b8f1..7de498c9 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -35,6 +35,7 @@ jobs: ./output retention-days: 90 + # # https://github.com/actions/create-release # @@ -44,12 +45,13 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: v5.2.3 - release_name: v5.2.3 + tag_name: v5.2.3.1 + release_name: v5.2.3.1 body: | Changes in this Release - First Change - Second Change + # # https://github.com/actions/upload-release-asset # From c4b820f5df37c662bd02ccf6e73264156b73d6cf Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 17:43:38 +0900 Subject: [PATCH 079/104] Update ccpp.yml --- .github/workflows/ccpp.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 7de498c9..d8e1c8d6 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -51,6 +51,7 @@ jobs: Changes in this Release - First Change - Second Change + draft: false # # https://github.com/actions/upload-release-asset @@ -65,4 +66,5 @@ jobs: asset_path: ./LoRaLib.zip asset_name: LoRaLib.zip asset_content_type: application/zip + From 835bc29dbf18d1a6858b0bd477fcd610fb863225 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 17:44:16 +0900 Subject: [PATCH 080/104] Update ccpp.yml --- .github/workflows/ccpp.yml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index d8e1c8d6..d614d762 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -53,18 +53,6 @@ jobs: - Second Change draft: false -# -# https://github.com/actions/upload-release-asset -# - - name: Upload Release Asset - id: upload-release-asset - uses: actions/upload-release-asset@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./LoRaLib.zip - asset_name: LoRaLib.zip - asset_content_type: application/zip + From deaeee12ee6d6b355edef5e88161ae8972a2ab36 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 17:46:18 +0900 Subject: [PATCH 081/104] Update ccpp.yml --- .github/workflows/ccpp.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index d614d762..803917a9 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -53,6 +53,20 @@ jobs: - Second Change draft: false +# +# https://github.com/actions/upload-release-asset +# + - name: Add Release asset + id: upload-release-asset + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: ./LoRaLib.zip + asset_name: LoRaLib.zip + asset_content_type: application/zip + From ef95e6e172373173d5d0233a14137ecf3cdceb35 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 17:47:46 +0900 Subject: [PATCH 082/104] Update ccpp.yml --- .github/workflows/ccpp.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 803917a9..7cf7c9b8 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -45,8 +45,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: v5.2.3.1 - release_name: v5.2.3.1 + tag_name: v5.2.4.1 + release_name: v5.2.4.1 body: | Changes in this Release - First Change From 2ff94d03ae2e50a48b9ac7567e1370be4ac21351 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 17:50:26 +0900 Subject: [PATCH 083/104] Update ccpp.yml --- .github/workflows/ccpp.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 7cf7c9b8..9b8c9293 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -24,6 +24,7 @@ jobs: cp -a util_lbt_test/util_lbt_test ./output/ cp -a util_tx_continuous/util_tx_continuous ./output/ cp -a util_spectral_scan/util_spectral_scan ./output/ + zip --junk-paths my-artifact ./output - name: Upload a Build Artifact @@ -45,8 +46,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: v5.2.4.1 - release_name: v5.2.4.1 + tag_name: v5.2.4.2 + release_name: v5.2.4.2 body: | Changes in this Release - First Change @@ -63,8 +64,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./LoRaLib.zip - asset_name: LoRaLib.zip + asset_path: ./my-artifact.zip + asset_name: my-artifact.zip asset_content_type: application/zip From aae6bf29519cd71272097fab2ff4b316e523e4be Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 17:52:38 +0900 Subject: [PATCH 084/104] Update ccpp.yml --- .github/workflows/ccpp.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 9b8c9293..ecf74c42 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -24,7 +24,7 @@ jobs: cp -a util_lbt_test/util_lbt_test ./output/ cp -a util_tx_continuous/util_tx_continuous ./output/ cp -a util_spectral_scan/util_spectral_scan ./output/ - zip --junk-paths my-artifact ./output + zip --junk-paths my-artifact output - name: Upload a Build Artifact @@ -46,8 +46,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: v5.2.4.2 - release_name: v5.2.4.2 + tag_name: v5.2.4.3 + release_name: v5.2.4.3 body: | Changes in this Release - First Change From b217b09976f02c34b2854c8f1800c277e74fc751 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 17:53:58 +0900 Subject: [PATCH 085/104] Update ccpp.yml --- .github/workflows/ccpp.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index ecf74c42..cd052282 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -24,7 +24,7 @@ jobs: cp -a util_lbt_test/util_lbt_test ./output/ cp -a util_tx_continuous/util_tx_continuous ./output/ cp -a util_spectral_scan/util_spectral_scan ./output/ - zip --junk-paths my-artifact output + zip --junk-paths -r my-artifact output - name: Upload a Build Artifact @@ -46,8 +46,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: v5.2.4.3 - release_name: v5.2.4.3 + tag_name: v5.2.4.4 + release_name: v5.2.4.4 body: | Changes in this Release - First Change From dff2c9dc94fb7c9b334873a4bd9568a728b1a82f Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Thu, 16 Nov 2023 17:55:43 +0900 Subject: [PATCH 086/104] Update ccpp.yml --- .github/workflows/ccpp.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index cd052282..205c2958 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -24,7 +24,7 @@ jobs: cp -a util_lbt_test/util_lbt_test ./output/ cp -a util_tx_continuous/util_tx_continuous ./output/ cp -a util_spectral_scan/util_spectral_scan ./output/ - zip --junk-paths -r my-artifact output + zip --junk-paths -r loragateway output - name: Upload a Build Artifact @@ -46,8 +46,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: v5.2.4.4 - release_name: v5.2.4.4 + tag_name: v5.2.4.5 + release_name: v5.2.4.5 body: | Changes in this Release - First Change @@ -64,8 +64,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./my-artifact.zip - asset_name: my-artifact.zip + asset_path: ./loragateway.zip + asset_name: loragateway.zip asset_content_type: application/zip From 1f7ee55b1a2ea1984cd07e9cb734ff1bbc8a384b Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Fri, 17 Nov 2023 10:00:06 +0900 Subject: [PATCH 087/104] Update readme.md --- readme.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index ed248214..030cbb92 100644 --- a/readme.md +++ b/readme.md @@ -1,7 +1,9 @@ -Circle CI and Github +Github ==== [![GitHub release](https://img.shields.io/github/release/JeonghunLee/lora_gateway.svg?style=flat-square)][release] +Circle CI +==== [![CircleCI Build Status](https://circleci.com/gh/JeonghunLee/lora_gateway.svg?style=shield)](https://circleci.com/gh/JeonghunLee/lora_gateway) [![CircleCI](https://dl.circleci.com/insights-snapshot/gh/JeonghunLee/lora_gateway/circle-project-setup/build-deploy/badge.svg?window=30d)](https://app.circleci.com/insights/github/JeonghunLee/lora_gateway/workflows/build-deploy/overview?branch=circle-project-setup&reporting-window=last-30-days&insights-snapshot=true) From 9314cef5587540b9db18aaa3e32c945b2be26c15 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Fri, 17 Nov 2023 10:00:29 +0900 Subject: [PATCH 088/104] Update readme.md --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 030cbb92..c3c79eed 100644 --- a/readme.md +++ b/readme.md @@ -1,6 +1,6 @@ Github ==== -[![GitHub release](https://img.shields.io/github/release/JeonghunLee/lora_gateway.svg?style=flat-square)][release] +[![GitHub release](https://img.shields.io/github/release/JeonghunLee/lora_gateway.svg?style=flat-square)] Circle CI ==== From b33fdd7aa0359502cccf36af39c8206b7c3c2ccc Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Fri, 17 Nov 2023 10:00:45 +0900 Subject: [PATCH 089/104] Update readme.md --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index c3c79eed..5cb02e72 100644 --- a/readme.md +++ b/readme.md @@ -1,6 +1,6 @@ Github ==== -[![GitHub release](https://img.shields.io/github/release/JeonghunLee/lora_gateway.svg?style=flat-square)] +![GitHub release](https://img.shields.io/github/release/JeonghunLee/lora_gateway.svg?style=flat-square) Circle CI ==== From 47ec5d06779b88599f485cb886190dc296c9b822 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Fri, 17 Nov 2023 10:57:12 +0900 Subject: [PATCH 090/104] Update readme.md --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 5cb02e72..f914c996 100644 --- a/readme.md +++ b/readme.md @@ -6,7 +6,7 @@ Circle CI ==== [![CircleCI Build Status](https://circleci.com/gh/JeonghunLee/lora_gateway.svg?style=shield)](https://circleci.com/gh/JeonghunLee/lora_gateway) -[![CircleCI](https://dl.circleci.com/insights-snapshot/gh/JeonghunLee/lora_gateway/circle-project-setup/build-deploy/badge.svg?window=30d)](https://app.circleci.com/insights/github/JeonghunLee/lora_gateway/workflows/build-deploy/overview?branch=circle-project-setup&reporting-window=last-30-days&insights-snapshot=true) +[![CircleCI](https://dl.circleci.com/insights-snapshot/gh/JeonghunLee/lora_gateway/workflows/build-deploy/badge.svg?window=30d)](https://app.circleci.com/insights/github//JeonghunLee/lora_gateway/workflows/build-deploy/overview?branch=circle-project-setup&reporting-window=last-30-days&insights-snapshot=true) # LoRa Gateway From ffccd6d56c399f9a8044459c0811cf320585351c Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Fri, 17 Nov 2023 10:57:50 +0900 Subject: [PATCH 091/104] Update readme.md --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index f914c996..cdeaaa01 100644 --- a/readme.md +++ b/readme.md @@ -6,7 +6,7 @@ Circle CI ==== [![CircleCI Build Status](https://circleci.com/gh/JeonghunLee/lora_gateway.svg?style=shield)](https://circleci.com/gh/JeonghunLee/lora_gateway) -[![CircleCI](https://dl.circleci.com/insights-snapshot/gh/JeonghunLee/lora_gateway/workflows/build-deploy/badge.svg?window=30d)](https://app.circleci.com/insights/github//JeonghunLee/lora_gateway/workflows/build-deploy/overview?branch=circle-project-setup&reporting-window=last-30-days&insights-snapshot=true) +[![CircleCI](https://dl.circleci.com/insights-snapshot/gh/JeonghunLee/lora_gateway/workflows/build-deploy/badge.svg?window=30d)](https://app.circleci.com/insights/github/JeonghunLee/lora_gateway/workflows/build-deploy/overview?branch=circle-project-setup&reporting-window=last-30-days&insights-snapshot=true) # LoRa Gateway From be0394d7526387f9934cf9c10c611dbd71c49877 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Fri, 17 Nov 2023 10:58:41 +0900 Subject: [PATCH 092/104] Update readme.md --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index cdeaaa01..2420bd56 100644 --- a/readme.md +++ b/readme.md @@ -6,7 +6,7 @@ Circle CI ==== [![CircleCI Build Status](https://circleci.com/gh/JeonghunLee/lora_gateway.svg?style=shield)](https://circleci.com/gh/JeonghunLee/lora_gateway) -[![CircleCI](https://dl.circleci.com/insights-snapshot/gh/JeonghunLee/lora_gateway/workflows/build-deploy/badge.svg?window=30d)](https://app.circleci.com/insights/github/JeonghunLee/lora_gateway/workflows/build-deploy/overview?branch=circle-project-setup&reporting-window=last-30-days&insights-snapshot=true) +[![CircleCI](https://dl.circleci.com/insights-snapshot/gh/JeonghunLee/lora_gateway/workflows/build-deploy/badge.svg?window=30d)](https://app.circleci.com/insights/github/JeonghunLee/lora_gateway/workflows/build-deploy/overview?branch=circleci-project-setup&reporting-window=last-30-days&insights-snapshot=true) # LoRa Gateway From b25d575dcc87d9a9bc7c2248b1a02089a275f558 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Fri, 17 Nov 2023 19:01:13 +0900 Subject: [PATCH 093/104] Update ccpp.yml --- .github/workflows/ccpp.yml | 42 ++++++++++++++++++++++++++++++-------- 1 file changed, 33 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 205c2958..b0dc7c6a 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -6,10 +6,26 @@ jobs: build: runs-on: ubuntu-latest + env: + LORA_VERSION: v5.2.4.6 + LORA_OUTPUT: loragateway +# +# Steps +# steps: +# +# > STEP.1 Checkout +# Help +# - https://github.com/actions/checkout +# - name: Checkout Repository uses: actions/checkout@v3 +# +# > STEP.2 Build and Make Output +# Help +# - https://github.com/actions/checkout +# - name: Build Lora Gateway run: | @@ -24,9 +40,13 @@ jobs: cp -a util_lbt_test/util_lbt_test ./output/ cp -a util_tx_continuous/util_tx_continuous ./output/ cp -a util_spectral_scan/util_spectral_scan ./output/ - zip --junk-paths -r loragateway output - + zip --junk-paths -r $LORA_OUTPUT output +# +# > STEP.3 Upload Output to Artifact +# Help +# - https://github.com/actions/upload-artifact +# - name: Upload a Build Artifact uses: actions/upload-artifact@v3.0.0 with: @@ -37,7 +57,9 @@ jobs: retention-days: 90 -# +# +# > STEP.4 Create Release in Github +# Help # https://github.com/actions/create-release # - name: Create Release @@ -46,16 +68,18 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: v5.2.4.5 - release_name: v5.2.4.5 + tag_name: ${{LORA_VERSION}} + release_name: ${{LORA_VERSION}} body: | Changes in this Release - First Change - Second Change draft: false -# -# https://github.com/actions/upload-release-asset +# +# > STEP.5 Upload an added file to Release in Github +# Help +# - https://github.com/actions/upload-release-asset # - name: Add Release asset id: upload-release-asset @@ -64,8 +88,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./loragateway.zip - asset_name: loragateway.zip + asset_path: ./$LORA_OUTPUT.zip + asset_name: $LORA_OUTPUT.zip asset_content_type: application/zip From c994eb34f68f94427911e5dc5f9c89f89d09472d Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Fri, 17 Nov 2023 19:02:14 +0900 Subject: [PATCH 094/104] Update ccpp.yml --- .github/workflows/ccpp.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index b0dc7c6a..57a2520e 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -1,4 +1,4 @@ -name: LoRa Gateway C/C++ CI +name: LoRa Gateway C/C++ CI circirlci-preject-setup on: [push] From 1debcaa6c4cd2dd732ae23c493330955b5b34288 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Fri, 17 Nov 2023 19:03:31 +0900 Subject: [PATCH 095/104] Update ccpp.yml --- .github/workflows/ccpp.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 57a2520e..a17402a1 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -1,4 +1,4 @@ -name: LoRa Gateway C/C++ CI circirlci-preject-setup +name: LoRa Gateway C/C++ CI in circleci-preject-setup on: [push] From bb1a79bb91b5fc8bc517c2a28455dc1114c5e88d Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Fri, 17 Nov 2023 19:04:53 +0900 Subject: [PATCH 096/104] Update ccpp.yml --- .github/workflows/ccpp.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index a17402a1..87d74980 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -68,8 +68,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: ${{LORA_VERSION}} - release_name: ${{LORA_VERSION}} + tag_name: $LORA_VERSION + release_name: $LORA_VERSION body: | Changes in this Release - First Change From 0aee1eed74bebd7d35257ca4300ca758def90994 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Fri, 17 Nov 2023 19:08:49 +0900 Subject: [PATCH 097/104] Update ccpp.yml --- .github/workflows/ccpp.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 87d74980..d5cdd7c7 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -68,8 +68,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: $LORA_VERSION - release_name: $LORA_VERSION + tag_name: ${{ LORA_VERSION }} + release_name: ${{ LORA_VERSION }} body: | Changes in this Release - First Change @@ -88,8 +88,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./$LORA_OUTPUT.zip - asset_name: $LORA_OUTPUT.zip + asset_path: ./${{ LORA_OUTPUT }}.zip + asset_name: ${{ LORA_OUTPUT }}.zip asset_content_type: application/zip From 41b54849ab672a01b6fe609147a425eb09c4ec73 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Fri, 17 Nov 2023 19:10:45 +0900 Subject: [PATCH 098/104] Update ccpp.yml --- .github/workflows/ccpp.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index d5cdd7c7..941d96f2 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -6,9 +6,6 @@ jobs: build: runs-on: ubuntu-latest - env: - LORA_VERSION: v5.2.4.6 - LORA_OUTPUT: loragateway # # Steps # @@ -40,7 +37,7 @@ jobs: cp -a util_lbt_test/util_lbt_test ./output/ cp -a util_tx_continuous/util_tx_continuous ./output/ cp -a util_spectral_scan/util_spectral_scan ./output/ - zip --junk-paths -r $LORA_OUTPUT output + zip --junk-paths -r loragatway output # # > STEP.3 Upload Output to Artifact @@ -68,8 +65,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: ${{ LORA_VERSION }} - release_name: ${{ LORA_VERSION }} + tag_name: v5.2.4.6 + release_name: v5.2.4.6 body: | Changes in this Release - First Change @@ -88,8 +85,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./${{ LORA_OUTPUT }}.zip - asset_name: ${{ LORA_OUTPUT }}.zip + asset_path: ./loragatway.zip + asset_name: loragatway.zip asset_content_type: application/zip From 89bc81803faa839e4e844095220aba0ac9fd3acb Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Mon, 20 Nov 2023 17:04:54 +0900 Subject: [PATCH 099/104] Update ccpp.yml --- .github/workflows/ccpp.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 941d96f2..6132ad49 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -31,6 +31,7 @@ jobs: make all mkdir -p output cp -a libloragw/libloragw.a ./output/ + cp -a libloragw/library.cfg ./output/ cp -a util_pkt_logger/util_pkt_logger ./output/ cp -a util_spi_stress/util_spi_stress ./output/ cp -a util_tx_test/util_tx_test ./output/ From 7e5ba314562046f272691040ec84a362a13ec777 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Mon, 20 Nov 2023 17:11:15 +0900 Subject: [PATCH 100/104] Update ccpp.yml --- .github/workflows/ccpp.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 6132ad49..f3016f48 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -66,8 +66,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: v5.2.4.6 - release_name: v5.2.4.6 + tag_name: v5.2.4.7 + release_name: v5.2.4.7 body: | Changes in this Release - First Change From d5cc42871ce9e3fa631591665b0c78c149139d70 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Fri, 5 Jan 2024 13:54:52 +0900 Subject: [PATCH 101/104] Update readme.md --- readme.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/readme.md b/readme.md index 2420bd56..70347748 100644 --- a/readme.md +++ b/readme.md @@ -1,6 +1,11 @@ Github ==== ![GitHub release](https://img.shields.io/github/release/JeonghunLee/lora_gateway.svg?style=flat-square) +![example workflow](https://github.com/github/docs/actions/workflows/main.yml/badge.svg) +![example event parameter](https://github.com/github/docs/actions/workflows/main.yml/badge.svg?event=push) +![example branch parameter](https://github.com/github/docs/actions/workflows/main.yml/badge.svg?branch=circleci-project-setup) + + Circle CI ==== From bb866c8d9ecf8717aa6f66e027296abadfee0bdb Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Fri, 5 Jan 2024 13:56:15 +0900 Subject: [PATCH 102/104] Update readme.md --- readme.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/readme.md b/readme.md index 70347748..7cff72e9 100644 --- a/readme.md +++ b/readme.md @@ -1,9 +1,9 @@ Github ==== ![GitHub release](https://img.shields.io/github/release/JeonghunLee/lora_gateway.svg?style=flat-square) -![example workflow](https://github.com/github/docs/actions/workflows/main.yml/badge.svg) -![example event parameter](https://github.com/github/docs/actions/workflows/main.yml/badge.svg?event=push) -![example branch parameter](https://github.com/github/docs/actions/workflows/main.yml/badge.svg?branch=circleci-project-setup) +![example workflow](https://github.com/github/docs/actions/workflows/ccpp.yml/badge.svg) +![example event parameter](https://github.com/github/docs/actions/workflows/ccpp.yml/badge.svg?event=push) +![example branch parameter](https://github.com/github/docs/actions/workflows/ccpp.yml/badge.svg?branch=circleci-project-setup) From 2a4d081d10d065481a6a849cf8426dca95e484a9 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Fri, 5 Jan 2024 13:59:55 +0900 Subject: [PATCH 103/104] Update readme.md --- readme.md | 1 + 1 file changed, 1 insertion(+) diff --git a/readme.md b/readme.md index 7cff72e9..af21d2d4 100644 --- a/readme.md +++ b/readme.md @@ -1,6 +1,7 @@ Github ==== ![GitHub release](https://img.shields.io/github/release/JeonghunLee/lora_gateway.svg?style=flat-square) +![GitHub Action](https://github.com/JeonghunLee/lora_gateway/actions/workflows/ccpp.yml/badge.svg) ![example workflow](https://github.com/github/docs/actions/workflows/ccpp.yml/badge.svg) ![example event parameter](https://github.com/github/docs/actions/workflows/ccpp.yml/badge.svg?event=push) ![example branch parameter](https://github.com/github/docs/actions/workflows/ccpp.yml/badge.svg?branch=circleci-project-setup) From 8b913056330cdd64bb951db7b442744a661abff3 Mon Sep 17 00:00:00 2001 From: "JeongHun (James) Lee" Date: Fri, 5 Jan 2024 14:02:17 +0900 Subject: [PATCH 104/104] Update readme.md --- readme.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/readme.md b/readme.md index af21d2d4..922dcd45 100644 --- a/readme.md +++ b/readme.md @@ -1,10 +1,10 @@ Github ==== -![GitHub release](https://img.shields.io/github/release/JeonghunLee/lora_gateway.svg?style=flat-square) -![GitHub Action](https://github.com/JeonghunLee/lora_gateway/actions/workflows/ccpp.yml/badge.svg) -![example workflow](https://github.com/github/docs/actions/workflows/ccpp.yml/badge.svg) -![example event parameter](https://github.com/github/docs/actions/workflows/ccpp.yml/badge.svg?event=push) -![example branch parameter](https://github.com/github/docs/actions/workflows/ccpp.yml/badge.svg?branch=circleci-project-setup) +![GitHub release](https://img.shields.io/github/release/JeonghunLee/lora_gateway.svg?style=flat-square) +![GitHub Action](https://github.com/JeonghunLee/lora_gateway/actions/workflows/ccpp.yml/badge.svg) +![example workflow](https://github.com/JeonghunLee/lora_gateway/actions/workflows/ccpp.yml/badge.svg) +![example event parameter](https://github.com/JeonghunLee/lora_gateway/actions/workflows/ccpp.yml/badge.svg?event=push) +![example branch parameter](https://github.com/JeonghunLee/lora_gateway/actions/workflows/ccpp.yml/badge.svg?branch=circleci-project-setup)