Andreas Christou
0236053f70
Chore: Bump docker image versions ( #84033 )
...
Bump docker image versions
2024-03-07 13:04:37 +00:00
Dave Henderson
01fb2cff62
chore: bump Go to 1.21.8 ( #83927 )
...
* chore: bump Go to 1.21.8
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
* bump workflows too
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
---------
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
2024-03-05 15:24:34 -05:00
Saturn IDC
ac284def02
CI: Fix missing vendor dependencies ( #83464 )
2024-02-27 12:29:58 +00:00
Andreas Christou
7730a38474
CI: Remove inline-builds flag ( #83306 )
...
Remove inline-builds
2024-02-23 15:11:04 +02:00
Ben Donnelly
fa37d8467f
fix(build): make python and gcc are needed for some yarn dependencies… ( #83228 )
...
fix(build): make python and gcc are needed for some yarn dependencies to build
2024-02-23 11:14:54 +01:00
Andreas Christou
d503107d7a
Docker: Add workaround for building on arm64
( #83242 )
...
Add workaround for building on arm64
2024-02-22 18:59:06 +00:00
Timur Olzhabayev
4083d23f01
Chore: Bumping go to 1.21.6 ( #80709 )
...
* Bumping go to 1.25.6
* bumping sqlite to 1.14.19
* Bumping sqlite version
2024-01-23 14:32:26 +01:00
Timur Olzhabayev
7c74ab7059
Revert "bumping go to 1.25.6"
...
This reverts commit 73439f2cd3
.
2024-01-17 11:40:25 +01:00
Timur Olzhabayev
73439f2cd3
bumping go to 1.25.6
2024-01-17 11:38:25 +01:00
Horst Gutmann
01e430e821
chore: Bump Alpine base image to 3.18.5 ( #80540 )
2024-01-16 15:24:40 +01:00
Jack Westbrook
de01e1db18
Chore: Remove unused babel dependencies and references ( #76791 )
...
* build(babel): remove unused babel dependenices and references from project
* chore: put back ts-loader
* chore(yarn): refresh lock file
* revert: remove ts-loader
2024-01-16 14:26:43 +01:00
Timur Olzhabayev
4991e71b85
Chore: Upgrade Go to 1.21.5 ( #79329 )
...
* bumping grafanas go version to 1.21.5
* adding how to upgrade go doc
* removing the whole ci-build and corresponding pipelines
* clarifying that we have to run make drone
* fixing starlark linter and removing unused code
* Adding note about enterprise
* trying to change the underyling image to avoid musl issues
* only need to golang one
2023-12-15 10:36:49 +01:00
Xavi Lacasa
31dbf57aef
fix: Add vendored dependencies to Dockerfile ( #78285 )
...
Add vendored dependencies to Dockerfile
2023-11-17 17:38:46 +01:00
Ryan McKinley
5d5f8dfc52
Chore: Upgrade Go to 1.21.3 ( #77304 )
2023-11-01 09:17:38 -07:00
Jack Westbrook
69af9f9ad7
Chore: Update to node 20 ( #76097 )
...
* chore(node): update node version to 20
* chore(node): bump to 20.8.0, update drone variables
* chore(drone): update yaml config
* chore(yarn): bump yarn to latest to fix building binaries ERR_IMPORT_ASSERTION_TYPE_MISSING errors
* test(grafana-data): update whitespace in time formats for node 20 (18.13+)
* chore(node): move to LTS 20.8.1
* chore(node): bump to LTS 20.9.0
2023-10-26 09:34:50 +02:00
Andres Martinez Gotor
157ea31b03
Build testdata frontend standalone ( #75833 )
2023-10-16 17:31:43 +02:00
Horst Gutmann
6b52bb9c27
Chore: Upgrade Go to 1.20.10 ( #76359 )
2023-10-11 16:49:24 +03:00
Sam Jewell
bbadbeb2be
Build: removing .linguirc to the copied files in the Dockerfile ( #75703 )
...
Local Dockerfile fails with:
```
=> ERROR [js-builder 8/12] COPY tsconfig.json .eslintrc .editorconfig .browserslistrc .prettierrc.js babel.config.json .linguirc ./ 0.0s
=> [go-builder 3/20] WORKDIR /tmp/grafana 0.0s
=> [go-builder 4/20] COPY go.* ./ 0.3s
=> [go-builder 5/20] COPY .bingo .bingo 0.0s
=> CANCELED [go-builder 6/20] RUN go mod download 2.2s
------
> [js-builder 8/12] COPY tsconfig.json .eslintrc .editorconfig .browserslistrc .prettierrc.js babel.config.json .linguirc ./:
------
Dockerfile:24
--------------------
22 | RUN yarn install --immutable
23 |
24 | >>> COPY tsconfig.json .eslintrc .editorconfig .browserslistrc .prettierrc.js babel.config.json .linguirc ./
25 | COPY public public
26 | COPY scripts scripts
--------------------
ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref cc72e2cc-395a-46c9-b6ce-98fa942823cd::dy0j4lc6k08aluey90uugfvr4: "/.linguirc": not found
make: *** [build-docker-full] Error 1
```
That file has not existed on `main` since PR #75658 got merged.
2023-09-29 08:27:00 +00:00
Horst Gutmann
85abf2bebd
Chore: Upgrade Alpine base image to 3.18.3 ( #74984 )
2023-09-18 12:44:04 +03:00
Horst Gutmann
39dbd98458
Chore: Upgrade Go to 1.20.8 ( #74978 )
...
chore: Update to Go 1.20.8
2023-09-18 11:29:50 +03:00
Kevin Minehart
364ca3daa0
Docker: Add musl as a ubuntu dependency ( #74127 )
...
Add musl as a ubuntu dependency
2023-08-30 20:26:35 +03:00
Horst Gutmann
6277c04caf
Add LICENSE file to generated Docker images ( #74082 )
2023-08-30 13:26:50 +02:00
Emil Tullstedt
e07fbeef60
Chore: Upgrade Go to 1.20.6 ( #71440 )
2023-07-12 15:32:40 +02:00
Sofia Papagiannaki
9812ad2cb2
Chore: Upgrade Go to 1.20.4 ( #67748 )
...
Upgrade Go to 1.20.4
2023-05-04 10:52:43 +03:00
Ricky Whitaker
5765514397
rolling back sed command to add ubuntu mirrors ( #67780 )
2023-05-03 22:21:54 +03:00
Ricky Whitaker
00a6a14a23
adding backup ubuntu mirrors into Dockerfile ( #67341 )
2023-05-03 12:53:14 -05:00
Guilherme Caulada
614427c602
Build: Add optional build-args for COMMIT_SHA and BUILD_BRANCH ( #66672 )
...
* Remove .git from .dockerignore
* Revert "Remove .git from .dockerignore"
This reverts commit 5a4658f270
.
* Add optional COMMIT_SHA and BUILD_BRANCH environment variables
2023-04-18 10:03:27 -03:00
Emil Tullstedt
202afb9041
Chore: Upgrade Go to 1.20.3 ( #66264 )
2023-04-14 10:01:14 +02:00
Guilherme Caulada
ac09372abf
Docker: Allow to get commit sha when using root Dockerfile ( #65870 )
...
* Allow to get commit sha when using root Dockerfile
2023-04-03 15:24:14 -03:00
Ricky Whitaker
412fc4dcfb
Add Curl in Alpine to Support Docker Health Check ( #65547 )
...
adding curl into alpine build for this issue: https://github.com/grafana/grafana/issues/60805
2023-03-31 15:36:57 -05:00
Guilherme Caulada
ac03c0efed
Docker: Allow docker-build-full to work for BSD and GNU based systems ( #65216 )
...
* Replace tmp folder for tar stdin on build-docker-full
* Fix building linux/arm64 images using the Dockerfile
Introduces JS_PLATFORM variable with linux/amd64 as default to allow building node packages.
* Revert unintended white line changes on Dockerfile
2023-03-23 12:03:25 -03:00
Kevin Minehart
dfee4249e8
Packaging: Dockerfile copy local folder ( #64766 )
...
Dockerfile copy local folder
2023-03-14 14:44:11 -05:00
Guilherme Caulada
69aba3eed3
Dockerfile: Allow building docker images locally for different editions ( #63893 )
...
* Allow to build different editions from dockerfile
* Fix missing argument on dockerfile
2023-02-28 17:18:00 -03:00
Emil Tullstedt
110b05a0c0
Chore: Upgrade Go to 1.20.1 and Alpine to 3.17 ( #63639 )
2023-02-27 14:50:32 +01:00
Jack Westbrook
2281abaf37
Revert: Babel removal and runtime update ( #63641 )
...
* Revert "Update babel monorepo to v7.21.0 (#63532 )"
This reverts commit 3d974fc716
.
* Revert "Chore: Remove babel deps and config (#62461 )"
This reverts commit 21a988a659
.
2023-02-23 09:22:35 -05:00
Jack Westbrook
21a988a659
Chore: Remove babel deps and config ( #62461 )
...
* chore: remove unused frontend build deps babel and ts-loader
* chore(babel): delete redundant config file and remove ref in pr-commands
* chore: clean up references to babel.config.js
2023-02-23 11:59:05 +01:00
Emil Tullstedt
c72d18f5e6
Revert "Chore: Upgrade Go to 1.20.1 and Alpine to 3.17 ( #63506 )" ( #63567 )
...
This reverts commit 747ddf7b33
.
2023-02-22 08:14:26 -05:00
Emil Tullstedt
747ddf7b33
Chore: Upgrade Go to 1.20.1 and Alpine to 3.17 ( #63506 )
2023-02-22 11:53:06 +01:00
Sofia Papagiannaki
29d3e696f0
Swagger: Fix circular reference ( #62673 )
...
* Swagger: Fix circular reference
* gitignore intermediate swagger file
* Update specs
* Do not generate specs when building the backend
2023-02-02 13:18:04 +02:00
Ashley Harrison
64352e8d08
Chore: Move to node 18 again ( #62079 )
...
move to node 18 again
2023-01-26 10:19:39 +00:00
Dan Cech
0c8a2bbfd5
copy .github folder into golang build container since we rely on codeowners ( #62122 )
...
* copy .github folder into golang build container since we rely on codeowners
* remove .github for .dockerignore
2023-01-25 10:31:16 -05:00
Emil Tullstedt
67661c2535
Fix: Use an existing Dockerfile for the Go image ( #61158 )
2023-01-10 17:11:43 +01:00
Emil Tullstedt
bf574e98c8
Chore: Upgrade Go to 1.19.4 ( #60794 )
2022-12-29 13:03:56 +01:00
Dan Cech
7436872dab
Build: Unified dockerfile for all builds ( #59173 )
...
* unified dockerfile for all builds
* update builder
* include docker commands and output in logs
* quiet docker build
* quiet gsutil
2022-11-28 16:18:53 -05:00
Dan Cech
9fec54df2d
Build: Streamline and sync dockerfiles ( #58101 )
...
* streamline and sync dockerfiles
* improve go dependency cacheability
* unify alpine and ubuntu Dockerfiles
* include glibc support in locally-built alpine images
2022-11-28 14:43:42 -05:00
Dan Cech
de99ce139c
Server: Switch from separate server & cli to a unified grafana binary ( #58286 )
...
* avoid the need for a second bulky binary for grafana-cli
* look for grafana-server in $PATH as well as same directory
* implement unified "grafana" command
* update dockerfiles, fix grafana-cli -v
* update packaging to work with single binary
- add wrapper scripts for grafana and grafana-server
- update and sync package files
- implement --sign flag of build package command
- stop packaging scripts folder, they are not useful for end users
- add support for --configOverrides in server command
- remove unused nfpm.yaml config file
* windows support
2022-11-22 11:53:43 -05:00
Ashley Harrison
ff1afbb699
Revert "Chore: move to node 18 ( #58570 )" ( #58754 )
...
This reverts commit 0a9129cf90
.
2022-11-15 13:47:14 +00:00
Ashley Harrison
0a9129cf90
Chore: move to node 18 ( #58570 )
...
* bump node version to 18
* update folder to 18.x
* update README for m1 instructions
* update drone
* update unit test
* update README
2022-11-11 11:34:00 +00:00
Emil Tullstedt
428dd54094
Chore: Upgrade Go to 1.19.3 ( #58052 )
2022-11-04 14:50:43 +01:00
Dan Cech
6a4a10fa92
remove unneeded package updates ( #58005 )
2022-11-02 09:30:20 -04:00