From aac02f64906db8eaea302ff87662f36d47063f83 Mon Sep 17 00:00:00 2001 From: Umberto Baldi Date: Thu, 1 Dec 2022 10:23:50 +0100 Subject: [PATCH] remove useless files --- .drone.sec | 1 - .drone.sec.example | 7 ------ .drone.yml | 61 ---------------------------------------------- 3 files changed, 69 deletions(-) delete mode 100644 .drone.sec delete mode 100644 .drone.sec.example delete mode 100644 .drone.yml diff --git a/.drone.sec b/.drone.sec deleted file mode 100644 index a83bfc1e0..000000000 --- a/.drone.sec +++ /dev/null @@ -1 +0,0 @@ -eyJhbGciOiJSU0EtT0FFUCIsImVuYyI6IkExMjhHQ00ifQ.pr9ZMRbPGFZ6rTQOAmHQJN4RRE8Hmnl6Sn6ek2DogiLA6qIZCCei6RHLppto2tpM1ApM5pLpW64TjGf_mCLIesk_GtnUF6baxrHodcI8EB3VV3CsXU3EJF3_FOk3uSJUOi7hbtn54ztMBL2QKeccUiO-KBC2BHiD8VVpjnY5C-TLYV-1Td2fUZc3QB4eoqeTlvglu0nSvHHGCL89RQU0ZEW_-h_tXXaDrvXS648g-U2B9uwnVgBgBPhQqOzP02cW2-ojgkAC7xNpO_BOWoYouT56kkeM5MEx1XyJ-tAdP0AU8mG3x6mRBbng2nwTiXt9RqIJ01RKysMdgth17SZQ8A.apeQnLTu98uqD1Xl.se-xrnl2-B63chHdq719TO98hjxVIN6qTkCnTv5y__LM7ku-FBmlUnZLKy6jDZfO3Fz0jUNwSxuU2LGJWuJ5-PEQkqhsjJuDNBbrAKbt9oqFpXUKXOyu5yw8f64GHgG0bmlrZS6X04P4JAx6t9pXE0rKV5yktoYLLcTgoHnWm3C8eX7H1ayewDJ_CD2ricdZ5J-YAe4sz1AR2mRPRiyx-LTheTc2sALqZv39_ctOI9weNIGy013Jc_6MchmERmT2c4QKlIhy2ra9CPZsOgyn6d008qse14Q32IP97VJ3KLCq69P7u3y28KGz6btjfurLFP1EuipKhWxpIsE4YWQcf_l-eXxpd-l2SUPFMMNBI6aXItKpPofgjMAPeJzlIkhkXCtfRRWIgDaHlS_eAk0nWaXSQyUljUnR7qaVyCqh.FAYZK3PkD_9u3cXwsD8WSw diff --git a/.drone.sec.example b/.drone.sec.example deleted file mode 100644 index 4e12cc654..000000000 --- a/.drone.sec.example +++ /dev/null @@ -1,7 +0,0 @@ -environment: - DOCKER_USERNAME: "" - DOCKER_PASSWORD: "" - DOCKER_EMAIL: "" - SLACK_WEBHOOK: "" - SLACK_CHANNEL: "" - GITHUB_API_KEY: "" diff --git a/.drone.yml b/.drone.yml deleted file mode 100644 index ff3ac6a3d..000000000 --- a/.drone.yml +++ /dev/null @@ -1,61 +0,0 @@ -build: - crosscompilation: - image: arduino/golang-cross - auth_config: - username: $$DOCKER_USERNAME - password: $$DOCKER_PASSWORD - email: $$DOCKER_EMAIL - commands: - - go get github.com/kardianos/govendor - - govendor vet +local - - govendor test +local - # Linux amd64 - - GOOS=linux GOARCH=amd64 CC=gcc CXX=gcc CGO_ENABLED=1 go build -o artifacts/linux-amd64/arduino-create-agent - - cp config.ini artifacts/linux-amd64 - # Darwin amd64 - - GOOS=darwin GOARCH=amd64 CC=o64-clang CXX=o64-clang CGO_ENABLED=1 go build -o artifacts/osx/arduino-create-agent - - cp config.ini artifacts/osx - # Windows 386 - - GOOS=windows GOARCH=386 CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-gcc CGO_ENABLED=1 go build -o artifacts/windows/arduino-create-agent.exe -ldflags -H=windowsgui - - cp config.ini artifacts/windows - - zip -r arduino-create-agent.zip artifacts/* - linux32: - image: arduino/golang-linux-32 - commands: - - GOOS=linux GOARCH=386 CC=gcc CXX=gcc CGO_ENABLED=1 go build -o artifacts/linux-386/arduino-create-agent - - cp config.ini artifacts/linux-386 -notify: - slack: - webhook_url: $$SLACK_WEBHOOK - channel: $$SLACK_CHANNEL - username: drone - when: - event: pull_request - template: | - {{#success build.status}} - [{{ repo.name}}] Congrats {{ build.author }}! Your PR works: {{ build.link_url}} - {{else}} - [{{ repo.name}}] Damn {{ build.author }}! Something went wrong with your PR: {{ build.link_url}} - {{/success}} -publish: - github_release: - api_key: $$GITHUB_API_KEY - files: - - arduino-create-agent.zip - checksum: - - md5 - when: - event: tag -notify: - slack: - webhook_url: $$SLACK_WEBHOOK - channel: $$SLACK_CHANNEL - username: drone - when: - event: tag - template: | - {{#success build.status}} - [{{ repo.name}}/{{ build.branch }}] A new release is available: {{ build.link_url}} - {{else}} - [{{ repo.name}}/{{ build.branch }}] Something went wrong while building a new release: {{ build.link_url}} - {{/success}}