Skip to content

Add v2 to v3 upgrade tests#1222

Merged
john-david3 merged 18 commits into
dev-v2from
v2-v3-upgrade-tests
Aug 28, 2025
Merged

Add v2 to v3 upgrade tests#1222
john-david3 merged 18 commits into
dev-v2from
v2-v3-upgrade-tests

Conversation

@john-david3

@john-david3 john-david3 commented Aug 21, 2025

Copy link
Copy Markdown
Contributor

Proposed changes

  • Added upgrade tests from v2 to v3
  • Cleanup of grafana dashboard

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING document
  • I have run make install-tools and have attached any dependency changes to this pull request
  • If applicable, I have added tests that prove my fix is effective or that my feature works
  • If applicable, I have checked that any relevant tests pass after adding my changes
  • If applicable, I have updated any relevant documentation (README.md)
  • If applicable, I have tested my cross-platform changes on Ubuntu 22, Redhat 8, SUSE 15 and FreeBSD 13

@john-david3 john-david3 self-assigned this Aug 21, 2025
@john-david3 john-david3 requested a review from a team as a code owner August 21, 2025 10:23
@github-actions github-actions Bot added the chore Pull requests for routine tasks label Aug 21, 2025
@john-david3 john-david3 changed the title V2 v3 upgrade tests add v2 to v3 upgrade tests Aug 21, 2025
@john-david3 john-david3 changed the title add v2 to v3 upgrade tests Add v2 to v3 upgrade tests Aug 21, 2025
@john-david3 john-david3 added the v2.x Issues and Pull Requests related to the major version v2 label Aug 21, 2025
Comment thread test/integration/upgrade/upgrade_test.go Outdated
Comment thread test/integration/upgrade/upgrade_test.go
func verifyAgentPackageSize(ctx context.Context, t *testing.T, testContainer testcontainers.Container) {
var packageSizeCmd []string

if strings.Contains(osRelease, "ubuntu") || strings.Contains(osRelease, "debian") {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're checking OS multiple times. Could we add a reusable method to check OS ?

Comment thread test/docker/nginx-official-image/deb/Dockerfile Outdated
@john-david3 john-david3 merged commit fca0312 into dev-v2 Aug 28, 2025
98 of 101 checks passed
@john-david3 john-david3 deleted the v2-v3-upgrade-tests branch August 28, 2025 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Pull requests for routine tasks v2.x Issues and Pull Requests related to the major version v2

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants