Skip to content

Commit

Permalink
Update revision to be 20 and 13 (#39)
Browse files Browse the repository at this point in the history
* Update revision to 20

* Fix trailing commas error

* Use 3.10.6 flutter version

* Update tox version

* Fix tox issue

* s/format/static/ and update Dockerfile
  • Loading branch information
nadzyah authored Aug 17, 2023
1 parent 7b779fc commit bc53b7e
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 9 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/test_frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ jobs:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.10.6'
channel: 'stable'
- run: flutter pub get
- run: flutter pub run build_runner build
- run: flutter analyze
- run: flutter test
- run: flutter build web
- run: flutter build web
2 changes: 1 addition & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN apt-get update
RUN apt-get install -y curl git wget unzip libgconf-2-4 gdb libstdc++6 libglu1-mesa fonts-droid-fallback lib32stdc++6 python3

RUN git clone https://github.com/flutter/flutter.git /opt/flutter && \
cd /opt/flutter && git checkout '3.10.3' && \
cd /opt/flutter && git checkout '3.10.6' && \
/opt/flutter/bin/flutter doctor && \
/opt/flutter/bin/flutter config --enable-web

Expand Down
6 changes: 3 additions & 3 deletions frontend/charm/tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
[tox]
no_package = True
skip_missing_interpreters = True
env_list = format, lint, unit
min_version = 4.0.0
env_list = static, lint, unit
min_version = 4.9.0

[vars]
src_path = {tox_root}/src
Expand All @@ -23,7 +23,7 @@ pass_env =
CHARM_BUILD_DIR
MODEL_SETTINGS

[testenv:format]
[testenv:static]
description = Apply coding style standards to code
deps =
black
Expand Down
2 changes: 1 addition & 1 deletion frontend/lib/ui/dashboard/artefact_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class _ArtefactHeader extends StatelessWidget {
size: 60,
),
onTap: () => Navigator.pop(context),
)
),
],
),
);
Expand Down
2 changes: 1 addition & 1 deletion frontend/lib/ui/dashboard/dashboard_body.dart
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class DashboardBody extends StatelessWidget {
return ProviderScope(
overrides: [
namesOfStagesProvider
.overrideWithValue(stages.map((stage) => stage.name).toList())
.overrideWithValue(stages.map((stage) => stage.name).toList()),
],
child: ListView.separated(
padding: const EdgeInsets.symmetric(
Expand Down
4 changes: 2 additions & 2 deletions terraform/test-observer.tf
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ resource "juju_application" "test-observer-api" {
name = "test-observer-api"
channel = "latest/edge"
series = "jammy"
revision = 18
revision = 20
}

config = {
Expand All @@ -83,7 +83,7 @@ resource "juju_application" "test-observer-frontend" {
name = "test-observer-frontend"
channel = "latest/edge"
series = "jammy"
revision = 11
revision = 13
}

config = {
Expand Down

0 comments on commit bc53b7e

Please sign in to comment.