Skip to content

Commit

Permalink
Merge branch 'master' into fix_flaky
Browse files Browse the repository at this point in the history
  • Loading branch information
minwoox committed Oct 16, 2020
2 parents 6973b6f + 48dcb9e commit b724f5f
Show file tree
Hide file tree
Showing 10 changed files with 67 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
fetch-depth: 1
- id: set-matrix
name: Generate outputs.matrix from pom.xml listing
run: echo "::set-output name=matrix::{\"include\":$(.github/workflows/targets-as-json)}"
run: echo "::set-output name=matrix::{\"include\":$(.github/workflows/docker/targets-as-json)}"
build-and-verify-docker:
name: Build and verify Docker images
needs: discover-targets
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
- name: Verify Docker image openzipkin/${{ matrix.target }}:test
run: |
# This just makes sure containers run and the HEALTHCHECK works (for now..)
COMPOSE_FILE=./.github/workflows/docker-compose-${{ matrix.target }}.yml
COMPOSE_FILE=./.github/workflows/docker/docker-compose-${{ matrix.target }}.yml
if test -f "${COMPOSE_FILE}"; then
docker-compose -f "${COMPOSE_FILE}" up -d --quiet-pull
else
Expand Down
File renamed without changes.
14 changes: 14 additions & 0 deletions docker/bin/block-on-health
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
#!/bin/sh
#
# Copyright 2015-2020 The OpenZipkin Authors
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
# in compliance with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software distributed under the License
# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
# or implied. See the License for the specific language governing permissions and limitations under
# the License.
#


set -ue

Expand Down
2 changes: 1 addition & 1 deletion docker/bin/install.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright 2016-2020 The OpenZipkin Authors
# Copyright 2015-2020 The OpenZipkin Authors
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
# in compliance with the License. You may obtain a copy of the License at
Expand Down
14 changes: 14 additions & 0 deletions docker/bin/targets-to-build
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
#!/bin/sh
#
# Copyright 2015-2020 The OpenZipkin Authors
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
# in compliance with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software distributed under the License
# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
# or implied. See the License for the specific language governing permissions and limitations under
# the License.
#


set -ue

Expand Down
14 changes: 14 additions & 0 deletions docker/build_image
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
#!/bin/sh
#
# Copyright 2015-2020 The OpenZipkin Authors
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
# in compliance with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software distributed under the License
# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
# or implied. See the License for the specific language governing permissions and limitations under
# the License.
#

# This script is only a convenience as the build environment is controlled in
# the Dockerfile. That said, it uses only basic shell commands to help it work
# on developer laptops as well as CI nodes. Mainly, this centralizes the base
Expand Down
14 changes: 14 additions & 0 deletions docker/examples/docker-compose-example.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
#
# Copyright 2015-2020 The OpenZipkin Authors
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
# in compliance with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software distributed under the License
# is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
# or implied. See the License for the specific language governing permissions and limitations under
# the License.
#

# Format version 2.1 was introduced with Docker Compose v1.9
# We need Docker Compose v1.9+ for unset variable interpolation
version: "2.1"
Expand Down
2 changes: 1 addition & 1 deletion docker/lens/docker-bin/start-nginx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright 2015-2019 The OpenZipkin Authors
# Copyright 2015-2020 The OpenZipkin Authors
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
# in compliance with the License. You may obtain a copy of the License at
Expand Down
10 changes: 7 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -651,14 +651,18 @@
<bnd>SCRIPT_STYLE</bnd>
<ejs>XML_STYLE</ejs>
<css>SLASHSTAR_STYLE</css>
<Dockerfile.release>SCRIPT_STYLE</Dockerfile.release>
<post_push>SCRIPT_STYLE</post_push>
<build>SCRIPT_STYLE</build>
<install>SCRIPT_STYLE</install>
<push>SCRIPT_STYLE</push>
<docker-healthcheck>SCRIPT_STYLE</docker-healthcheck>
<block-on-health>SCRIPT_STYLE</block-on-health>
<targets-to-build>SCRIPT_STYLE</targets-to-build>
<build_image>SCRIPT_STYLE</build_image>
<start-cassandra>SCRIPT_STYLE</start-cassandra>
<start-elasticsearch>SCRIPT_STYLE</start-elasticsearch>
<start-kafka-zookeeper>SCRIPT_STYLE</start-kafka-zookeeper>
<start-mysql>SCRIPT_STYLE</start-mysql>
<start-nginx>SCRIPT_STYLE</start-nginx>
<start-zipkin>SCRIPT_STYLE</start-zipkin>
</mapping>
<excludes>
<exclude>**/simplelogger.properties</exclude>
Expand Down

0 comments on commit b724f5f

Please sign in to comment.