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

Switch e2e test docker-compose to docker compose #3816

Closed
wants to merge 3 commits into from

Conversation

steiza
Copy link
Member

@steiza steiza commented Aug 5, 2024

Summary

Many cosign pull requests have e2e test failing, such as https://github.com/sigstore/cosign/actions/runs/10238677353/job/28323361888?pr=3808.

Apparently this is because docker-compose was removed from the ubuntu-latest and windows GitHub Actions runners late last week:

actions/runner-images#9692

I don't follow the ecosystem closely enough to understand it, but apparently docker compose is what most people are using to work around this.

Release Note

NONE

Documentation

N/A

`docker-compose` was removed from the ubuntu-latest and windows GitHub
Actions runners late last week:

actions/runner-images#9692

I don't follow the ecosystem closely enough to understand it, but apparently
`docker compose` is what most people are using to work around this.

Signed-off-by: Zach Steindler <steiza@github.com>
Copy link

codecov bot commented Aug 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 39.19%. Comparing base (2ef6022) to head (70d2860).
Report is 175 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3816      +/-   ##
==========================================
- Coverage   40.10%   39.19%   -0.91%     
==========================================
  Files         155      202      +47     
  Lines       10044    10049       +5     
==========================================
- Hits         4028     3939      -89     
+ Misses       5530     5524       -6     
- Partials      486      586     +100     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Zach Steindler <steiza@github.com>
Signed-off-by: Zach Steindler <steiza@github.com>
@steiza
Copy link
Member Author

steiza commented Aug 5, 2024

Let's work on #3809 instead.

@steiza steiza closed this Aug 5, 2024
@@ -19,7 +19,7 @@ set -ex
echo "setting up OIDC provider"
pushd ./test/fakeoidc
oidcimg=$(ko build main.go --local)
docker network ls | grep fulcio_default || docker network create fulcio_default
docker network ls | grep fulcio_default || docker network create --label com.docker.compose.network=fulcio_default fulcio_default
Copy link
Contributor

Choose a reason for hiding this comment

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

This works for me if I have

Suggested change
docker network ls | grep fulcio_default || docker network create --label com.docker.compose.network=fulcio_default fulcio_default
docker network ls | grep fulcio_default || docker network create --label com.docker.compose.network=default fulcio_default

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