Emil Tullstedt
c2d3a31772
Chore: Upgrade Go to 1.19.2 ( #56355 )
2022-10-07 12:47:24 +02:00
George Rodrigues
8950d86141
fix: some typos ( #56171 )
2022-10-04 18:43:49 -05:00
Dimitris Sotirakis
9b42cf009a
CI: Update build-container
image to v1.6.2
( #55083 )
...
* Update build container to v1.6.2
* Update Dockerfile
2022-09-13 15:43:02 +03:00
Emil Tullstedt
b287047052
Chore: Upgrade Go to 1.19.1 ( #54902 )
...
* WIP
* Set public_suffix to a pre Ruby 2.6 version
* we don't need to install python
* Stretch->Buster
* Bump versions in lib.star
* Manually update linter
Sort of messy, but the .mod-file need to contain all dependencies that
use 1.16+ features, otherwise they're assumed to be compiled with
-lang=go1.16 and cannot access generics et al.
Bingo doesn't seem to understand that, but it's possible to manually
update things to get Bingo happy.
* undo reformatting
* Various lint improvements
* More from the linter
* goimports -w ./pkg/
* Disable gocritic
* Add/modify linter exceptions
* lint + flatten nested list
Go 1.19 doesn't support nested lists, and there wasn't an obvious workaround.
https://go.dev/doc/comment#lists
2022-09-12 12:03:49 +02:00
Jo
062d255124
Handle ioutil deprecations ( #53526 )
...
* replace ioutil.ReadFile -> os.ReadFile
* replace ioutil.ReadAll -> io.ReadAll
* replace ioutil.TempFile -> os.CreateTemp
* replace ioutil.NopCloser -> io.NopCloser
* replace ioutil.WriteFile -> os.WriteFile
* replace ioutil.TempDir -> os.MkdirTemp
* replace ioutil.Discard -> io.Discard
2022-08-10 15:37:51 +02:00
Dimitris Sotirakis
f215a35caf
Docker: Install jq on build-container
image ( #52928 )
...
* Install jq on build-container image
* Bump build-container version
2022-07-28 08:21:48 -05:00
Emil Tullstedt
78f26a079c
Chore: Upgrade to Go version 1.17.12 ( #52523 )
2022-07-20 14:27:44 +02:00
Dimitris Sotirakis
47678cd087
CI; Update Dockerfile for grafana/grafana-ci-deploy
container ( #52516 )
...
* Use python 3.7 for gcloud
* Update comment for reference
* Update image version
* Update gcloud components
2022-07-20 06:34:09 -04:00
Dimitris Sotirakis
529289268b
Docker: Install git
in grafana/grafana-ci-deploy
image ( #52466 )
...
* Install git in grafana/grafana-ci-deploy image
* Bump grafana/grafana-ci-deploy version
2022-07-19 11:04:16 -04:00
Simon Deziel
a46daf2300
Drop unused debian packages ( #45173 )
...
* apt-transport-https is no longer needed (apt has builtin HTTPS support)
apt-transport-https is a virtual package since Ubuntu Bionic as apt
natively supports HTTPS repos since then, see:
https://packages.ubuntu.com/bionic/apt-transport-https
Signed-off-by: Simon Deziel <simon@sdeziel.info>
* Stop pulling software-properties-common (unused)
software-properties-common was used for the add-apt-repository
command that is no longer used since commit 26cf3d9c66
Signed-off-by: Simon Deziel <simon@sdeziel.info>
2022-06-29 09:41:08 -04:00
ying-jeanne
f81f33420e
Chore: Update build-container to version 1.5.7 ( #51188 )
2022-06-22 02:55:43 +02:00
Dimitris Sotirakis
7b750cc0f0
Update Golang - bump grabpl and build-container ( #50253 )
2022-06-06 15:38:39 +02:00
Emil Tullstedt
24038d9985
Chore: Update Go version ( #47914 )
...
* Remove makefile (it's not used anymore)
* Directly download and install nodejs package
The Packages file for deb.nodesource.com/node_16.x doesn't list older
versions, so only the most recent version of nodejs is available. We
don't want to require every update to the build container to have to
update nodejs if a never version is available, so I manually download
the deb and install it with dpkg.
* Update Go version
* Update lib.star
* Generate new .drone.yml
2022-04-20 09:14:12 +02:00
Jack Westbrook
a1ebcd520c
Build: Remove redundant build_npm_packages_step ( #47384 )
2022-04-06 14:26:59 +02:00
Jack Westbrook
9a6fd8572a
Build: Remove redundant NPM publishing code ( #46425 )
...
* chore(build): remove npm package:publishPrevious script and release-npm-packages.sh
* ci(drone): bump grabpl to v2.9.31
2022-04-06 10:48:00 +02:00
Todd Treece
3f58abe9bd
Chore: Update go version used in CI to 1.17.8 ( #46591 )
2022-03-16 07:25:54 -04:00
Dimitris Sotirakis
a29159f362
Update golang ( #46458 )
2022-03-11 16:09:17 +01:00
renovate[bot]
9fc6ee2535
Update Yarn to v3.2.0 ( #45714 )
...
* Update Yarn to v3.2.0
* Update sdks as well
* Update nodejs to latest
* Updates
* Update grabpl to 2.9.23
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2022-03-09 10:10:51 +01:00
ying-jeanne
b512a3d75f
bump go version to 1.17.7 ( #45772 )
2022-02-23 15:30:48 +02:00
idafurjes
4eacdf5f9e
Upgrade go version to 1.17.6 ( #43797 )
2022-01-07 14:09:19 +01:00
Dimitris Sotirakis
beba5958a4
Remove duplication ( #43694 )
2022-01-07 11:23:17 +02:00
Dimitris Sotirakis
59e153cde8
Remove Github Packages publish step ( #43453 )
2021-12-23 10:12:37 +02:00
malcolmholmes
9c0a2a19fd
Package release before publishing ( #42218 )
...
* Package separately to publish
* Fix interpolation
* Windows format envvars
* More descriptive msg
* Won't publish from here
* Resolve docker issues in PR build
* Rename package docker step
* Correct npm release JSON structure
2021-11-30 10:53:07 +00:00
idafurjes
d2c8b24d72
Upgrade go to version 1.17.2 in ci-build ( #42323 )
2021-11-25 18:03:42 +01:00
Leonard Gram
d624230b5d
Packaging: removes an unused dependency ( #42071 )
...
* Packaging: removes an unused dependency
libfontconfig1 was used by phantomjs but we aren't using phantomjs
anymore
* Packaging: removes further libfontconfig1 references
2021-11-24 10:45:29 +01:00
Dimitris Sotirakis
0462577f3d
Install netcat to build-container and update the version ( #41825 )
2021-11-19 09:17:29 +01:00
Dimitris Sotirakis
13df0901a8
Remove build-deploy.sh ( #41586 )
2021-11-11 09:23:12 +01:00
Ashley Harrison
ed030f9c21
Chore: Set min node version in package.json to 16 ( #41423 )
...
* Update package.json
* Update build-container version
* Sign drone
* Update developer-guide
* kick drone
Co-authored-by: dsotirakis <sotirakis.dim@gmail.com>
Co-authored-by: Dimitris Sotirakis <dimitrios.sotirakis@grafana.com>
Co-authored-by: kay delaney <kay@grafana.com>
2021-11-10 14:23:10 +00:00
Dimitris Sotirakis
d85b4dc7a8
CI: Update grafana/build-container
version ( #41191 )
...
* Update node and yarn versions
* Update drone yaml
2021-11-02 13:52:16 +00:00
Dimitris Sotirakis
5e813ea454
Add isl and expat libs as tarballs explicitly ( #41138 )
2021-11-01 15:12:16 +02:00
kay delaney
b2e94d0733
Chore: Migrate yarn from v1 to v2 ( #39082 )
...
* Chore: Migrate yarn from v1 to v2
Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
2021-10-08 15:19:10 +01:00
Torkel Ödegaard
bc01c9cdbc
Prettier: Fix all markdown files and add markdown files to CI verify step ( #39776 )
2021-09-29 14:34:40 +02:00
Dimitris Sotirakis
f860becc88
Chore: Move jwilder/dockerize
installation to build-container ( #39581 )
...
* Move dockerize to build-container
* Sync drone
* Fix command to not point in bin dir
* Update build container version
2021-09-23 23:41:34 +02:00
Dominik Prokop
5eb46281a4
Publishing packages: Add grafana/schema ( #39317 )
2021-09-17 10:14:28 +02:00
Dimitris Sotirakis
89716f2806
Remove ci-build-windows folder ( #38778 )
2021-09-01 10:44:08 +02:00
Dimitris Sotirakis
3fb5afb9e3
Update Dockerfile ( #38744 )
2021-08-31 12:53:17 +03:00
Dimitris Sotirakis
8e2ee0a1c8
Chore: Update to Golang 1.17 ( #38608 )
...
* Update to golang 1.17
* Further updates
* Run go mod tidy on go 1.17
* Apply suggestions from code review
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
* Use build-container:1.4.2
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2021-08-31 09:19:26 +03:00
Arve Knudsen
c2c1ec7d0f
Chore: Move from master to main branch ( #33693 )
...
* Chore: Move from master branch to main
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* CI: Upgrade build pipeline tool to v2
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-05-06 16:29:29 +02:00
Dimitris Sotirakis
d59574ec1e
Update scripts and Dockerfiles to use Go 1.16.1 ( #31881 )
...
* Update scripts and Dockerfiles to use Go 1.16.1
* Update build-container image version to 1.4.1
* Update node version to 14.16.0-1nodesource1
* Updated drone configuration
2021-03-11 12:55:04 +02:00
Dimitris Sotirakis
08f500ed06
Remove pkill gpg-agent ( #31169 )
2021-03-03 17:28:47 +02:00
Arve Knudsen
357cd8eb81
CI: Upgrade Dockerfiles wrt. Go, Node, Debian ( #31407 )
...
* CI: Upgrade Dockerfiles wrt. Go 1.16, Node, Debian
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-02-24 08:52:48 +01:00
Arve Knudsen
a20119db9f
Chore: Upgrade golangci-lint ( #31330 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-02-18 19:24:04 +01:00
Arve Knudsen
d963c6d868
Drone: Fix deployment image ( #31027 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-02-09 13:18:01 +01:00
Hugo Häggmark
410ab72bc4
Build: Releases e2e and e2e-selectors too ( #31006 )
2021-02-09 07:35:01 +01:00
Marcus Efraimsson
dadc8a2e2d
Chore: Upgrade docker build image ( #30820 )
...
* Chore: Upgrade docker build image
* use updated build image in drone
2021-02-05 11:47:04 +01:00
Arve Knudsen
fdd6a84d82
DeployImage: Switch base images to Debian ( #30684 )
...
* DeployImage: Switch base images to Debian
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-01-28 11:03:18 +01:00
Arve Knudsen
87633c563c
Chore: Upgrade Docker build image wrt. Go/golangci-lint/Node ( #30077 )
...
* ci-build: Upgrade base image, Go, Node, golangci-lint
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Drone: Upgrade build image
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Drone: Upgrade plugin build image
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-01-06 17:52:17 +01:00
Jack Westbrook
c2e81ab166
Build: Publish next and latest npm channels to Github ( #29615 )
...
* build(npm): publish next and latest packages to github registry
* ci(release): remove redundant commands from release-npm-packages step
* Update scripts/release.star
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
* Update scripts/release.star
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-12-04 16:34:03 +01:00
Torkel Ödegaard
00d59ec1fc
NodeJS: Update to LTS (14) ( #29467 )
...
* NodeJS: Update to LTS (14)
* Bump Volta's Node version
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Bump version of build image
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Drone: Upgrade build image
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-12-02 18:18:49 +01:00
Arve Knudsen
65ca47549d
Drone: Check CUE dashboard schemas ( #29334 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-11-25 08:11:08 +01:00