Skip to content

Commit 3d4b4f5

Browse files
committed
Revert circle ci and github template changes from 2.12.1
1 parent f0659b4 commit 3d4b4f5

File tree

2 files changed

+30
-12
lines changed

2 files changed

+30
-12
lines changed

.circleci/config.yml

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,22 @@ commands:
1717
circleci step halt
1818
fi
1919
20+
generate_gradle_wrapper:
21+
description: >-
22+
Downloads and install gradle 4.10.2
23+
steps:
24+
- run:
25+
name: Download gradle zip
26+
command: |
27+
cd ~
28+
wget https://services.gradle.org/distributions/gradle-4.10.2-bin.zip
29+
unzip gradle-4.10.2-bin.zip
30+
- run:
31+
name: Generate wrapper
32+
command: |
33+
cd ~/code # This is a pre-defined location
34+
~/gradle-4.10.2/bin/gradle wrapper
35+
2036
configure_aws:
2137
description: >-
2238
install aws cli and configure android aws release profile
@@ -148,9 +164,11 @@ jobs:
148164
JVM_OPTS: -Xmx3200m
149165
steps:
150166
- checkout
167+
- generate_gradle_wrapper
151168
- run:
152169
name: build the whole project
153-
command: bash gradlew build -x test
170+
command: |
171+
bash gradlew build -x test
154172
- run:
155173
name: copy libs
156174
command: |
@@ -169,6 +187,7 @@ jobs:
169187
JVM_OPTS: -Xmx1024m
170188
steps:
171189
- checkout
190+
- generate_gradle_wrapper
172191
- run:
173192
name: run unit tests
174193
command: |
@@ -443,6 +462,7 @@ jobs:
443462
- run:
444463
name: run integration tests
445464
command: |
465+
aws s3 cp s3://android-circleci-payload/gradle-wrapper.jar gradle/wrapper/gradle-wrapper.jar
446466
echo "${ANDROID_TESTS_CREDENTIALS_JSON}" | base64 -di > awsconfiguration.json
447467
python3 CircleciScripts/run_integrationtest.py "~/test_results" "$(pwd)" "$(pwd)/awsconfiguration.json"
448468
- run:
@@ -455,7 +475,7 @@ jobs:
455475
else
456476
echo "There are test failures"
457477
exit 1
458-
fi
478+
fi
459479
- store_artifacts:
460480
path: "~/test_results"
461481
uitest:
@@ -493,6 +513,7 @@ jobs:
493513
name: run sample ui test
494514
command: |
495515
cd aws-sdk-android-samples/S3TransferUtilitySample
516+
aws s3 cp s3://android-circleci-payload/gradle-wrapper.jar gradle/wrapper/gradle-wrapper.jar
496517
bash gradlew connectedAndroidTest
497518
- store_artifacts:
498519
path: "aws-sdk-android-samples/S3TransferUtilitySample/build/outputs"

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,10 @@ about: Create a report to help us improve
88
A clear and concise description of what the bug is.
99

1010
**To Reproduce**
11-
Steps to reproduce the behavior:
12-
1. Go to '...'
13-
2. Click on '....'
14-
3. Scroll down to '....'
15-
4. See error
11+
A code sample or steps:
12+
```
13+
Your code
14+
```
1615

1716
**Which AWS service(s) are affected?**
1817

@@ -22,13 +21,11 @@ A clear and concise description of what you expected to happen.
2221
**Screenshots**
2322
If applicable, add screenshots to help explain your problem.
2423

25-
**Environment(please complete the following information):**
26-
- SDK Version: [e.g. 2.6.25]
27-
28-
**Device Information (please complete the following information):**
24+
**Environment Information (please complete the following information):**
25+
- AWS Android SDK Version: [e.g. 2.6.25]
2926
- Device: [e.g. Pixel XL, Simulator]
3027
- Android Version: [e.g. Nougat 7.1.2]
31-
- Specific to simulators:
28+
- Specific to simulators: [e.g. Yes/No]
3229

3330
**Additional context**
3431
Add any other context about the problem here.

0 commit comments

Comments
 (0)