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

Simplify test setup and fix inaccessible Dart/Flutter in container #9416

Merged
merged 3 commits into from
Sep 19, 2023

Conversation

parlough
Copy link
Member

@parlough parlough commented Sep 19, 2023

#9307 caused dart and flutter to not be accessible when running inside the container. This PR attaches the cloned Flutter repository as a volume to allow it to persist and be accessible.

To be compatible with these changes, also modifies the test.sh script to be simpler, not allowing switching branches separately from the container. When it's ran from GitHub actions, a new container is created anyway.

@github-actions
Copy link

github-actions bot commented Sep 19, 2023

Visit the preview URL for this PR (updated for commit 0f605ad):

https://flutter-docs-prod--pr9416-fix-expose-cloned-fl-fnqqorlv.web.app

(expires Tue, 26 Sep 2023 15:39:25 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: d5ba327eec813901cac8396c4f458b02288624ab

@parlough parlough changed the title Fix inacessible Dart/Flutter in container Simplify test setup and fix inaccessible Dart/Flutter in container Sep 19, 2023
Dockerfile Show resolved Hide resolved
AlexV525 added a commit that referenced this pull request Sep 19, 2023
Copy link
Contributor

@sfshaza2 sfshaza2 left a comment

Choose a reason for hiding this comment

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

lgtm

@parlough parlough merged commit dcbeeab into main Sep 19, 2023
10 checks passed
@parlough parlough deleted the fix/expose-cloned-flutter-directory-as-volume branch September 19, 2023 20:06
atsansone pushed a commit that referenced this pull request Sep 21, 2023
…9416)

#9307 caused `dart` and `flutter`
to not be accessible when running inside the container. This PR attaches
the cloned Flutter repository as a volume to allow it to persist and be
accessible.

To be compatible with these changes, also modifies the `test.sh` script
to be simpler, not allowing switching branches separately from the
container. When it's ran from GitHub actions, a new container is created
anyway.
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.

4 participants