From 79b294900f7888886690a1276c350222f7ac024f Mon Sep 17 00:00:00 2001 From: Adrian Cole Date: Sun, 18 Feb 2024 11:37:02 +0800 Subject: [PATCH] old Signed-off-by: Adrian Cole --- .github/workflows/docker-tests.yml | 60 ------------------------------ 1 file changed, 60 deletions(-) delete mode 100644 .github/workflows/docker-tests.yml diff --git a/.github/workflows/docker-tests.yml b/.github/workflows/docker-tests.yml deleted file mode 100644 index 8fd4e0b0..00000000 --- a/.github/workflows/docker-tests.yml +++ /dev/null @@ -1,60 +0,0 @@ -name: Continuous Build Docker -on: - push: - branches: - - master - pull_request: - -jobs: - build-zipkin-gcp: - name: Build Zipkin GCP - runs-on: ubuntu-latest - steps: - - name: Checkout Repository - uses: actions/checkout@v2 - with: - fetch-depth: 10 - # Remove apt repos that are known to break from time to time. - # See https://github.com/actions/virtual-environments/issues/323 - - name: Remove broken apt repos [Ubuntu] - run: | - for apt_file in `grep -lr microsoft /etc/apt/sources.list.d/`; do sudo rm $apt_file; done - # Setup latest JDK. We do this to ensure users don't need to use the same version as our - # release process. Release uses JDK 11, the last version that can target 1.6 bytecode. - - name: Setup java - uses: actions/setup-java@v1 - with: - java-version: 15 - - name: Cache Maven Modules - uses: actions/cache@v1 - with: - path: ~/.m2/repository - key: m2-repository-${{ hashFiles('**/pom.xml') }} - - name: Install Docker - uses: docker-practice/actions-setup-docker@master - with: - docker_version: 19.03 - # Avoid pulling image from Docker Hub as it would consume pull quota - docker_buildx: false - - name: Cache docker - uses: actions/cache@v1 - with: - path: ~/.docker - key: ${{ runner.os }}-docker-${{ hashFiles('**/Dockerfile') }} - restore-keys: ${{ runner.os }}-docker - - name: Execute Zipkin GCP Build - # Skips tests and license to run faster and allow shallow clones - run: ./mvnw -T1C -q --batch-mode -DskipTests -Dlicense.skip=true clean package - shell: bash - env: - CI: true - - name: Build Docker image openzipkin/zipkin-gcp:test - run: RELEASE_FROM_MAVEN_BUILD=true docker/build_image openzipkin/zipkin-gcp:test - - name: Verify Docker image openzipkin/zipkin-gcp:test - env: - GOOGLE_APPLICATION_CREDENTIALS_BASE64: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS_BASE64 }} - run: | - # This just makes sure containers run and the HEALTHCHECK works (for now..) - COMPOSE_FILE=./.github/workflows/docker/docker-compose.test.yml - docker-compose -f "${COMPOSE_FILE}" up -d --quiet-pull - docker/bin/block_on_health sut || (docker logs sut && exit 1)