Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
0379dd1c
Unverified
Commit
0379dd1c
authored
Jul 23, 2019
by
Kate Lovett
Committed by
GitHub
Jul 23, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updating cirrus fingerprint script to include goldens version (#36690)
parent
242a4225
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
8 deletions
+7
-8
.cirrus.yml
.cirrus.yml
+5
-5
goldens.version
bin/internal/goldens.version
+1
-1
client.dart
packages/flutter_goldens_client/lib/client.dart
+1
-2
No files found.
.cirrus.yml
View file @
0379dd1c
...
@@ -18,7 +18,7 @@ task:
...
@@ -18,7 +18,7 @@ task:
fingerprint_script
:
echo $OS; grep -r --include=pubspec.yaml 'PUBSPEC CHECKSUM' "$CIRRUS_WORKING_DIR"
fingerprint_script
:
echo $OS; grep -r --include=pubspec.yaml 'PUBSPEC CHECKSUM' "$CIRRUS_WORKING_DIR"
flutter_pkg_cache
:
flutter_pkg_cache
:
folder
:
bin/cache/pkg
folder
:
bin/cache/pkg
fingerprint_script
:
echo $OS; cat bin/internal/
engine
.version
fingerprint_script
:
echo $OS; cat bin/internal/
*
.version
artifacts_cache
:
artifacts_cache
:
folder
:
bin/cache/artifacts
folder
:
bin/cache/artifacts
fingerprint_script
:
echo $OS; cat bin/internal/*.version
fingerprint_script
:
echo $OS; cat bin/internal/*.version
...
@@ -244,7 +244,7 @@ task:
...
@@ -244,7 +244,7 @@ task:
-
ps
:
$Env:OS; Get-ChildItem -Path "$Env:CIRRUS_WORKING_DIR" pubspec.yaml -Recurse | Select-String -Pattern "PUBSPEC CHECKSUM" -SimpleMatch
-
ps
:
$Env:OS; Get-ChildItem -Path "$Env:CIRRUS_WORKING_DIR" pubspec.yaml -Recurse | Select-String -Pattern "PUBSPEC CHECKSUM" -SimpleMatch
flutter_pkg_cache
:
flutter_pkg_cache
:
folder
:
bin\cache\pkg
folder
:
bin\cache\pkg
fingerprint_script
:
echo %OS% & type bin\internal\
engine
.version
fingerprint_script
:
echo %OS% & type bin\internal\
*
.version
artifacts_cache
:
artifacts_cache
:
folder
:
bin\cache\artifacts
folder
:
bin\cache\artifacts
fingerprint_script
:
echo %OS% & type bin\internal\engine.version
fingerprint_script
:
echo %OS% & type bin\internal\engine.version
...
@@ -295,7 +295,7 @@ task:
...
@@ -295,7 +295,7 @@ task:
-
ps
:
$Env:OS; Get-ChildItem -Path "$Env:CIRRUS_WORKING_DIR" pubspec.yaml -Recurse | Select-String -Pattern "PUBSPEC CHECKSUM" -SimpleMatch
-
ps
:
$Env:OS; Get-ChildItem -Path "$Env:CIRRUS_WORKING_DIR" pubspec.yaml -Recurse | Select-String -Pattern "PUBSPEC CHECKSUM" -SimpleMatch
flutter_pkg_cache
:
flutter_pkg_cache
:
folder
:
bin\cache\pkg
folder
:
bin\cache\pkg
fingerprint_script
:
echo %OS% & type bin\internal\
engine
.version
fingerprint_script
:
echo %OS% & type bin\internal\
*
.version
artifacts_cache
:
artifacts_cache
:
folder
:
bin\cache\artifacts
folder
:
bin\cache\artifacts
fingerprint_script
:
echo %OS% & type bin\internal\*.version
fingerprint_script
:
echo %OS% & type bin\internal\*.version
...
@@ -406,7 +406,7 @@ task:
...
@@ -406,7 +406,7 @@ task:
fingerprint_script
:
echo $OS; grep -r --include=pubspec.yaml 'PUBSPEC CHECKSUM' "$CIRRUS_WORKING_DIR"
fingerprint_script
:
echo $OS; grep -r --include=pubspec.yaml 'PUBSPEC CHECKSUM' "$CIRRUS_WORKING_DIR"
flutter_pkg_cache
:
flutter_pkg_cache
:
folder
:
bin/cache/pkg
folder
:
bin/cache/pkg
fingerprint_script
:
echo $OS; cat bin/internal/
engine
.version
fingerprint_script
:
echo $OS; cat bin/internal/
*
.version
artifacts_cache
:
artifacts_cache
:
folder
:
bin/cache/artifacts
folder
:
bin/cache/artifacts
fingerprint_script
:
echo $OS; cat bin/internal/engine.version
fingerprint_script
:
echo $OS; cat bin/internal/engine.version
...
@@ -463,7 +463,7 @@ task:
...
@@ -463,7 +463,7 @@ task:
fingerprint_script
:
echo $OS; grep -r --include=pubspec.yaml 'PUBSPEC CHECKSUM' "$CIRRUS_WORKING_DIR"
fingerprint_script
:
echo $OS; grep -r --include=pubspec.yaml 'PUBSPEC CHECKSUM' "$CIRRUS_WORKING_DIR"
flutter_pkg_cache
:
flutter_pkg_cache
:
folder
:
bin/cache/pkg
folder
:
bin/cache/pkg
fingerprint_script
:
echo $OS; cat bin/internal/
engine
.version
fingerprint_script
:
echo $OS; cat bin/internal/
*
.version
artifacts_cache
:
artifacts_cache
:
folder
:
bin/cache/artifacts
folder
:
bin/cache/artifacts
fingerprint_script
:
echo $OS; cat bin/internal/engine.version
fingerprint_script
:
echo $OS; cat bin/internal/engine.version
...
...
bin/internal/goldens.version
View file @
0379dd1c
09a19be7d0cd25eb7602b6ead198e8cf234a9ed2
d35b254e39541083238f6a6e7b20d142b7ab4855
packages/flutter_goldens_client/lib/client.dart
View file @
0379dd1c
...
@@ -124,8 +124,7 @@ class GoldensClient {
...
@@ -124,8 +124,7 @@ class GoldensClient {
workingDirectory:
repositoryRoot
.
path
,
workingDirectory:
repositoryRoot
.
path
,
);
);
if
(
result
.
stdout
.
trim
().
isNotEmpty
)
{
if
(
result
.
stdout
.
trim
().
isNotEmpty
)
{
final
StringBuffer
buf
=
StringBuffer
();
final
StringBuffer
buf
=
StringBuffer
()
buf
..
writeln
(
'flutter_goldens git checkout at
${repositoryRoot.path}
has local changes and cannot be synced.'
)
..
writeln
(
'flutter_goldens git checkout at
${repositoryRoot.path}
has local changes and cannot be synced.'
)
..
writeln
(
'To reset your client to a clean state, and lose any local golden test changes:'
)
..
writeln
(
'To reset your client to a clean state, and lose any local golden test changes:'
)
..
writeln
(
'cd
${repositoryRoot.path}
'
)
..
writeln
(
'cd
${repositoryRoot.path}
'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment