From 2a0f948aae97c64083d91f6e60ec0aa88612f606 Mon Sep 17 00:00:00 2001 From: Youssefazxp <109003333+Youssefazxp@users.noreply.github.com> Date: Sat, 3 Sep 2022 21:34:04 +0100 Subject: [PATCH 01/12] Create .drone.yml --- .drone.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..e32750b --- /dev/null +++ b/.drone.yml @@ -0,0 +1,10 @@ +kind: pipeline +type: docker +name: default + +steps: +- name: test + image: node:10 + commands: + - npm i + - npm test From 2948cffb7b5eaadce7dbea7de6600341f1c1607f Mon Sep 17 00:00:00 2001 From: Youssefazxp <109003333+Youssefazxp@users.noreply.github.com> Date: Sat, 3 Sep 2022 21:37:05 +0100 Subject: [PATCH 02/12] Update .drone.yml --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index e32750b..d026947 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,10 +1,10 @@ kind: pipeline type: docker -name: default +name: DroneCIPIP steps: - name: test image: node:10 commands: - npm i - - npm test + - npm run test From e257b7abb7f84b9383a5d39c5e779f798b31351d Mon Sep 17 00:00:00 2001 From: Youssefazxp <109003333+Youssefazxp@users.noreply.github.com> Date: Sat, 3 Sep 2022 21:51:10 +0100 Subject: [PATCH 03/12] Update .drone.yml --- .drone.yml | 33 ++++++++++++++++++++++++--------- 1 file changed, 24 insertions(+), 9 deletions(-) diff --git a/.drone.yml b/.drone.yml index d026947..6683243 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,10 +1,25 @@ -kind: pipeline -type: docker -name: DroneCIPIP +pipeline: +test: + image: node:latest + environment: + - DEBUG=* + commands: + - npm install + - npm run test + + build: + image: node:latest + environment: + - DEBUG=* + commands: + - npm install -steps: -- name: test - image: node:10 - commands: - - npm i - - npm run test + publish: + image: plugins/docker + repo: youssefbxs + username: youssefbxs + password: D_1234_4321fk + tags: [ "latest", "1.0" ] + when: + branch: master + event: push From d40107230fbe5750e344265a9d835f8a5f57e754 Mon Sep 17 00:00:00 2001 From: Youssefazxp <109003333+Youssefazxp@users.noreply.github.com> Date: Sat, 3 Sep 2022 21:53:38 +0100 Subject: [PATCH 04/12] Update .drone.yml --- .drone.yml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/.drone.yml b/.drone.yml index 6683243..f832fc0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,21 +5,10 @@ test: - DEBUG=* commands: - npm install - - npm run test - + - npm run test build: image: node:latest environment: - DEBUG=* commands: - npm install - - publish: - image: plugins/docker - repo: youssefbxs - username: youssefbxs - password: D_1234_4321fk - tags: [ "latest", "1.0" ] - when: - branch: master - event: push From 241f987076a4c33cd0bf0f80659b4163993e58f1 Mon Sep 17 00:00:00 2001 From: Youssefazxp <109003333+Youssefazxp@users.noreply.github.com> Date: Sat, 3 Sep 2022 21:54:32 +0100 Subject: [PATCH 05/12] Update .drone.yml --- .drone.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index f832fc0..63b9912 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,4 +1,7 @@ -pipeline: +kind: pipeline +name: default + +steps: test: image: node:latest environment: From ec6e176b3a54e96fc9fe8b51f440fb9cb79fba4f Mon Sep 17 00:00:00 2001 From: Youssefazxp <109003333+Youssefazxp@users.noreply.github.com> Date: Sat, 3 Sep 2022 21:56:37 +0100 Subject: [PATCH 06/12] Update .drone.yml --- .drone.yml | 35 ++++++++++++++++++++++------------- 1 file changed, 22 insertions(+), 13 deletions(-) diff --git a/.drone.yml b/.drone.yml index 63b9912..2eddd7a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -2,16 +2,25 @@ kind: pipeline name: default steps: -test: - image: node:latest - environment: - - DEBUG=* - commands: - - npm install - - npm run test - build: - image: node:latest - environment: - - DEBUG=* - commands: - - npm install +- name: test + image: node:latest + commands: + - npm install + - npm run test + environment: + GOPROXY: https://goproxy.cn # proxy.golang.org is blocked in China, this proxy is not + GOSUMDB: sum.golang.org + when: + event: + - pull_request + - push + +- name: build + image: node:latest + commands: + - npm install + when: + event: + - pull_request + - push + From dd041a0030a45b4f87a919ebe052af46a284748f Mon Sep 17 00:00:00 2001 From: Youssefazxp <109003333+Youssefazxp@users.noreply.github.com> Date: Sat, 3 Sep 2022 22:02:17 +0100 Subject: [PATCH 07/12] Update .drone.yml --- .drone.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 2eddd7a..8cebc3f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -7,9 +7,6 @@ steps: commands: - npm install - npm run test - environment: - GOPROXY: https://goproxy.cn # proxy.golang.org is blocked in China, this proxy is not - GOSUMDB: sum.golang.org when: event: - pull_request From ad8936238fe2f2b4e68c606dca52dafbf3f9b161 Mon Sep 17 00:00:00 2001 From: Youssefazxp <109003333+Youssefazxp@users.noreply.github.com> Date: Sat, 3 Sep 2022 22:05:53 +0100 Subject: [PATCH 08/12] Update .drone.yml --- .drone.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 8cebc3f..b40a371 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,6 +1,6 @@ kind: pipeline +type: docker name: default - steps: - name: test image: node:latest @@ -20,4 +20,3 @@ steps: event: - pull_request - push - From 5b3700825bed16fad9f98fddda3e4165f1fd7c62 Mon Sep 17 00:00:00 2001 From: Youssefazxp <109003333+Youssefazxp@users.noreply.github.com> Date: Sat, 3 Sep 2022 22:11:34 +0100 Subject: [PATCH 09/12] Update .drone.yml --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index b40a371..816d21d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -1,5 +1,5 @@ kind: pipeline -type: docker +type: kubernetes name: default steps: - name: test From a792b92f82c0a3ded785e0e63b3cbb111ea06f5e Mon Sep 17 00:00:00 2001 From: Youssefazxp <109003333+Youssefazxp@users.noreply.github.com> Date: Sat, 3 Sep 2022 22:13:50 +0100 Subject: [PATCH 10/12] Create .drone.yml1 --- .drone.yml1 | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .drone.yml1 diff --git a/.drone.yml1 b/.drone.yml1 new file mode 100644 index 0000000..dead254 --- /dev/null +++ b/.drone.yml1 @@ -0,0 +1,10 @@ +kind: pipeline +type: kubernetes +name: default + +steps: +- name: greeting + image: alpine + commands: + - echo hello + - echo world From 80bbd830a33c21432b1fd51a1278be2e8b351b08 Mon Sep 17 00:00:00 2001 From: Youssefazxp <109003333+Youssefazxp@users.noreply.github.com> Date: Sat, 3 Sep 2022 22:15:28 +0100 Subject: [PATCH 11/12] Rename .drone.yml to .drone.yml2 --- .drone.yml => .drone.yml2 | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .drone.yml => .drone.yml2 (100%) diff --git a/.drone.yml b/.drone.yml2 similarity index 100% rename from .drone.yml rename to .drone.yml2 From af30ffd2b1a5e85cc6f91b94aec43d714c3a9ef2 Mon Sep 17 00:00:00 2001 From: Youssefazxp <109003333+Youssefazxp@users.noreply.github.com> Date: Sat, 3 Sep 2022 22:15:36 +0100 Subject: [PATCH 12/12] Rename .drone.yml1 to .drone.yml --- .drone.yml1 => .drone.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .drone.yml1 => .drone.yml (100%) diff --git a/.drone.yml1 b/.drone.yml similarity index 100% rename from .drone.yml1 rename to .drone.yml