-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into remove-es-max-num-spans
- Loading branch information
Showing
9 changed files
with
174 additions
and
27 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Build binaries | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
build-binaries: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
|
||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: ^1.15 | ||
|
||
- name: Export BRANCH variable | ||
uses: ./.github/actions/setup-branch | ||
|
||
- name: Install tools | ||
run: make install-ci | ||
|
||
- name: Build binaries | ||
run: make build-all-platforms |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: Build docker images | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
docker-images: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
|
||
- name: Fetch git tags | ||
run: | | ||
git fetch --prune --unshallow --tags | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: ^1.15 | ||
|
||
- uses: actions/setup-node@v2-beta | ||
with: | ||
node-version: '10' | ||
|
||
- uses: docker/login-action@v1 | ||
id: dockerhub-login | ||
with: | ||
username: jaegertracingbot | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
env: | ||
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} | ||
if: env.DOCKERHUB_TOKEN != null | ||
|
||
- name: Export DOCKERHUB_LOGIN variable | ||
run: | | ||
echo "DOCKERHUB_LOGIN=true" >> $GITHUB_ENV | ||
if: steps.dockerhub-login.outcome == 'success' | ||
|
||
- name: Export BRANCH variable | ||
uses: ./.github/actions/setup-branch | ||
|
||
- name: Install tools | ||
run: make install-ci | ||
|
||
- name: Build docker images | ||
run: make docker | ||
|
||
- name: Upload docker images | ||
run: bash scripts/travis/upload-all-docker-images.sh |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
name: Publish release | ||
|
||
on: | ||
release: | ||
types: | ||
- published | ||
|
||
jobs: | ||
publish-release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
submodules: true | ||
|
||
- name: Fetch git tags | ||
run: | | ||
git fetch --prune --unshallow --tags | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: ^1.15 | ||
|
||
- uses: actions/setup-node@v2-beta | ||
with: | ||
node-version: '10' | ||
|
||
- uses: docker/login-action@v1 | ||
id: dockerhub-login | ||
with: | ||
username: jaegertracingbot | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
env: | ||
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} | ||
if: env.DOCKERHUB_TOKEN != null | ||
|
||
- name: Export DOCKERHUB_LOGIN variable | ||
run: | | ||
echo "DOCKERHUB_LOGIN=true" >> $GITHUB_ENV | ||
if: steps.dockerhub-login.outcome == 'success' | ||
|
||
- name: Export BRANCH variable | ||
uses: ./.github/actions/setup-branch | ||
|
||
- name: Install tools | ||
run: make install-ci | ||
|
||
- name: Build binaries | ||
id: build-binaries | ||
run: make build-all-platforms | ||
|
||
- name: Package binaries | ||
id: package-binaries | ||
run: bash scripts/travis/package-deploy.sh | ||
if: steps.build-binaries.outcome == 'success' | ||
|
||
- name: Upload binaries | ||
uses: svenstaro/upload-release-action@v2 | ||
with: | ||
file: deploy/*.tar.gz | ||
file_glob: true | ||
tag: ${{ github.ref }} | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
if: steps.package-binaries.outcome == 'success' | ||
|
||
- name: Build docker images | ||
id: build-images | ||
run: make docker | ||
|
||
- name: Upload docker images | ||
run: bash scripts/travis/upload-all-docker-images.sh | ||
if: steps.build-images.outcome == 'success' | ||
|
||
- name: Build, test, and publish all-in-one image | ||
run: bash scripts/travis/build-all-in-one-image.sh |
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
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
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
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
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