Skip to content

Commit

Permalink
Use ubuntu 22.04 instead of 22.10 (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
guicaulada committed Sep 12, 2023
1 parent dc0c53f commit 5e36725
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions pipelines/package_validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,12 +228,12 @@ func validateTarball(ctx context.Context, d *dagger.Client, pkg *dagger.File, sr
archive = containers.ExtractedArchive(d, pkg, packageName)
)

log.Printf("Validating standalone tarball for v%s%s using ubuntu:22.10 and platform %s\n", taropts.Version, taropts.Suffix, taropts.Distro)
log.Printf("Validating standalone tarball for v%s%s using ubuntu:22.04 and platform %s\n", taropts.Version, taropts.Suffix, taropts.Distro)

// This grafana service runs in the background for the e2e tests
service := d.Container(dagger.ContainerOpts{
Platform: platform,
}).From("ubuntu:22.10").
}).From("ubuntu:22.04").
WithExec([]string{"apt-get", "update", "-yq"}).
WithExec([]string{"apt-get", "install", "-yq", "ca-certificates", "libfontconfig1"}).
WithDirectory("/src", archive).
Expand Down
2 changes: 1 addition & 1 deletion scripts/drone_build_nightly_grafana.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ dagger run --silent go run ./cmd docker \
$(cat assets.txt | grep tar.gz | grep -v docker | grep -v sha256 | grep -v windows | grep -v darwin | grep -v arm-6 | awk '{print "--package=" $0}') \
--checksum \
--repo="grafana-dev" \
--ubuntu-base="ubuntu:22.10" \
--ubuntu-base="ubuntu:22.04" \
--alpine-base="alpine:3.18.0" \
--destination=${local_dst} \
--gcp-service-account-key-base64=${GCP_KEY_BASE64} >> assets.txt
Expand Down
2 changes: 1 addition & 1 deletion scripts/drone_build_v_branch_grafana.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ dagger run --silent go run ./cmd windows-installer \
dagger run --silent go run ./cmd docker \
$(cat assets.txt | grep tar.gz | grep -v docker | grep -v sha256 | grep -v windows | grep -v darwin | grep -v arm-6 | awk '{print "--package=" $0}') \
--checksum \
--ubuntu-base="ubuntu:22.10" \
--ubuntu-base="ubuntu:22.04" \
--alpine-base="alpine:3.18.0" \
--destination=${local_dst} \
--gcp-service-account-key-base64=${GCP_KEY_BASE64} > docker.txt
Expand Down
2 changes: 1 addition & 1 deletion scripts/drone_publish_tag_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ dagger run --silent go run ./cmd windows-installer \
dagger run --silent go run ./cmd docker \
$(cat assets.txt | grep tar.gz | grep -v docker | grep -v sha256 | grep -v windows | grep -v darwin | grep -v arm-6 | awk '{print "--package=" $0}') \
--checksum \
--ubuntu-base="ubuntu:22.10" \
--ubuntu-base="ubuntu:22.04" \
--alpine-base="alpine:3.18.0" \
--destination=${local_dst} \
--gcp-service-account-key-base64=${GCP_KEY_BASE64} > docker.txt &
Expand Down
2 changes: 1 addition & 1 deletion scripts/drone_publish_tag_enterprise.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ dagger run --silent go run ./cmd windows-installer \
dagger run --silent go run ./cmd docker \
$(cat assets.txt | grep tar.gz | grep -v docker | grep -v sha256 | grep -v windows | grep -v darwin | grep -v arm-6 | awk '{print "--package=" $0}') \
--checksum \
--ubuntu-base="ubuntu:22.10" \
--ubuntu-base="ubuntu:22.04" \
--alpine-base="alpine:3.18.0" \
--destination=${local_dst} \
--gcp-service-account-key-base64=${GCP_KEY_BASE64} > docker.txt
Expand Down
2 changes: 1 addition & 1 deletion scripts/drone_publish_tag_grafana.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ dagger run --silent go run ./cmd windows-installer \
dagger run --silent go run ./cmd docker \
$(cat assets.txt | grep tar.gz | grep -v docker | grep -v sha256 | grep -v windows | grep -v darwin | grep -v arm-6 | awk '{print "--package=" $0}') \
--checksum \
--ubuntu-base="ubuntu:22.10" \
--ubuntu-base="ubuntu:22.04" \
--alpine-base="alpine:3.18.0" \
--destination=${local_dst} \
--gcp-service-account-key-base64=${GCP_KEY_BASE64} > docker.txt
Expand Down
2 changes: 1 addition & 1 deletion scripts/drone_publish_tag_pro.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ dagger run --silent go run ./cmd deb \
dagger run --silent go run ./cmd docker \
$(cat assets.txt | grep tar.gz | grep -v docker | grep -v sha256 | grep -v windows | grep -v darwin | grep -v arm-6 | awk '{print "--package=" $0}') \
--checksum \
--ubuntu-base="ubuntu:22.10" \
--ubuntu-base="ubuntu:22.04" \
--alpine-base="alpine:3.18.0" \
--destination=${local_dst} \
--gcp-service-account-key-base64=${GCP_KEY_BASE64} > docker.txt &
Expand Down

0 comments on commit 5e36725

Please sign in to comment.