Commit Graph

25 Commits

Author SHA1 Message Date
Anton Troshin 17f4785906
Update dependencies, Go version and address CVEs (#1474)
* Update dependencies, Go version and address CVEs

Signed-off-by: Anton Troshin <anton@diagrid.io>

* update golangci-lint version and list of disabled linters form dapr/dapr

Signed-off-by: Anton Troshin <anton@diagrid.io>

* adjust golangci-lint settings and fix lint issues

Signed-off-by: Anton Troshin <anton@diagrid.io>

* fix test

Signed-off-by: Anton Troshin <anton@diagrid.io>

---------

Signed-off-by: Anton Troshin <anton@diagrid.io>
2025-01-09 14:16:44 -08:00
Anton Troshin 25d9ece42f
Add version parsing check skip malformed versions and avoid panic (#1469)
* Add version parsing check skip malformed versions and avoid panic

Signed-off-by: Anton Troshin <anton@diagrid.io>

* lint

Signed-off-by: Anton Troshin <anton@diagrid.io>

* do not return error on nil, skip bad versions

Signed-off-by: Anton Troshin <anton@diagrid.io>

* simplify condition to skip prerelease and versions with metadata
print warning on error and non-semver version tag

Signed-off-by: Anton Troshin <anton@diagrid.io>

---------

Signed-off-by: Anton Troshin <anton@diagrid.io>
2024-11-22 13:59:51 -08:00
Pravin Pushkar a59826c0a2
Pinning runtime to 1.11.0-rc.4 (#1284)
* Pinning runtime to 1.11.0-rc.1

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* dashboard release fix

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Fix few more E2E tests failures

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* dashboard version fix on init

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* Handle upgrade with dashboard.

Signed-off-by: Artur Souza <asouza.pro@gmail.com>

* fixing modtidy

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* export IsDashboardIncluded to be used in E2E

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>

* update to use rc.4 version of runtime

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

---------

Signed-off-by: Pravin Pushkar <ppushkar@microsoft.com>
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
Co-authored-by: Artur Souza <asouza.pro@gmail.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-05-25 15:23:28 +05:30
Artur Souza 81fd09b7d1
Installs,uninstalls,upgrade dapr-dashboard separately when applicable. (#1272)
Signed-off-by: Artur Souza <asouza.pro@gmail.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2023-04-24 14:05:44 +05:30
Mukundan Sundararajan 65855d5aa0
Upgrade linter to 1.49.0 (#1051)
* Upgrade linter to 1.49.0

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

* fix linter error

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>

Signed-off-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
2022-08-25 16:58:54 +05:30
qiangmzsx f8b48c2a8a
Removing the use of the ioutil package (#1037)
Signed-off-by: qiangmzsx <qiangmzsx@gmail.com>
2022-08-07 17:30:20 +05:30
yellow chicks 68f8325360
feature/helmchart: supported private helm chart repo to install dapr cluster (#895)
* feature/helmchart: supported private helm chart repo to install dapr cluster

Signed-off-by: 1046102779 <seachen@tencent.com>

* feature/helmchart: supported private helm chart repo to install dapr cluster

Signed-off-by: 1046102779 <seachen@tencent.com>

* feature/helmchart: supported private helm chart repo to install dapr cluster

Signed-off-by: 1046102779 <seachen@tencent.com>

* feature/helmchart: supported private helm chart repo to install dapr cluster

Signed-off-by: 1046102779 <seachen@tencent.com>

* feature/helmchart: supported private helm chart repo to install dapr cluster

Signed-off-by: 1046102779 <seachen@tencent.com>

* feature: add a private helm repo for dapr

Signed-off-by: 1046102779 <seachen@tencent.com>

Co-authored-by: Yaron Schneider <schneider.yaron@live.com>
Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
Co-authored-by: Pravin Pushkar <ppushkar@microsoft.com>
2022-08-02 15:23:29 +05:30
Mukundan Sundararajan 1ed9ba705a
fix get latest version (#852)
Signed-off-by: Mukundan Sundararajan <msundar.ms@outlook.com>
2022-03-22 08:24:46 +05:30
Dmitry Shmulevich 0f9d0d3a89
replaced license headers (#855)
Signed-off-by: Dmitry Shmulevich <dmitry.shmulevich@gmail.com>
2021-12-10 08:09:09 +05:30
Long Dai 4ccf10f9e4
ci: standard linter config (#793)
Signed-off-by: Long <long0dai@foxmail.com>
Signed-off-by: Long <long.dai@intel.com>
2021-11-01 19:01:51 +05:30
Phil Kedy 6f2063bd4f Fixing removal of "v" from release version 2021-07-14 13:38:42 -04:00
Charlie Stanley 3af1ca24a7 Fall back to reading the helm chart when the github API isn't available 2021-07-02 18:11:48 -07:00
Charlie Stanley 103febfcdf
Fix a linter issue that only appeared after a merge to master. (#702) 2021-04-27 16:17:19 -07:00
Phil Kedy cccc82c216 Authenticating to the Github API using the GITHUB_TOKEN environment variable, if set. 2021-04-27 17:01:36 -04:00
Yaron Schneider 3ee9e53338
add renewed headers (#588) 2021-02-10 08:37:08 -08:00
Mukundan Sundararajan 24ca35d78b
Upgrade to linter v1.31.0 (#447)
* Upgrade to linter v1.30.0

* Remove --fix from lint

* Fix linter issues

* use golang-ci lint action

* Fix linter version

* add linter patch version

* remove linter patch version
2020-10-07 17:24:12 -07:00
Will Smith 5c3eb03030
Adding self-hosted integration to Dashboard command (#427)
* added function to install dashboard binaries

* added to waitgroup

* updated installBinary method to support non-dapr repositories

* adding dashboard binaries

* binary install working for daprd and dashboard on linux

* added dashboard command for standalone

* updated dashboard documentation

* changed linux home directory to be outside of root

* fixing version issue

* moved location of extracted web folder

* fixing path issues on linux

* changed dashboard to take latest version

* updated documentation for dashboard standalone

* fixed issue where binary name was unknown in non-default path dapr install

* added user error message for dashboard not found error

* fixing linting issues

* adding dashboard compatibility changes

* mark dashboard flag as required

* syncing compatibility branch and master

* fixing uninstall error

* removing unnecessary check

* removing unused constants

* changed standalone untar method openfile mode

* added missing error message

* removed windows binary check in untar method

* updating unzip method to support multiple files in archive

* adding sanitizeExtractPath method and limiting archive copy bytes

* changed max file size to 100MB

* removing max file size limit

* removing debug statement

* Adding dashboard command to allow for standalone dashboard launch

* removed -rc tag downloads for dashboard

* removing extra alias

* adding function moveDashboardFiles to simplify installBinary function

* moving dashboard command logic to standalone/dashboard.go

* removing error channel from moveDashboardFiles

* removing error channel from moveDashboardFiles

Co-authored-by: Shalabh Mohan Shrivastava <shalabhs@microsoft.com>
2020-08-06 14:11:55 -07:00
Aman Bhardwaj 2a4123efaf
Change init and uninstall behavior for self hosted mode (#413)
* remove install-path option for dapr init copy bianries under $HOME/.dapr/bin
2020-07-22 14:47:57 -07:00
Mukundan Sundararajan 51e208c826
Upgrade to linter version 1.26.0 (#381) 2020-06-13 13:03:45 -07:00
pruthvidhodda 157a87f1cd
Update the URL to pull dapr-operator.yaml (#293)
* Update the URL to pull dapr-operator.yaml

* Get manifest from latest release

* Add nosec to avoid variable URL linter error

* Move GetLatestRelease() to pkg/version

* Move two consts to pkg/version

* Change package alias
2020-03-18 12:47:09 -07:00
José Miguel Parrella e982e83de7 Cosmetic endline fix for --version (#254)
This minor, cosmetic fix ensures the output of `--version` ends with a newline even when there's no runtime installed. Perhaps there is a better way, like ending L26 with a newline and chomping the output of `daprd --version`.
2020-02-08 09:30:58 -08:00
shaggygi 7f5fdf176c Cleaned up a few comments and strings 2019-11-30 19:05:33 -05:00
Aman Bhardwaj 6debcf2610 Adding license header and updating to MIT license. 2019-10-08 16:36:31 -07:00
Yaron Schneider 36973dca2f
name change (#109) 2019-10-02 16:40:04 -07:00
Yaron Schneider eefc2b163c
add runtime versioning - set and get (#67) 2019-09-10 18:04:34 -07:00