Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add github action for jaeger all-in-one image #2663

Merged
merged 9 commits into from
Nov 29, 2020
Merged

Add github action for jaeger all-in-one image #2663

merged 9 commits into from
Nov 29, 2020

Conversation

Ashmita152
Copy link
Contributor

Signed-off-by: Ashmita Bohara ashmita.bohara152@gmail.com

Which problem is this PR solving?

This PR adds the build job of all-in-one image to github actions.

Part of #2645

Short description of the changes

  1. To make the docker login action work we need to add two environment variables like this

jaeger

  1. To get the branch name we are using github action https://github.com/nelonoel/branch-name which populates env var BRANCH_NAME

  2. I tried using nodejs official github action (https://github.com/actions/setup-node) instead of calling scripts/travis/install-ui-deps.sh but it didn't work and I wasn't able to make it work after several retries. So thought do it in the same way how we do in travis for now.

@Ashmita152 Ashmita152 requested a review from a team as a code owner November 28, 2020 06:16
@mergify mergify bot requested a review from jpkrohling November 28, 2020 06:17
@Ashmita152
Copy link
Contributor Author

Until we add two environment variables, the build will fail.

Sample Success Run: https://github.com/Ashmita152/jaeger/pull/8/checks?check_run_id=1466574790

@codecov
Copy link

codecov bot commented Nov 28, 2020

Codecov Report

Merging #2663 (712331d) into master (556e3ba) will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2663      +/-   ##
==========================================
+ Coverage   95.10%   95.11%   +0.01%     
==========================================
  Files         213      213              
  Lines        9491     9491              
==========================================
+ Hits         9026     9027       +1     
+ Misses        388      387       -1     
  Partials       77       77              
Impacted Files Coverage Δ
plugin/storage/integration/integration.go 77.90% <0.00%> (+0.55%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 556e3ba...712331d. Read the comment docs.

@yurishkuro
Copy link
Member

yurishkuro commented Nov 28, 2020

I tried using nodejs official github action (https://github.com/actions/setup-node) instead of calling scripts/travis/install-ui-deps.sh but it didn't work

Could you include some details about what didn't work?

Not a big deal, I think it's fine to use scripts/travis/install-ui-deps.sh, but if you already spent some time investigating it's good to record the findings in case someone wants to try.

BTW, once we're completely off Travis, it would be nice to move scripts/travis/* to just scripts/.

@Ashmita152
Copy link
Contributor Author

Could you include some details about what didn't work?

The issue was mainly around GitHub actions install node at path /opt/hostedtoolcache/node/10.23.0/x64/bin/node so when source /home/runner/.nvm/nvm.sh was executing it was failing with VERSION being populated as N/A and hence that script
was failing with

nvm_err 'You need to run "nvm install 10" to install it before using it.'

I felt it maybe I am missing something.

@yurishkuro
Copy link
Member

if we already know that we're running in the correct Node version, we do not need nvm use.

Copy link
Member

@yurishkuro yurishkuro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is this error about? https://github.com/jaegertracing/jaeger/runs/1467144626?check_suite_focus=true#step:8:1046

fatal: No names found, cannot describe anything.

- name: Export BRANCH variable
shell: bash
run: |
export BRANCH=${GITHUB_REF##*/}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a few questions about this:

  1. If the branch is directly available, and is typically only used by a single step in the workflow (last step in this case), then why bother with an action instead of just export BRANCH=${GITHUB_REF##*/} inside the run: |?
  2. why do you use ##*/? Wouldn't this work the same: export BRANCH=${GITHUB_REF}?
  3. GITHUB_REF is defined as "The branch or tag ref that triggered the workflow". As I understand it, for a pull request from a fork this would be the branch in the fork, which technically can be master (it's not recommended, but sometimes people create PRs directly from their fork's master branch). I wonder if this will confuse any of the scripts.

Copy link
Contributor Author

@Ashmita152 Ashmita152 Nov 29, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the branch is directly available, and is typically only used by a single step in the workflow (last step in this case), then why bother with an action instead of just export BRANCH=${GITHUB_REF##*/} inside the run: |?

You're right, in that case we don't need to define an action.

why do you use ##*/? Wouldn't this work the same: export BRANCH=${GITHUB_REF}?

Generally GITHUB_REF is set as /ref/head/branch-name

$ export GITHUB_REF=/refs/head/foobar
$ echo ${GITHUB_REF##*/}
foobar

GITHUB_REF is defined as "The branch or tag ref that triggered the workflow". I wonder if this will confuse any of the scripts.

I will look at older travis runs and see what was the value of BRANCH being evaluated there and make sure that we set the BRANCH variable to the same value.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated the PR removing action and doing things in workflow itself.

  1. Setting BRANCH env as ${{ github.head_ref }} at job level which is set only in pull requests (https://docs.github.com/en/free-pro-team@latest/actions/reference/context-and-expression-syntax-for-github-actions#github-context)
  2. Later setting BRANCH env if BRANCH is not already set (push to master) from GITHUB_REF.

scripts/travis/build-all-in-one-image.sh Show resolved Hide resolved
scripts/travis/build-all-in-one-image.sh Show resolved Hide resolved
@Ashmita152
Copy link
Contributor Author

if we already know that we're running in the correct Node version, we do not need nvm use.

I just added this to the GitHub action. Not sure why it was triggering nvm use.

- uses: actions/setup-node@v1
  with:
    node-version: '10'

@Ashmita152
Copy link
Contributor Author

In the logs the value of BRANCH seems to be merge

Ah sorry I missed it, I should have caught it. I will make sure it's getting populated with the same value as in travis.

@Ashmita152
Copy link
Contributor Author

What is this error about? https://github.com/jaegertracing/jaeger/runs/1467144626?check_suite_focus=true#step:8:1046

fatal: No names found, cannot describe anything.

Let me look into it more.

@yurishkuro
Copy link
Member

I just added this to the GitHub action. Not sure why it was triggering nvm use.

Because in the current script nvm use is unconditional. I am suggesting to replace it with a check for Node version and fail if it does not meet the requirements

@yurishkuro
Copy link
Member

btw, I just added a workflow for the UI repo based on setup-node@v2, it's working fine: jaegertracing/jaeger-ui#664

@Ashmita152
Copy link
Contributor Author

Ashmita152 commented Nov 29, 2020

Updated the PR using setup-node@v2 which works now. Also the BRANCH is populating properly now.

Only issue which is remaining is what if the contributor creates PR from their fork's master branch. We can solve this by following either of following:

  1. Appending "pr-" infront of the branch name while setting BRANCH env variable in pull request.
  2. Updating the current logic of checking whether to push to docker registry with checking whether ${{ github.repository_owner }} variable equal to jaegertracing

Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>
Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>
Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>
Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>
Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>
@Ashmita152
Copy link
Contributor Author

Ashmita152 commented Nov 29, 2020

Only issue which is remaining is what if the contributor creates PR from their fork's master branch.

This has been resolved by setting an environment variable DOCKERHUB_LOGIN to true iff docker login step succeed (which will not happen in case of PR). And docker push will only happen when DOCKERHUB_LOGIN is true.

Copy link
Member

@yurishkuro yurishkuro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

almost there

scripts/travis/build-all-in-one-image.sh Outdated Show resolved Hide resolved
- name: Export BRANCH variable if undefined
run: |
echo "BRANCH=${GITHUB_REF##*/}" >> $GITHUB_ENV
if: env.BRANCH == null
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First, we are setting BRANCH env variable in the job level

    env:
      BRANCH: ${{ github.head_ref }}

${{ github.head_ref }} will be only set in case of Pull requests (https://docs.github.com/en/free-pro-team@latest/actions/reference/context-and-expression-syntax-for-github-actions#github-context)

Hence when we push to master (merge PR), env.BRANCH will be null, in which case we are picking from GITHUB_REF.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated the PR to make the steps more self-explanatory.

.github/workflows/all-in-one-build.yml Outdated Show resolved Hide resolved
scripts/travis/build-all-in-one-image.sh Outdated Show resolved Hide resolved
Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>
@Ashmita152
Copy link
Contributor Author

What is this error about? https://github.com/jaegertracing/jaeger/runs/1467144626?check_suite_focus=true#step:8:1046

fatal: No names found, cannot describe anything.

I think this is what is happening, in Makefile

build-all-in-one looks for BUILD_INFO which inturn looks for GIT_CLOSEST_TAG which isn't getting evaluated properly due to fetch-depth set to 1 while cloning the repo by GitHub action.

$ git clone https://github.com/Ashmita152/jaeger.git --depth 1
Cloning into 'jaeger'...
remote: Enumerating objects: 1243, done.
remote: Counting objects: 100% (1243/1243), done.
remote: Compressing objects: 100% (1050/1050), done.
remote: Total 1243 (delta 323), reused 485 (delta 129), pack-reused 0
Receiving objects: 100% (1243/1243), 1.10 MiB | 1.10 MiB/s, done.
Resolving deltas: 100% (323/323), done.
$ cd jaeger
$ git describe --abbrev=0 --tags
fatal: No names found, cannot describe anything.

@yurishkuro
Copy link
Member

build-all-in-one looks for BUILD_INFO which in turn looks for GIT_CLOSEST_TAG

we'll need to fix this because BUILD_INFO is important to include in the binaries.

Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>
Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>
@Ashmita152
Copy link
Contributor Author

build-all-in-one looks for BUILD_INFO which in turn looks for GIT_CLOSEST_TAG

we'll need to fix this because BUILD_INFO is important to include in the binaries.

This has been resolved.

Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>

- name: Export BRANCH variable for pull_request event
run: |
echo "BRANCH=${GITHUB_HEAD_REF}" >> $GITHUB_ENV
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it would be better for debugging to print the derived value

Suggested change
echo "BRANCH=${GITHUB_HEAD_REF}" >> $GITHUB_ENV
export BRANCH=${GITHUB_HEAD_REF}
echo "we are on branch=$BRANCH"
echo "BRANCH=${BRANCH}" >> $GITHUB_ENV

Copy link
Member

@yurishkuro yurishkuro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Look great! Minor potential future improvements:

  • echo value of BRANCH
  • move docker login steps and BRANCH steps into their own local actions (but only if we need to reuse them elsewhere)

@yurishkuro yurishkuro merged commit aa01c19 into jaegertracing:master Nov 29, 2020
@Ashmita152
Copy link
Contributor Author

Thank you @yurishkuro for the constant help.

After the PR I was expecting one dockerhub image upload after the PR was merged but something looks wrong somewhere in the script.

I can see env variables are populated correctly

2020-11-29T20:00:51.1750375Z env:
2020-11-29T20:00:51.1750881Z   GOROOT: /opt/hostedtoolcache/go/1.15.5/x64
2020-11-29T20:00:51.1751426Z   DOCKERHUB_LOGIN: true
2020-11-29T20:00:51.1751881Z   BRANCH: master

But somehow it still skipped the upload to dockerhub

2020-11-29T20:08:03.2662939Z + upload_to_docker jaegertracing/all-in-one
2020-11-29T20:08:03.2663826Z + [[ master == \m\a\s\t\e\r ]]
2020-11-29T20:08:03.2664409Z + [[ DOCKERHUB_LOGIN == \t\r\u\e ]]
2020-11-29T20:08:03.2665960Z + echo 'skip docker upload for PR'

I will look into it more.

yurishkuro added a commit that referenced this pull request Jan 13, 2021
…ectors (#2657)

* add metrics that show agent connection collector status

Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* update comment

Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* exec make fmt

Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* simplify function and add testing relevant code in the builder_test.go

Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* add comment in connect_metrics.go

Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* simplify code and changed use expvar to show target

Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* simplify code and changed use expvar to show target

Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* exec make fmt

Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* Fix collector panic due to sarama sdk returning nil error (#2654)

Signed-off-by: luhualin <luhualin@bilibili.com>

Co-authored-by: luhualin <luhualin@bilibili.com>
Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* Fix flaky tbuffered server test (#2635)

* Fix flaky tbuffered server test

Signed-off-by: Pavel Kositsyn <kositsyn.pa@phystech.edu>

* Apply suggestions from code review - more readable comments

Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com>
Signed-off-by: Pavel Kositsyn <kositsyn.pa@phystech.edu>

Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com>
Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* Add github actions for integration tests (#2649)

* Add github action for jaeger integration tests

Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>

* Create separate workflow for each integration test

Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>

* Feedbacks changes

Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>
Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* Clean-up GH action names (#2661)

Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* Fix for failures in badger integration tests (#2660)

Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>
Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* Add protogen validation test (#2662)

Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>
Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* Add github action for jaeger all-in-one image (#2663)

* Add github action for jaeger all-in-one image

Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>

* Feedbacks changes

Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>

* Feedbacks changes

Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>

* Feedbacks changes

Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>

* Feedbacks changes

Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>

* Feedbacks changes

Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>

* Make steps self-explantory

Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>

* Fix git tags issue

Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>

* Fix ES integration test

Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>
Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* Update comment that looks confusing during builds

Signed-off-by: Yuri Shkuro <github@ysh.us>
Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* Use GitHub actions based build badges

Signed-off-by: Yuri Shkuro <github@ysh.us>
Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* Fix and minor improvements to all-in-one github action (#2667)

Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>
Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* Fix docker login issue with all-in-one build (#2668)

* Fix docker login issue with all-in-one build

Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>

* Fix docker login issue with all-in-one build

Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>
Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* Fix issue with all-in-one build (#2669)

Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>
Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* Update cmd/agent/app/reporter/connect_metrics.go

accept suggestions

Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com>
Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* Update cmd/agent/app/reporter/connect_metrics.go

accept suggestions

Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com>
Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* simplify the code that remove ConnectMetricsParams{} and integrate ConnectMetrics{}

Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* simplify the code that remove ConnectMetricsParams{} and integrate ConnectMetrics{}

Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* merage from the lastest master branch and exec make fmt

Signed-off-by: walker.wangxy <walker.wangxy@walkerwangxydeMacBook-Pro.local>

* add comment on ConnectMetrics

Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* clear up redundant codes

Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

Co-authored-by: WalkerWang731 <walkerwang731@gmail.com>
Co-authored-by: Betula-L <N.Betula.Lu@gmail.com>
Co-authored-by: luhualin <luhualin@bilibili.com>
Co-authored-by: Pavel Kositsyn <kositsyn.pa@phystech.edu>
Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com>
Co-authored-by: Ashmita <ashmita.bohara152@gmail.com>
Co-authored-by: Yuri Shkuro <github@ysh.us>
Co-authored-by: walker.wangxy <walker.wangxy@walkerwangxydeMacBook-Pro.local>
bhiravabhatla pushed a commit to bhiravabhatla/jaeger that referenced this pull request Jan 25, 2021
…ectors (jaegertracing#2657)

* add metrics that show agent connection collector status

Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* update comment

Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* exec make fmt

Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* simplify function and add testing relevant code in the builder_test.go

Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* add comment in connect_metrics.go

Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* simplify code and changed use expvar to show target

Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* simplify code and changed use expvar to show target

Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* exec make fmt

Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* Fix collector panic due to sarama sdk returning nil error (jaegertracing#2654)

Signed-off-by: luhualin <luhualin@bilibili.com>

Co-authored-by: luhualin <luhualin@bilibili.com>
Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* Fix flaky tbuffered server test (jaegertracing#2635)

* Fix flaky tbuffered server test

Signed-off-by: Pavel Kositsyn <kositsyn.pa@phystech.edu>

* Apply suggestions from code review - more readable comments

Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com>
Signed-off-by: Pavel Kositsyn <kositsyn.pa@phystech.edu>

Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com>
Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* Add github actions for integration tests (jaegertracing#2649)

* Add github action for jaeger integration tests

Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>

* Create separate workflow for each integration test

Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>

* Feedbacks changes

Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>
Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* Clean-up GH action names (jaegertracing#2661)

Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* Fix for failures in badger integration tests (jaegertracing#2660)

Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>
Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* Add protogen validation test (jaegertracing#2662)

Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>
Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* Add github action for jaeger all-in-one image (jaegertracing#2663)

* Add github action for jaeger all-in-one image

Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>

* Feedbacks changes

Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>

* Feedbacks changes

Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>

* Feedbacks changes

Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>

* Feedbacks changes

Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>

* Feedbacks changes

Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>

* Make steps self-explantory

Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>

* Fix git tags issue

Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>

* Fix ES integration test

Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>
Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* Update comment that looks confusing during builds

Signed-off-by: Yuri Shkuro <github@ysh.us>
Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* Use GitHub actions based build badges

Signed-off-by: Yuri Shkuro <github@ysh.us>
Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* Fix and minor improvements to all-in-one github action (jaegertracing#2667)

Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>
Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* Fix docker login issue with all-in-one build (jaegertracing#2668)

* Fix docker login issue with all-in-one build

Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>

* Fix docker login issue with all-in-one build

Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>
Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* Fix issue with all-in-one build (jaegertracing#2669)

Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>
Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* Update cmd/agent/app/reporter/connect_metrics.go

accept suggestions

Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com>
Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* Update cmd/agent/app/reporter/connect_metrics.go

accept suggestions

Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com>
Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* simplify the code that remove ConnectMetricsParams{} and integrate ConnectMetrics{}

Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* simplify the code that remove ConnectMetricsParams{} and integrate ConnectMetrics{}

Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* merage from the lastest master branch and exec make fmt

Signed-off-by: walker.wangxy <walker.wangxy@walkerwangxydeMacBook-Pro.local>

* add comment on ConnectMetrics

Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

* clear up redundant codes

Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com>

Co-authored-by: WalkerWang731 <walkerwang731@gmail.com>
Co-authored-by: Betula-L <N.Betula.Lu@gmail.com>
Co-authored-by: luhualin <luhualin@bilibili.com>
Co-authored-by: Pavel Kositsyn <kositsyn.pa@phystech.edu>
Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com>
Co-authored-by: Ashmita <ashmita.bohara152@gmail.com>
Co-authored-by: Yuri Shkuro <github@ysh.us>
Co-authored-by: walker.wangxy <walker.wangxy@walkerwangxydeMacBook-Pro.local>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants