Skip to content

Commit

Permalink
Merge pull request #246 from DataDog/nogorodnikov/migrate-to-gbi-images
Browse files Browse the repository at this point in the history
Migrate to GBI images
  • Loading branch information
0xnm authored Apr 12, 2024
2 parents a1b793b + 76b28a0 commit 258de0c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ include:
# SETUP

variables:
CURRENT_CI_IMAGE: "5"
CURRENT_CI_IMAGE: "6"
CI_IMAGE_DOCKER: 486234852809.dkr.ecr.us-east-1.amazonaws.com/ci/dd-sdk-android-gradle-plugin:$CURRENT_CI_IMAGE
GIT_DEPTH: 5

Expand All @@ -30,7 +30,7 @@ ci-image:
when: manual
except: [ tags, schedules ]
tags: [ "runner:docker" ]
image: 486234852809.dkr.ecr.us-east-1.amazonaws.com/docker:20.10.13
image: 486234852809.dkr.ecr.us-east-1.amazonaws.com/docker:24.0.4-gbi-focal
script:
- docker build --tag $CI_IMAGE_DOCKER -f Dockerfile.gitlab .
- docker push $CI_IMAGE_DOCKER
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.gitlab
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.ddbuild.io/images/mirror/ubuntu:20.04
FROM registry.ddbuild.io/images/docker:24.0.4-gbi-focal

ENV DEBIAN_FRONTEND=noninteractive

Expand Down Expand Up @@ -70,7 +70,7 @@ RUN \
echo y | android-sdk-linux/cmdline-tools/latest/bin/sdkmanager "build-tools;${ANDROID_BUILD_TOOLS}" >/dev/null && \
echo y | android-sdk-linux/cmdline-tools/latest/bin/sdkmanager --install "ndk;${NDK_VERSION}" >/dev/null && \
echo y | android-sdk-linux/cmdline-tools/latest/bin/sdkmanager --install "cmake;${CMAKE_VERSION}" >/dev/null && \
yes | android-sdk-linux/cmdline-tools/latest/bin/sdkmanager --licenses
(yes || true) | android-sdk-linux/cmdline-tools/latest/bin/sdkmanager --licenses

RUN set -x \
&& curl -OL https://s3.amazonaws.com/dd-package-public/dd-package.deb && dpkg -i dd-package.deb && rm dd-package.deb \
Expand Down

0 comments on commit 258de0c

Please sign in to comment.