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

Include ecosystem name in job summary #6535

Merged
merged 2 commits into from
Jan 29, 2023

Conversation

jeffwidman
Copy link
Member

@jeffwidman jeffwidman commented Jan 29, 2023

I noticed in https://github.com/dependabot/dependabot-core/actions/runs/4034930902/attempts/1 that the docker image names are missing the ecosystem name. Having this correct makes it easier to update smoke tests, for example I had to copy the full image name when doing dependabot/smoke-tests#27.

So I added it, by copying the format from the step above where we're building the dependabot-updater image:

docker tag "${UPDATER_IMAGE}${ECOSYSTEM}:$TAG" "${UPDATER_IMAGE_MIRROR}${ECOSYSTEM}:$TAG"
docker push "${UPDATER_IMAGE_MIRROR}${ECOSYSTEM}:$TAG"

I double-checked, and the summaries for eco-branch-images.yml and the similar action for forks already include this in their job summary:

echo "ghcr.io/dependabot/dependabot-updater-${{ matrix.suite.ecosystem }}:$TAG" >> $GITHUB_STEP_SUMMARY

I noticed in https://github.com/dependabot/dependabot-core/actions/runs/4034930902/attempts/1 that the docker image names are missing the ecosystem name.

So I added it, by copying the format from the step above where we're building the `dependabot-updater image`.

I double-checked, and the summaries for `eco-branch-images.yml` and the similar action for forks already include this in their job summary:
https://github.com/dependabot/dependabot-core/blob/5eff30823a1eb0aba02f2267d14427a8bb547414/.github/workflows/eco-branch-images.yml#L99
@jeffwidman jeffwidman requested a review from a team as a code owner January 29, 2023 03:58
@jeffwidman jeffwidman enabled auto-merge (squash) January 29, 2023 04:03
@jeffwidman jeffwidman disabled auto-merge January 29, 2023 19:12
@jeffwidman jeffwidman enabled auto-merge (squash) January 29, 2023 19:13
@jeffwidman jeffwidman disabled auto-merge January 29, 2023 19:13
@jeffwidman jeffwidman merged commit b68ca6f into main Jan 29, 2023
@jeffwidman jeffwidman deleted the include-ecosystem-name-in-job-summary branch January 29, 2023 19:17
alcere pushed a commit that referenced this pull request Feb 20, 2023
I noticed in https://github.com/dependabot/dependabot-core/actions/runs/4034930902/attempts/1 that the docker image names are missing the ecosystem name.

So I added it, by copying the format from the step above where we're building the `dependabot-updater image`.

I double-checked, and the summaries for `eco-branch-images.yml` and the similar action for forks already include this in their job summary:
https://github.com/dependabot/dependabot-core/blob/5eff30823a1eb0aba02f2267d14427a8bb547414/.github/workflows/eco-branch-images.yml#L99
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.

2 participants