App made with flutter for planning poker cards
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.1KB

  1. ---
  2. resources:
  3. - name: app-sources
  4. type: git
  5. check_every: 5m
  6. icon: git
  7. source:
  8. uri: https://codeberg.org/Rinma/Planning-Poker-Flutter.git
  9. - name: minio
  10. type: s3
  11. source:
  12. bucket: planning-poker
  13. access_key_id: ((s3.access_key))
  14. secret_access_key: ((s3.secret_key))
  15. endpoint: ((s3.endpoint))
  16. regexp: app-(.*)-release.apk
  17. jobs:
  18. - name: build-android
  19. plan:
  20. - get: app-sources
  21. trigger: true
  22. - task: run-flutter-build
  23. config:
  24. image_resource:
  25. source:
  26. repository: cirrusci/flutter
  27. tag: latest
  28. type: docker-image
  29. inputs:
  30. - name: app-sources
  31. path: project
  32. outputs:
  33. - name: build
  34. path: project/build/app/outputs
  35. platform: linux
  36. run:
  37. user: root
  38. dir: project
  39. path: /home/cirrus/sdks/flutter/bin/flutter
  40. args:
  41. - build
  42. - apk
  43. - --split-per-abi
  44. - put: minio
  45. params:
  46. file: build/apk/release/app-arm64-v8a-release.apk
  47. - put: minio
  48. params:
  49. file: build/apk/release/app-armeabi-v7a-release.apk
  50. public: true