Updates to latest versions and off snapshot Elasticsearch (#235) #38
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: test_readme | |
# These test build commands mentioned in various README.md files. | |
# | |
# We don't test documentation-only commits. | |
on: # yamllint disable-line rule:truthy | |
push: # non-tagged pushes to master | |
branches: | |
- master | |
tags-ignore: | |
- '*' | |
paths-ignore: | |
- '**/*.md' | |
- './build-bin/*lint' | |
- ./build-bin/mlc_config.json | |
pull_request: # pull requests targeted at the master branch. | |
branches: | |
- master | |
paths-ignore: | |
- '**/*.md' | |
- './build-bin/*lint' | |
- ./build-bin/mlc_config.json | |
jobs: | |
zipkin-server: | |
runs-on: ubuntu-24.04 # newest available distribution, aka noble | |
# skip commits made by the release plugin | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- name: Setup java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' # zulu as it supports a wide version range | |
java-version: '17' # until Spark 4 per SPARK-43831 | |
- name: Cache local Maven repository | |
uses: actions/cache@v4 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-jdk-17-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: ${{ runner.os }}-jdk-17-maven- | |
# Don't attempt to cache Docker. Sensitive information can be stolen | |
# via forks, and login session ends up in ~/.docker. This is ok because | |
# we publish DOCKER_PARENT_IMAGE to ghcr.io, hence local to the runner. | |
- name: README.md # Tests the build which is re-used for docker | |
run: ./mvnw -T1C -q --batch-mode -DskipTests package | |
- name: docker/README.md | |
run: build-bin/docker/docker_build openzipkin/zipkin-dependencies:test | |
env: | |
RELEASE_FROM_MAVEN_BUILD: true |