forked from open-telemetry/opentelemetry-demo
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into currencyservice-1.12.0
- Loading branch information
Showing
4 changed files
with
54 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Copyright The OpenTelemetry Authors | ||
# SPDX-License-Identifier: Apache-2.0 | ||
name: Integration Tests | ||
|
||
on: | ||
pull_request_target: | ||
branches: | ||
- main | ||
types: [closed] | ||
|
||
jobs: | ||
build_runner: | ||
runs-on: ubuntu-latest | ||
name: "Build Runner" | ||
if: github.event.pull_request.merged == true | ||
steps: | ||
- name: metal-runner-action | ||
uses: equinix-labs/metal-action-runner@v0.1.1 | ||
with: | ||
github_token: ${{ secrets.GH_CI_SECRET }} | ||
metal_auth_token: ${{ secrets.METAL_AUTH_TOKEN }} | ||
metal_project_id: ${{ secrets.METAL_PROJECT_ID }} | ||
metro: "da" | ||
plan: "c3.small.x86" | ||
os: "ubuntu_20_04" | ||
run_tests: | ||
needs: build_runner | ||
runs-on: self-hosted | ||
name: "Run CI" | ||
steps: | ||
- name: check out code | ||
uses: actions/checkout@v3 | ||
- name: install docker | ||
run: | | ||
curl -fsSL https://get.docker.com -o get-docker.sh | ||
sudo sh get-docker.sh | ||
- name: run tracetesting | ||
run: | | ||
make build && make run-tracetesting | ||
destroy: | ||
needs: [build_runner, run_tests] | ||
runs-on: ubuntu-latest | ||
name: "Cleanup" | ||
steps: | ||
- name: metal-sweeper-action | ||
uses: equinix-labs/metal-sweeper-action@v0.6.1 | ||
with: | ||
authToken: ${{ secrets.METAL_AUTH_TOKEN }} | ||
projectID: ${{ secrets.METAL_PROJECT_ID }} | ||
keepProject: true |
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