From ceffed23976eba3688f3d5fa64b3b0e461fd01a0 Mon Sep 17 00:00:00 2001 From: ereio Date: Fri, 24 Dec 2021 11:09:29 -0500 Subject: [PATCH 1/7] chore: needs login name?? --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 12810b4d9..f22c8ac82 100644 --- a/.drone.yml +++ b/.drone.yml @@ -45,7 +45,7 @@ steps: commands: # Modify the existing release and add the android apk - go install code.gitea.io/tea@latest - - tea login add -u https://git.syphon.org + - tea login add -u https://git.syphon.org -n syphon - tea release create --tag "${DRONE_BRANCH}-$(echo $DRONE_COMMIT_SHA | cut -c1-7)-android" --target ${DRONE_COMMIT_SHA} --repo syphon-org/syphon --title "${DRONE_BRANCH}-nightly-android" --asset ./syphon.nightly.android.apk --- @@ -97,7 +97,7 @@ steps: commands: # Modify the existing release and add the android apk - go install code.gitea.io/tea@latest - - tea login add -u https://git.syphon.org + - tea login add -u https://git.syphon.org -n syphon - tea release create --tag "${DRONE_BRANCH}-$(echo $DRONE_COMMIT_SHA | cut -c1-7)-android" --target ${DRONE_COMMIT_SHA} --repo syphon-org/syphon --title "${DRONE_BRANCH}-$(echo $DRONE_COMMIT_SHA | cut -c1-7)-android" --asset ./syphon.$(echo $DRONE_COMMIT_SHA | cut -c1-7).android.apk --- kind: pipeline From ece8c4f7832fb3e976f4675e676703e256bd0fb0 Mon Sep 17 00:00:00 2001 From: ereio Date: Fri, 24 Dec 2021 11:56:15 -0500 Subject: [PATCH 2/7] what is happening with tea? --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index f22c8ac82..f1b68984b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -38,7 +38,7 @@ steps: - cp build/app/outputs/flutter-apk/app-release.apk ./syphon.nightly.android.apk - name: release android - image: golang:1.17 + image: golang:1.13 environment: GITEA_SERVER_TOKEN: from_secret: GITEA_API_TOKEN From a1a8ed8893a563b7cc031a7fdc36c6a4a4dfeba5 Mon Sep 17 00:00:00 2001 From: ereio Date: Fri, 24 Dec 2021 11:59:18 -0500 Subject: [PATCH 3/7] chore: trying go get due to old tea cached version? --- .drone.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index f1b68984b..faef6b73f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -38,12 +38,13 @@ steps: - cp build/app/outputs/flutter-apk/app-release.apk ./syphon.nightly.android.apk - name: release android - image: golang:1.13 + image: golang:1.16 environment: GITEA_SERVER_TOKEN: from_secret: GITEA_API_TOKEN commands: # Modify the existing release and add the android apk + - go get code.gitea.io/tea - go install code.gitea.io/tea@latest - tea login add -u https://git.syphon.org -n syphon - tea release create --tag "${DRONE_BRANCH}-$(echo $DRONE_COMMIT_SHA | cut -c1-7)-android" --target ${DRONE_COMMIT_SHA} --repo syphon-org/syphon --title "${DRONE_BRANCH}-nightly-android" --asset ./syphon.nightly.android.apk From efde6feaf0e7130e063597e809ffa1ef07faa8e1 Mon Sep 17 00:00:00 2001 From: ereio Date: Fri, 24 Dec 2021 13:17:15 -0500 Subject: [PATCH 4/7] chore: revert to go 13? --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index faef6b73f..4d4cfa318 100644 --- a/.drone.yml +++ b/.drone.yml @@ -38,7 +38,7 @@ steps: - cp build/app/outputs/flutter-apk/app-release.apk ./syphon.nightly.android.apk - name: release android - image: golang:1.16 + image: golang:1.13 environment: GITEA_SERVER_TOKEN: from_secret: GITEA_API_TOKEN From be27c2adc69f375c8e2e9ea9dd185506bdd98c51 Mon Sep 17 00:00:00 2001 From: ereio Date: Fri, 24 Dec 2021 13:54:11 -0500 Subject: [PATCH 5/7] chore: why --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 4d4cfa318..b9180301a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -45,7 +45,7 @@ steps: commands: # Modify the existing release and add the android apk - go get code.gitea.io/tea - - go install code.gitea.io/tea@latest + - go install code.gitea.io/tea - tea login add -u https://git.syphon.org -n syphon - tea release create --tag "${DRONE_BRANCH}-$(echo $DRONE_COMMIT_SHA | cut -c1-7)-android" --target ${DRONE_COMMIT_SHA} --repo syphon-org/syphon --title "${DRONE_BRANCH}-nightly-android" --asset ./syphon.nightly.android.apk From 38f3b79cf9a60fda0a904ce9c04298b9fe66bbb4 Mon Sep 17 00:00:00 2001 From: ereio Date: Fri, 24 Dec 2021 13:54:33 -0500 Subject: [PATCH 6/7] chore: log version --- .drone.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.drone.yml b/.drone.yml index b9180301a..189c3857e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -46,6 +46,7 @@ steps: # Modify the existing release and add the android apk - go get code.gitea.io/tea - go install code.gitea.io/tea + - tea --version - tea login add -u https://git.syphon.org -n syphon - tea release create --tag "${DRONE_BRANCH}-$(echo $DRONE_COMMIT_SHA | cut -c1-7)-android" --target ${DRONE_COMMIT_SHA} --repo syphon-org/syphon --title "${DRONE_BRANCH}-nightly-android" --asset ./syphon.nightly.android.apk From ac3a193b102bab732c2fc27f6f5cd122fb10dc44 Mon Sep 17 00:00:00 2001 From: taylor Date: Fri, 24 Dec 2021 20:38:12 -0500 Subject: [PATCH 7/7] [chore] drone updates (#469) * chore: new testing pipeline to confirm drone env updates * chore: update to update * chore: add latest * removing a command? * fix: ok dont install v1 pls thx * chore: lets upgrade to 1.15 first * chore: attempt installing development * chore: reorg --- .drone.yml | 54 +++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 37 insertions(+), 17 deletions(-) diff --git a/.drone.yml b/.drone.yml index 189c3857e..ef78a8481 100644 --- a/.drone.yml +++ b/.drone.yml @@ -38,7 +38,7 @@ steps: - cp build/app/outputs/flutter-apk/app-release.apk ./syphon.nightly.android.apk - name: release android - image: golang:1.13 + image: golang:1.15 environment: GITEA_SERVER_TOKEN: from_secret: GITEA_API_TOKEN @@ -46,10 +46,8 @@ steps: # Modify the existing release and add the android apk - go get code.gitea.io/tea - go install code.gitea.io/tea - - tea --version - tea login add -u https://git.syphon.org -n syphon - tea release create --tag "${DRONE_BRANCH}-$(echo $DRONE_COMMIT_SHA | cut -c1-7)-android" --target ${DRONE_COMMIT_SHA} --repo syphon-org/syphon --title "${DRONE_BRANCH}-nightly-android" --asset ./syphon.nightly.android.apk - --- kind: pipeline type: docker @@ -92,13 +90,14 @@ steps: - cp build/app/outputs/flutter-apk/app-release.apk ./syphon.$(echo $DRONE_COMMIT_SHA | cut -c1-7).android.apk - name: release android - image: golang:1.17 + image: golang:1.15 environment: GITEA_SERVER_TOKEN: from_secret: GITEA_API_TOKEN commands: # Modify the existing release and add the android apk - - go install code.gitea.io/tea@latest + - go get code.gitea.io/tea + - go install code.gitea.io/tea - tea login add -u https://git.syphon.org -n syphon - tea release create --tag "${DRONE_BRANCH}-$(echo $DRONE_COMMIT_SHA | cut -c1-7)-android" --target ${DRONE_COMMIT_SHA} --repo syphon-org/syphon --title "${DRONE_BRANCH}-$(echo $DRONE_COMMIT_SHA | cut -c1-7)-android" --asset ./syphon.$(echo $DRONE_COMMIT_SHA | cut -c1-7).android.apk --- @@ -133,14 +132,14 @@ steps: - tar -cvzf syphon.nightly.linux.x64.tar.gz -C build/linux/x64/release/bundle . - name: release linux - image: golang:1.17 + image: golang:1.15 environment: GITEA_SERVER_TOKEN: from_secret: GITEA_API_TOKEN commands: - # Create a build timestamp for the release title - - echo $(date -Iseconds) > BUILD_START_TIME - - go install code.gitea.io/tea@latest + # Modify the existing release and add the android apk + - go get code.gitea.io/tea + - go install code.gitea.io/tea - tea login add -u https://git.syphon.org - tea release create --tag "${DRONE_BRANCH}-$(echo $DRONE_COMMIT_SHA | cut -c1-7)-linux" --target ${DRONE_COMMIT_SHA} --repo syphon-org/syphon --title "${DRONE_BRANCH}-nightly-linux" --asset ./syphon.nightly.linux.x64.tar.gz --- @@ -175,14 +174,14 @@ steps: - tar -cvzf syphon.nightly.linux.x64.tar.gz -C build/linux/x64/release/bundle . - name: release linux - image: golang:1.17 + image: golang:1.15 environment: GITEA_SERVER_TOKEN: from_secret: GITEA_API_TOKEN commands: - # Create a build timestamp for the release title - - echo $(date -Iseconds) > BUILD_START_TIME - - go install code.gitea.io/tea@latest + # Modify the existing release and add the android apk + - go get code.gitea.io/tea + - go install code.gitea.io/tea - tea login add -u https://git.syphon.org - tea release create --tag "${DRONE_BRANCH}-$(echo $DRONE_COMMIT_SHA | cut -c1-7)-linux" --target ${DRONE_COMMIT_SHA} --repo syphon-org/syphon --title "${DRONE_BRANCH}-nightly-linux" --asset ./syphon.nightly.linux.x64.tar.gz --- @@ -218,13 +217,34 @@ steps: - tar -cvzf syphon.$(echo $DRONE_COMMIT_SHA | cut -c1-7).linux.x64.tar.gz -C build/linux/x64/release/bundle . - name: release linux - image: golang:1.17 + image: golang:1.15 environment: GITEA_SERVER_TOKEN: from_secret: GITEA_API_TOKEN commands: - # Create a build timestamp for the release title - - echo $(date -Iseconds) > BUILD_START_TIME - - go install code.gitea.io/tea@latest + # Modify the existing release and add the android apk + - go get code.gitea.io/tea + - go install code.gitea.io/tea - tea login add -u https://git.syphon.org - tea release create --tag "${DRONE_BRANCH}-$(echo $DRONE_COMMIT_SHA | cut -c1-7)-linux" --target ${DRONE_COMMIT_SHA} --repo syphon-org/syphon --title "${DRONE_BRANCH}-$(echo $DRONE_COMMIT_SHA | cut -c1-7)-linux" --asset ./syphon.$(echo $DRONE_COMMIT_SHA | cut -c1-7).linux.x64.tar.gz +# --- +# TODO: Remove to test Tea updates +# kind: pipeline +# type: docker +# name: test release +# trigger: +# event: +# - push +# steps: +# - name: release test +# image: golang:1.17 +# environment: +# GITEA_SERVER_TOKEN: +# from_secret: GITEA_API_TOKEN +# commands: +# - go install code.gitea.io/tea@latest +# - tea --version +# - which tea +# - tea login add -u https://git.syphon.org +# - tea release create --tag "${DRONE_BRANCH}-$(echo $DRONE_COMMIT_SHA | cut -c1-7)-linux" --target ${DRONE_COMMIT_SHA} --repo syphon-org/syphon --title "${DRONE_BRANCH}-$(echo $DRONE_COMMIT_SHA | cut -c1-7)-linux" --asset ./syphon.testing.linux.x64.tar.gz +# ---