File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : release
2+
3+ on :
4+ push :
5+ branches : [ "main" ]
6+ create :
7+ tags : [ "v*" ]
8+
9+ permissions :
10+ contents : read
11+
12+ jobs :
13+
14+ release :
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - uses : actions/checkout@v3
19+
20+ - uses : elastic/apm-pipeline-library/.github/actions/docker-login@current
21+ with :
22+ registry : docker.io
23+ secret : secret/apm-team/ci/elastic-observability-dockerhub
24+ url : ${{ secrets.VAULT_ADDR }}
25+ roleId : ${{ secrets.VAULT_ROLE_ID }}
26+ secretId : ${{ secrets.VAULT_SECRET_ID }}
27+
28+ - name : Set version if tags
29+ run : echo "VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
30+ if : startsWith(github.ref, 'refs/tags/v')
31+
32+ - name : Run publish
33+ run : make publish
Original file line number Diff line number Diff line change 1+ ---
2+ # # Workflow to process the JUnit test results and add a report to the checks.
3+ name : Test Report
4+ on :
5+ workflow_run :
6+ workflows :
7+ - test
8+ types :
9+ - completed
10+
11+ jobs :
12+ report :
13+ runs-on : ubuntu-latest
14+ steps :
15+ - uses : elastic/apm-pipeline-library/.github/actions/test-report@current
16+ with :
17+ artifact : test-results # artifact name
18+ name : JUnit Tests # Name of the check run which will be created
19+ path : " **/*.xml" # Path to test results (inside artifact .zip)
20+ reporter : java-junit # Format of test results
Original file line number Diff line number Diff line change 1+ name : test
2+
3+ on :
4+ push :
5+ branches : [ "main" ]
6+ pull_request :
7+ branches : [ "main" ]
8+
9+ permissions :
10+ contents : read
11+
12+ jobs :
13+ test :
14+
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - uses : actions/checkout@v3
19+
20+ - name : Run build
21+ run : make build
22+
23+ - name : Run test
24+ run : make test
25+
26+ - name : Store test results
27+ if : success() || failure()
28+ uses : actions/upload-artifact@v3
29+ with :
30+ name : test-results
31+ path : target/*.xml
Original file line number Diff line number Diff line change 1- [ ![ Build Status] ( https://apm-ci. elastic.co/buildStatus/icon?job=apm-agent- ruby%2Fopbeans-ruby-mbp%2Fmaster )] ( https://apm-ci. elastic.co/job/apm-agent-ruby/job/ opbeans-ruby-mbp/job/main/ )
1+ [ ![ Build Status] ( https://github.com/ elastic/opbeans- ruby/actions/workflows/test.yml/badge.svg )] ( https://github.com/ elastic/ opbeans-ruby/actions/workflows/test.yml )
22
33# README
44
You can’t perform that action at this time.
0 commit comments