File tree Expand file tree Collapse file tree 6 files changed +66
-56
lines changed Expand file tree Collapse file tree 6 files changed +66
-56
lines changed Original file line number Diff line number Diff line change @@ -123,21 +123,6 @@ collect_artifacts() {
123123 cp " ${aab_path} " " ${artifact_dest_dir} /${aab_dest_file} "
124124 echo " SUCCESS: AAB copied to ${artifact_dest_dir} "
125125
126- # Find and list the files before copying
127- # Store the find results in a variable to avoid running find twice
128- # and to handle the case where no files are found gracefully.
129- local intoto_files
130- intoto_files=$( find . -type f -name " *.intoto.jsonl" )
131-
132- if [ -n " $intoto_files " ]; then
133- echo " INFO: Found the following .intoto.jsonl files:"
134- echo " $intoto_files " # This will list each file on a new line
135- echo " INFO: Copying .intoto.jsonl files to ${artifact_dest_dir} /"
136- # Use print0 and xargs -0 for safe handling of filenames with spaces or special characters
137- find . -type f -name " *.intoto.jsonl" -print0 | xargs -0 -I {} cp {} " ${artifact_dest_dir} /"
138- else
139- echo " INFO: No .intoto.jsonl files found."
140- fi
141126 else
142127 echo " FAILURE: AAB not found at ${aab_path} "
143128 exit 1
Original file line number Diff line number Diff line change @@ -125,21 +125,6 @@ collect_artifacts() {
125125 cp " ${aab_path} " " ${artifact_dest_dir} /${aab_dest_file} "
126126 echo " SUCCESS: AAB copied to ${artifact_dest_dir} "
127127
128- # Find and list the files before copying
129- # Store the find results in a variable to avoid running find twice
130- # and to handle the case where no files are found gracefully.
131- local intoto_files
132- intoto_files=$( find . -type f -name " *.intoto.jsonl" )
133-
134- if [ -n " $intoto_files " ]; then
135- echo " INFO: Found the following .intoto.jsonl files:"
136- echo " $intoto_files " # This will list each file on a new line
137- echo " INFO: Copying .intoto.jsonl files to ${artifact_dest_dir} /"
138- # Use print0 and xargs -0 for safe handling of filenames with spaces or special characters
139- find . -type f -name " *.intoto.jsonl" -print0 | xargs -0 -I {} cp {} " ${artifact_dest_dir} /"
140- else
141- echo " INFO: No .intoto.jsonl files found."
142- fi
143128 else
144129 echo " FAILURE: AAB not found at ${aab_path} "
145130 exit 1
Original file line number Diff line number Diff line change 11[versions ]
22# build
3- appVersionCode = " 6 "
4- appVersionName = " 1.1.4 "
3+ appVersionCode = " 7 "
4+ appVersionName = " 1.1.5 "
55agp = " 8.11.1"
66bcpkixJdk18on = " 1.81"
77compileSdk = " 36"
Original file line number Diff line number Diff line change 11build_file: " androidify/kokoro/gcp_ubuntu_docker/kokoro_build.sh"
22
3- action {
4- define_artifacts {
5- regex: " artifacts/**.aab"
6- regex: " artifacts/**.intoto.jsonl"
7- sbom_regex: " artifacts/app-release.spdx.json"
8- # Optional: Removes the "artifacts/" part from the path in the artifact storage
9- strip_prefix: " artifacts"
10- fail_if_no_artifacts: true
3+
4+ fileset_artifacts {
5+ name: " androidify_phone_aab"
6+ artifact_globs: " artifacts/app-release-unsigned.aab"
7+ artifact_globs: " artifacts/app-release.spdx.json"
8+ destinations {
9+ store_attestation: true
10+ gcs {
11+ gcs_root_path: " androidify-app-prod-kokoro-artifacts/gcp_ubuntu_docker/continuous/mobile"
12+ }
1113 }
1214}
15+
16+ # Fileset for the Wear OS App AAB
17+ fileset_artifacts {
18+ name: " androidify_wear_aab"
19+ artifact_globs: " artifacts/wear-release-unsigned.aab"
20+ destinations {
21+ store_attestation: true
22+ gcs {
23+ gcs_root_path: " androidify-app-prod-kokoro-artifacts/gcp_ubuntu_docker/continuous/wear"
24+ }
25+ }
26+ }
27+
Original file line number Diff line number Diff line change 11build_file: " androidify/kokoro/gcp_ubuntu_docker/kokoro_presubmit_build.sh"
22
3- action {
4- define_artifacts {
5- regex: " artifacts/**.aab"
6- regex: " artifacts/**.intoto.jsonl"
7- sbom_regex: " artifacts/app-release.spdx.json"
8- # Optional: Removes the "artifacts/" part from the path in the artifact storage
9- strip_prefix: " artifacts"
10- fail_if_no_artifacts: true
3+ fileset_artifacts {
4+ name: " androidify_phone_aab"
5+ artifact_globs: " artifacts/app-release-unsigned.aab"
6+ artifact_globs: " artifacts/app-release.spdx.json"
7+ destinations {
8+ store_attestation: true
9+ gcs {
10+ gcs_root_path: " androidify-app-prod-kokoro-artifacts/gcp_ubuntu_docker/presubmit/mobile"
11+ }
12+ }
13+ }
14+
15+ # Fileset for the Wear OS App AAB
16+ fileset_artifacts {
17+ name: " androidify_wear_aab"
18+ artifact_globs: " artifacts/wear-release-unsigned.aab"
19+ destinations {
20+ store_attestation: true
21+ gcs {
22+ gcs_root_path: " androidify-app-prod-kokoro-artifacts/gcp_ubuntu_docker/presubmit/wear"
23+ }
1124 }
1225}
Original file line number Diff line number Diff line change 11build_file: " androidify/kokoro/gcp_ubuntu_docker/kokoro_build.sh"
22
3- action {
4- define_artifacts {
5- regex: " artifacts/**.aab"
6- regex: " artifacts/**.intoto.jsonl"
7- sbom_regex: " artifacts/app-release.spdx.json"
3+ fileset_artifacts {
4+ name: " androidify_phone_aab"
5+ artifact_globs: " artifacts/app-release-unsigned.aab"
6+ artifact_globs: " artifacts/app-release.spdx.json"
7+ destinations {
8+ store_attestation: true
9+ gcs {
10+ gcs_root_path: " androidify-app-prod-kokoro-artifacts/gcp_ubuntu_docker/release/mobile"
11+ }
12+ }
13+ }
814
9- # Optional: Removes the "artifacts/" part from the path in the artifact storage
10- strip_prefix: " artifacts"
11- fail_if_no_artifacts: true
15+ # Fileset for the Wear OS App AAB
16+ fileset_artifacts {
17+ name: " androidify_wear_aab"
18+ artifact_globs: " artifacts/wear-release-unsigned.aab"
19+ destinations {
20+ store_attestation: true
21+ gcs {
22+ gcs_root_path: " androidify-app-prod-kokoro-artifacts/gcp_ubuntu_docker/release/wear"
23+ }
1224 }
1325}
You can’t perform that action at this time.
0 commit comments