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

Sync public repo from private repository #132

Merged
merged 27 commits into from
Jan 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
387c9d3
start app in the app deactivated status
ktiniatros Dec 1, 2023
3f90b43
remove openid dependency
ktiniatros Dec 1, 2023
fd28eb3
update deactivated messages
ktiniatros Dec 1, 2023
5bc8429
simplify app startup
ktiniatros Dec 1, 2023
931520b
don't use config
ktiniatros Dec 1, 2023
bf0dc0e
remove unnecessary app startup code
ktiniatros Dec 1, 2023
20d265e
delete part 1
ktiniatros Dec 1, 2023
4cd7261
delete part 2
ktiniatros Dec 1, 2023
40ea779
remove obsolete tests
ktiniatros Dec 1, 2023
4ec7038
delete part 3
ktiniatros Dec 1, 2023
a924e54
delete obsolete tests
ktiniatros Dec 1, 2023
e9c774b
remove obsolete configuration
ktiniatros Dec 8, 2023
9d6f502
Merge pull request #1602 from minvws/feature/holder-5.1
ktiniatros Dec 8, 2023
1f34c79
delete unused submodules
ktiniatros Dec 11, 2023
64978f3
delete database and config files on startup
ktiniatros Dec 11, 2023
e159815
remove unnecessary stuff
ktiniatros Dec 11, 2023
7cf3d8f
delete submodules
ktiniatros Dec 11, 2023
0df6be6
remove more unused stuff
ktiniatros Dec 11, 2023
d3d126e
Merge pull request #1603 from minvws/feature/holder-5.1-
ktiniatros Dec 12, 2023
b022bb7
update apk paths
ktiniatros Dec 12, 2023
0aa52cc
Merge pull request #1604 from minvws/chore/fix-firebase
ktiniatros Dec 12, 2023
c9d703a
Een typefout opgelost door een t weg te halen
reinschaap Dec 12, 2023
7661a66
Merge pull request #1605 from minvws/reinschaap-fix-typo
reinschaap Dec 13, 2023
8e45099
bump version
ktiniatros Dec 13, 2023
c3aac92
Merge pull request #1606 from minvws/chore/bump-version
ktiniatros Dec 13, 2023
d816622
update readme to current status
ktiniatros Jan 4, 2024
6ba80c7
Merge pull request #1607 from minvws/chore/update-readme
ktiniatros Jan 4, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
40 changes: 0 additions & 40 deletions .github/actions/build-core/action.yml

This file was deleted.

69 changes: 0 additions & 69 deletions .github/actions/build-web-pdf-tools/action.yml

This file was deleted.

2 changes: 0 additions & 2 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,3 @@ runs:
with:
# Cache results from main and release branches only per docs
cache-read-only: ${{ github.ref != 'refs/heads/main' && github.ref != 'refs/heads/release' }}
- name: Build mobile core
uses: ./.github/actions/build-core
51 changes: 4 additions & 47 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ on:
- 'release/*'
pull_request:

env:
WEB_PDF_TOOLS_COMMIT_HASH: 530e22f23d98dc41c1611b1ecfb18719e5ab2570 # v4.1.6

concurrency:
group: build-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
Expand All @@ -20,17 +17,10 @@ jobs:
- uses: actions/checkout@v3
- id: setup
uses: ./.github/actions/setup
- name: Archive mobile core dependency
uses: actions/upload-artifact@v3
with:
name: mobilecore
path: |
mobilecore/mobilecore.aar
retention-days: 2
- name: Spotless
run: ./gradlew spotlessCheck
- name: Test
run: ./gradlew testAccDebugUnitTest verifier:testAccDebugUnitTest
run: ./gradlew testAccDebugUnitTest
- name: Emulator Test
if: "!contains(github.event.pull_request.labels.*.name, 'skip-screenshot-tests')"
uses: reactivecircus/android-emulator-runner@v2
Expand All @@ -45,7 +35,6 @@ jobs:
name: test-results
path: |
holder/build/reports
verifier/build/reports
retention-days: 2

distribute:
Expand All @@ -56,8 +45,6 @@ jobs:
KEYSTORE_KEY_ALIAS: ${{ secrets.KEYSTORE_KEY_ALIAS }}
KEYSTORE_KEY_PASSWORD: ${{ secrets.KEYSTORE_KEY_PASSWORD }}
KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
GENERATE_FDROID_BUILDS: ${{ contains(github.event.pull_request.labels.*.name, 'generate-fdroid-builds') }}
GENERATE_VERIFIER_BUILDS: ${{ contains(github.event.pull_request.labels.*.name, 'generate-verifier-builds') }}
KEYSTORE_FILE: ${{ secrets.KEYSTORE_FILE }}
runs-on: ubuntu-latest
needs: [ "build-and-test" ]
Expand All @@ -72,18 +59,11 @@ jobs:
run: |
version=$(( $GITHUB_RUN_NUMBER ))
echo VERSION_NUMBER=$version >> $GITHUB_ENV
- name: Build pdf tools
uses: ./.github/actions/build-web-pdf-tools
with:
web_pdf_tools_commit_hash: ${{ env.WEB_PDF_TOOLS_COMMIT_HASH }}
- name: Build
run: ./gradlew :holder:assemAccRelease :holder:assemProdRelease :holder:bundleProdRelease
- name: Build fdroid
if: ${{ env.GENERATE_FDROID_BUILDS == 'true' }}
run: ./gradlew assemFdroidAccRelease assemFdroidProdRelease
- name: Build verifier
if: ${{ env.GENERATE_VERIFIER_BUILDS == 'true' }}
run: ./gradlew :verifier:assemAccRelease :verifier:assemProdRelease :verifier:bundleProdRelease
- name: Clean up key store
run: rm keystore.jks
- name: Archive apks
Expand All @@ -92,15 +72,13 @@ jobs:
name: apks
path: |
holder/build/outputs/apk
verifier/build/outputs/apk
retention-days: 5
- name: Archive bundle
uses: actions/upload-artifact@v3
with:
name: bundle
path: |
holder/build/outputs/bundle
verifier/build/outputs/bundle
retention-days: 5

- name: Download all workflow run artifacts
Expand All @@ -116,44 +94,23 @@ jobs:

- name: Distribute holder acc variant
run: |
firebase appdistribution:distribute `ls apks/holder/build/outputs/apk/acc/release/holder-*.apk` \
firebase appdistribution:distribute `ls apks/acc/release/holder-*.apk` \
--app 1:168257592968:android:5df6b2057b90a30826493d \
--groups testers

- name: Distribute holder fdroid acc variant
if: ${{ env.GENERATE_FDROID_BUILDS == 'true' }}
run: |
firebase appdistribution:distribute `ls apks/holder/build/outputs/apk/fdroidAcc/release/holder-*.apk` \
firebase appdistribution:distribute `ls apks/fdroidAcc/release/holder-*.apk` \
--app 1:168257592968:android:28c578809115867926493d \
--groups testers

- name: Distribute holder prod variant
run: |
firebase appdistribution:distribute `ls apks/holder/build/outputs/apk/prod/release/holder-*.apk` \
firebase appdistribution:distribute `ls apks/prod/release/holder-*.apk` \
--app 1:168257592968:android:aaa5afb416536fdb26493d \
--groups testers

- name: Distribute verifier acc variant
if: ${{ env.GENERATE_VERIFIER_BUILDS == 'true' }}
run: |
firebase appdistribution:distribute `ls apks/verifier/build/outputs/apk/acc/release/verifier-*.apk` \
--app 1:168257592968:android:e9d445c4115a5c9d26493d \
--groups testers

- name: Distribute verifier fdroid acc variant
if: ${{ env.GENERATE_FDROID_BUILDS == 'true' }}
run: |
firebase appdistribution:distribute `ls apks/verifier/build/outputs/apk/fdroidAcc/release/verifier-*.apk` \
--app 1:168257592968:android:a5a6c5d5af1c18c726493d \
--groups testers

- name: Distribute verifier prod variant
if: ${{ env.GENERATE_VERIFIER_BUILDS == 'true' }}
run: |
firebase appdistribution:distribute `ls apks/verifier/build/outputs/apk/prod/release/verifier-*.apk` \
--app 1:168257592968:android:79363a1282863aac26493d \
--groups testers

- name: Slack Notification
uses: rtCamp/action-slack-notify@v2

18 changes: 0 additions & 18 deletions .github/workflows/ui_tests_on_demand.yml

This file was deleted.

9 changes: 0 additions & 9 deletions .gitmodules

This file was deleted.

Loading