Skip to content

Commit

Permalink
Merge branch 'dart-lang:main' into enforce-sandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
NDevTK committed May 5, 2024
2 parents ff7480c + 506db28 commit 2b0e449
Show file tree
Hide file tree
Showing 197 changed files with 11 additions and 40,754 deletions.
7 changes: 3 additions & 4 deletions .cloud_build/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@ Cloud Build configuration files for dart-pad and dart-services.
# Contents

- `dart-services.yaml` - Deploys the dart_services server to Cloud Run
- `dart_pad.yaml` - Deploys `dart_pad` to Firebase Hosting
- `dart_pad.yaml` - Deploys `sketch_pad` to Firebase Hosting
- `sketch_pad.yaml` - Deploys `sketch_pad` to Firebase Hosting

This folder also has configuration files from [cloud-builders-community][],
which are needed to build and deploy `dart_pad` and `sketch_pad` to Firebase
Hosting:
which are needed to build and deploy `sketch_pad` to Firebase Hosting:

- `flutter/` - Uploads an image that contains the Flutter SDK to Container Registry
- `firebase/` - Uploads an image that contains the Firebase SDK to Container Registry
Expand All @@ -35,7 +34,7 @@ gcloud builds submit \
--project=$GCP_PROJECT
```

The substitions are a comma separated list of `SUBSITUTION=value`:
The substitutions are a comma separated list of `SUBSITUTION=value`:
- `_FLUTTER_CHANNEL` - The Flutter channel to use. (`stable`, `beta`, or `main`)
- `_STORAGE_BUCKET` - The name of the Cloud Storage bucket to use (nnbd_artifacts)
- `_SERVICE_NAME` - The name of the Cloud Run service (dart-services-cloud-run, flutter-beta-channel, or flutter-master-channel)
Expand Down
52 changes: 0 additions & 52 deletions .github/workflows/dart_pad.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/dart_services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:
matrix:
sdk: [stable, beta, main]
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: subosito/flutter-action@3d804929922b667a63a229bc59037807f969e885
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
with:
channel: ${{ matrix.sdk }}
- run: flutter --version
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dartpad_shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ jobs:
working-directory: pkgs/dartpad_shared/

steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: dart-lang/setup-dart@fedb1266e91cf51be2fdb382869461a434b920a3
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
- uses: dart-lang/setup-dart@f0ead981b4d9a35b37f30d36160575d60931ec30

- name: Install dart dependencies
run: dart pub get
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/samples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
run:
working-directory: pkgs/samples/
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: subosito/flutter-action@3d804929922b667a63a229bc59037807f969e885
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
- run: flutter pub get
- run: flutter analyze
- run: dart format --set-exit-if-changed .
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sketch_pad.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
run:
working-directory: pkgs/sketch_pad/
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: subosito/flutter-action@3d804929922b667a63a229bc59037807f969e885
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b
- uses: subosito/flutter-action@44ac965b96f18d999802d4b807e3256d5a3f9fa1
with:
channel: main
- run: flutter --version
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ and Flutter. You can access it at [dartpad.dev](http://dartpad.dev).
| [dart_services](pkgs/dart_services/) | The backend service for DartPad. | [![dart_services](https://github.com/dart-lang/dart-pad/actions/workflows/dart_services.yml/badge.svg)](https://github.com/dart-lang/dart-pad/actions/workflows/dart_services.yml) |
| [dartpad_shared](pkgs/dartpad_shared/) | Shared code between the DartPad frontend and backend. | [![dartpad_shared](https://github.com/dart-lang/dart-pad/actions/workflows/dartpad_shared.yml/badge.svg)](https://github.com/dart-lang/dart-pad/actions/workflows/dartpad_shared.yml) |
| [samples](pkgs/samples/) | Sample code snippets for DartPad. | [![samples](https://github.com/dart-lang/dart-pad/actions/workflows/samples.yml/badge.svg)](https://github.com/dart-lang/dart-pad/actions/workflows/samples.yml) |
| [dart_pad](pkgs/dart_pad/) | The web version of the front end of DartPad (deprecated). | [![dart_pad](https://github.com/dart-lang/dart-pad/actions/workflows/dart_pad.yml/badge.svg)](https://github.com/dart-lang/dart-pad/actions/workflows/dart_pad.yml) |

## Background

Expand Down
15 changes: 0 additions & 15 deletions pkgs/dart_pad/.firebaserc

This file was deleted.

21 changes: 0 additions & 21 deletions pkgs/dart_pad/.gitignore

This file was deleted.

27 changes: 0 additions & 27 deletions pkgs/dart_pad/LICENSE

This file was deleted.

8 changes: 0 additions & 8 deletions pkgs/dart_pad/README.md

This file was deleted.

24 changes: 0 additions & 24 deletions pkgs/dart_pad/analysis_options.yaml

This file was deleted.

34 changes: 0 additions & 34 deletions pkgs/dart_pad/bin/serve.dart

This file was deleted.

43 changes: 0 additions & 43 deletions pkgs/dart_pad/build.yaml

This file was deleted.

62 changes: 0 additions & 62 deletions pkgs/dart_pad/firebase.json

This file was deleted.

12 changes: 0 additions & 12 deletions pkgs/dart_pad/lib/check_localstorage.dart

This file was deleted.

0 comments on commit 2b0e449

Please sign in to comment.