Commit Graph

161 Commits

Author SHA1 Message Date
Matheus Macabu 2fdda12414
[release-11.4.6] Dependencies: Bump Go to v1.24.4 (#106569)
Backend Unit Tests / Grafana (push) Waiting to run Details
Backend Unit Tests / Grafana Enterprise (push) Waiting to run Details
Lint Frontend / Verify i18n (push) Waiting to run Details
Lint Frontend / Lint (push) Waiting to run Details
Lint Frontend / Typecheck (push) Waiting to run Details
Lint Frontend / Betterer (push) Waiting to run Details
End-to-end tests / Build & Package Grafana (push) Waiting to run Details
End-to-end tests / ${{ matrix.suite }} (dashboards-suite) (push) Blocked by required conditions Details
End-to-end tests / ${{ matrix.suite }} (panels-suite) (push) Blocked by required conditions Details
End-to-end tests / ${{ matrix.suite }} (smoke-tests-suite) (push) Blocked by required conditions Details
End-to-end tests / ${{ matrix.suite }} (various-suite) (push) Blocked by required conditions Details
End-to-end tests / ${{ matrix.suite }} (old arch) (old-arch/dashboards-suite) (push) Blocked by required conditions Details
End-to-end tests / ${{ matrix.suite }} (old arch) (old-arch/panels-suite) (push) Blocked by required conditions Details
End-to-end tests / ${{ matrix.suite }} (old arch) (old-arch/smoke-tests-suite) (push) Blocked by required conditions Details
End-to-end tests / ${{ matrix.suite }} (old arch) (old-arch/various-suite) (push) Blocked by required conditions Details
Frontend tests / Unit tests (${{ matrix.chunk }} / 8) (1) (push) Waiting to run Details
Frontend tests / Unit tests (${{ matrix.chunk }} / 8) (2) (push) Waiting to run Details
Frontend tests / Unit tests (${{ matrix.chunk }} / 8) (3) (push) Waiting to run Details
Frontend tests / Unit tests (${{ matrix.chunk }} / 8) (4) (push) Waiting to run Details
Frontend tests / Unit tests (${{ matrix.chunk }} / 8) (5) (push) Waiting to run Details
Frontend tests / Unit tests (${{ matrix.chunk }} / 8) (6) (push) Waiting to run Details
Frontend tests / Unit tests (${{ matrix.chunk }} / 8) (7) (push) Waiting to run Details
Frontend tests / Unit tests (${{ matrix.chunk }} / 8) (8) (push) Waiting to run Details
Integration Tests / Sqlite (push) Waiting to run Details
Integration Tests / MySQL (push) Waiting to run Details
Integration Tests / Postgres (push) Waiting to run Details
Dispatch sync to mirror / dispatch-job (push) Waiting to run Details
CodeQL checks / Analyze (go) (push) Has been cancelled Details
CodeQL checks / Analyze (javascript) (push) Has been cancelled Details
CodeQL checks / Analyze (python) (push) Has been cancelled Details
Dependencies: Bump Go to v1.24.4
2025-06-11 18:05:45 +02:00
Matheus Macabu 8eefb0dd8f
[release-11.4.5] Chore: Bump Go version to 1.24.3 (#105110)
Lint Frontend / Verify i18n (push) Waiting to run Details
Lint Frontend / Lint (push) Waiting to run Details
Lint Frontend / Typecheck (push) Waiting to run Details
Lint Frontend / Betterer (push) Waiting to run Details
End-to-end tests / Build & Package Grafana (push) Waiting to run Details
End-to-end tests / ${{ matrix.suite }} (dashboards-suite) (push) Blocked by required conditions Details
End-to-end tests / ${{ matrix.suite }} (panels-suite) (push) Blocked by required conditions Details
End-to-end tests / ${{ matrix.suite }} (smoke-tests-suite) (push) Blocked by required conditions Details
End-to-end tests / ${{ matrix.suite }} (various-suite) (push) Blocked by required conditions Details
End-to-end tests / ${{ matrix.suite }} (old arch) (old-arch/dashboards-suite) (push) Blocked by required conditions Details
End-to-end tests / ${{ matrix.suite }} (old arch) (old-arch/panels-suite) (push) Blocked by required conditions Details
End-to-end tests / ${{ matrix.suite }} (old arch) (old-arch/smoke-tests-suite) (push) Blocked by required conditions Details
End-to-end tests / ${{ matrix.suite }} (old arch) (old-arch/various-suite) (push) Blocked by required conditions Details
Frontend tests / Unit tests (${{ matrix.chunk }} / 8) (1) (push) Waiting to run Details
Frontend tests / Unit tests (${{ matrix.chunk }} / 8) (2) (push) Waiting to run Details
Frontend tests / Unit tests (${{ matrix.chunk }} / 8) (3) (push) Waiting to run Details
Frontend tests / Unit tests (${{ matrix.chunk }} / 8) (4) (push) Waiting to run Details
Frontend tests / Unit tests (${{ matrix.chunk }} / 8) (5) (push) Waiting to run Details
Frontend tests / Unit tests (${{ matrix.chunk }} / 8) (6) (push) Waiting to run Details
Frontend tests / Unit tests (${{ matrix.chunk }} / 8) (7) (push) Waiting to run Details
Frontend tests / Unit tests (${{ matrix.chunk }} / 8) (8) (push) Waiting to run Details
Integration Tests / Sqlite (push) Waiting to run Details
Integration Tests / MySQL (push) Waiting to run Details
Integration Tests / Postgres (push) Waiting to run Details
Dispatch sync to mirror / dispatch-job (push) Waiting to run Details
Backend Unit Tests / Grafana (push) Has been cancelled Details
Backend Unit Tests / Grafana Enterprise (push) Has been cancelled Details
CodeQL checks / Analyze (go) (push) Has been cancelled Details
CodeQL checks / Analyze (javascript) (push) Has been cancelled Details
CodeQL checks / Analyze (python) (push) Has been cancelled Details
Chore: Bump Go version to 1.24.3
2025-05-08 16:08:27 +02:00
Mariell Hoversholm ef39d1ec35
[release-11.4.4] Go: Bump to 1.24.2 (#103527)
* Go: Bump to 1.24.2

It is not likely we are actually affected by the CVEs, but updating proactively is not a bad idea nonetheless.

Fixes: CVE-2025-22871
Fixes: https://github.com/grafana/grafana-operator-experience-squad/issues/1311

* CI: Update golangci-lint
2025-04-08 17:24:40 +02:00
Denis Vodopianov 6e612a368c
Chore: Revert [release-11.4.4] Replace bingo-managed tools with go tool directive. (#102691) (#102861)
Revert "[release-11.4.3] Chore: Replace bingo-managed tools with go tool directive. (#102691)"

This reverts commit 046295c54e.
2025-03-26 19:33:26 +01:00
Denis Vodopianov 046295c54e
[release-11.4.3] Chore: Replace bingo-managed tools with go tool directive. (#102691)
* Chore: Replace bingo-managed tools with go tool directive. (#101890)

(cherry picked from commit de6a48a233)

* running go mod tidy

* updating go to silence trivy

* downgrade cue to the version defined in branch

* remove cog cue and drone from go tools

* add cue back to makefile

* remove junk from go workspace

* remove junk from go workspace
2025-03-25 14:46:35 +01:00
Matheus Macabu d1354c6c6f
[release-11.4.3] Chore: Bump Go to 1.23.7 (#101582)
Chore: Bump Go to 1.23.7
2025-03-05 10:17:28 +01:00
Jev Forsberg a21a78e2e5
[release-11.4.3] Chore: Update base alpine docker image (#101327)
* Chore: Update base alpine docker image (#101320)

* baldm0mma/ update base image arg

* baldm0mma/ update alpine image

* baldm0mma/ skip failing test

* baldm0mma/ specifiy patch

* baldm0mma/ flaky test?

(cherry picked from commit a7ecb19c31)

* baldm0mma/ revert node update
2025-02-26 08:18:23 -07:00
Kevin Minehart 5c316a5113
[release-11.4.2] Docker: Missing libresolv.so.2 from glibc (#100745)
Docker: Missing libresolv.so.2 from glibc (#100729)

* Docker: Missing libresolv.so.2 from glibc

* Misplaced &&

(cherry picked from commit 3a8a24e662)
2025-02-14 17:22:01 +02:00
Dan Cech ced52a53ad
[v11.4.x] Docker: Use our own glibc 2.40 binaries (#99924)
Docker: Use our own glibc 2.40 binaries (#99903)

* use our own glibc 2.40 binaries

(cherry picked from commit 481f99b07f)
2025-01-31 15:20:49 -05:00
Mariell Hoversholm 86bb6dd4b1
Security: Update to Go 1.23.5 - Backport to v11.4.x (#99123)
* feat: update to Go 1.23.5

* chore: make drone

* fix: update in Makefile

* CI: Force re-build

* build: update mariadb connection

The new Alpine base that the Golang images are built on no longer trust the CA of MySQL.

This is a backport of: https://github.com/grafana/grafana/pull/98857

* chore: go mod tidy
2025-01-17 09:33:07 +01:00
Todd Treece d1ffcc22d9
Playlists: Migrate to App SDK codegen (#93246) 2024-09-13 16:27:40 -04:00
Dave Henderson e1090db5d9
Chore: Bump Go to 1.23.1 (#93007)
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
2024-09-06 20:58:50 +03:00
Todd Treece 2f01286034
Storage: Add go.mod for apistore (#92224) 2024-08-21 14:32:01 -04:00
Dave Henderson df3d8915ba
Chore: Bump Go to 1.23.0 (#92105)
* chore: Bump Go to 1.23.0

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>

* update swagger files

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>

* chore: update .bingo/README.md formatting to satisfy prettier

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>

* chore(lint): Fix new lint errors found by golangci-lint 1.60.1 and Go 1.23

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>

* keep golden file

* update openapi

* add name to expected output

* chore(lint): rearrange imports to a sensible order

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>

---------

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2024-08-21 11:40:42 -04:00
Mehrshad Lotfi 868f9320e9
CI: Fix missing vendor dependencies (#91872)
* Add missing dependency to Dockerfile

Add aggregator dependency to Dockerfile, fix the issue #91871.

* Add defaults.ini to Dockerfile, add bash for alpine
2024-08-15 09:02:15 -04:00
Charandas cf5e49dbb8
build: semconv recently got its own go.mod (#91560) 2024-08-06 16:39:21 -07:00
Simon Podlipsky b7d5587018
Dockerfile: Fix go deps (#89857)
Add missing deps
2024-06-27 17:53:43 -04:00
Andreas Zilly f894c22b21
Chore: Add missing build elements to Dockerfile (#89714)
Several go.* files that are referenced in go.work were missing in Dockerfile.
2024-06-26 15:22:37 -04:00
Dave Henderson 20c90ff60d
Chore: bump Go to 1.22.4 (#88794)
* chore: bump Go to 1.22.4

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>

* use go-version-file for ephemeral instances workflows too

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>

---------

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
2024-06-05 14:29:27 -04:00
Stephanie Hingtgen d365d442fa
Chore: Upgrade go to 1.22.3 (#87463) 2024-05-07 15:23:21 -05:00
Jack Westbrook 0f4db3f5ad
Fix: yarn build in DockerFile (#86858) 2024-04-30 07:58:25 +02:00
Kristin Laemmert f1aa6549f6
Chore: Upgrade go version to 1.22.2 (#86873)
* Chore: Upgrade go version to 1.22.2
* upgrade to latest swagger for go 1.22 compatibility
* regen openapi spec
* upgrade go in github workflows
2024-04-24 14:26:14 -04:00
Dave Henderson 5cfca8dbf6
chore: bump Go to 1.21.9 (#85964)
* chore: bump Go to 1.21.9

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>

* regen .drone.yml

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>

---------

Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
2024-04-11 15:37:07 -04:00
Simon Podlipsky 61e4cfac65
Docker: Fix missing go dependencies (#85441)
ci: fix missing go dependencies

```
 > [go-builder 11/25] RUN go mod download:
0.303 go: cannot load module pkg/build/wire listed in go.work file: open pkg/build/wire/go.mod: no such file or directory
------
Dockerfile:64
--------------------
  62 |     COPY pkg/promlib/go.* pkg/promlib/
  63 |
  64 | >>> RUN go mod download
  65 |     RUN if [[ "$BINGO" = "true" ]]; then \
  66 |           go install github.com/bwplotka/bingo@latest && \
  ```
2024-04-03 14:01:09 +01:00
Simon Podlipsky 708ee9f9ee
Docker: Do not run apk on non-alpine distros (#83361) 2024-04-03 13:21:27 +01:00
Mathieu Parent 4a50897f39
CI: Fix missing vendor dependencies (#84375)
Fixes: #84342
2024-03-19 12:41:27 +01:00
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