-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: configure initial sp version (#883)
* feat: configure initial sp version * fix(test): update blob paths used in storage.it.ITStorageTest#testDownloadPublicBlobWithoutAuthentication (#759) Port of googleapis/google-cloud-go#3806 Fixes #755 * test: remove error string matching (#861) It looks like the text for this error on the backend has changed (sometimes) from "Precondition Failed" to "At least one of the pre-conditions you specified did not hold". I don't think it's really necessary to check the exact message in any case given that we do check for a code of 412, which implies a precondition failure. I added a check of the error Reason instead, which is more standardized. Fixes #853 Co-authored-by: BenWhitehead <BenWhitehead@users.noreply.github.com> Co-authored-by: Chris Cotter <cjcotter@google.com>
- Loading branch information
1 parent
12bd62c
commit e245942
Showing
2 changed files
with
66 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,79 +1,87 @@ | ||
on: | ||
'on': | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
- 1.111.3-patch | ||
pull_request: null | ||
name: ci | ||
jobs: | ||
units: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
java: [7, 8, 11] | ||
java: | ||
- 7 | ||
- 8 | ||
- 11 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-java@v1 | ||
with: | ||
java-version: ${{matrix.java}} | ||
- run: java -version | ||
- run: .kokoro/build.sh | ||
env: | ||
JOB_TYPE: test | ||
- name: coverage | ||
uses: codecov/codecov-action@v1 | ||
with: | ||
name: actions ${{matrix.java}} | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-java@v1 | ||
with: | ||
java-version: ${{matrix.java}} | ||
- run: java -version | ||
- run: .kokoro/build.sh | ||
env: | ||
JOB_TYPE: test | ||
windows: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-java@v1 | ||
with: | ||
java-version: 8 | ||
- run: java -version | ||
- run: .kokoro/build.bat | ||
env: | ||
JOB_TYPE: test | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-java@v1 | ||
with: | ||
java-version: 8 | ||
- run: java -version | ||
- run: .kokoro/build.bat | ||
env: | ||
JOB_TYPE: test | ||
dependencies: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
java: [8, 11] | ||
java: | ||
- 8 | ||
- 11 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-java@v1 | ||
with: | ||
java-version: ${{matrix.java}} | ||
- run: java -version | ||
- run: .kokoro/dependencies.sh | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-java@v1 | ||
with: | ||
java-version: ${{matrix.java}} | ||
- run: java -version | ||
- run: .kokoro/dependencies.sh | ||
linkage-monitor: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-java@v1 | ||
with: | ||
java-version: 8 | ||
- run: java -version | ||
- run: .kokoro/linkage-monitor.sh | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-java@v1 | ||
with: | ||
java-version: 8 | ||
- run: java -version | ||
- name: Install artifacts to local Maven repository | ||
run: .kokoro/build.sh | ||
shell: bash | ||
- name: >- | ||
Validate any conflicts with regard to com.google.cloud:libraries-bom | ||
(latest release) | ||
uses: >- | ||
GoogleCloudPlatform/cloud-opensource-java/linkage-monitor@v1-linkagemonitor | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-java@v1 | ||
with: | ||
java-version: 8 | ||
- run: java -version | ||
- run: .kokoro/build.sh | ||
env: | ||
JOB_TYPE: lint | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-java@v1 | ||
with: | ||
java-version: 8 | ||
- run: java -version | ||
- run: .kokoro/build.sh | ||
env: | ||
JOB_TYPE: lint | ||
clirr: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-java@v1 | ||
with: | ||
java-version: 8 | ||
- run: java -version | ||
- run: .kokoro/build.sh | ||
env: | ||
JOB_TYPE: clirr | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-java@v1 | ||
with: | ||
java-version: 8 | ||
- run: java -version | ||
- run: .kokoro/build.sh | ||
env: | ||
JOB_TYPE: clirr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters