Skip to content

Commit

Permalink
Merge pull request #2130 from bugsnag/release/v6.11.0
Browse files Browse the repository at this point in the history
Release/v6.11.0
  • Loading branch information
YYChen01988 authored Jan 22, 2025
2 parents dc9d5fc + 90a44bd commit 871763c
Show file tree
Hide file tree
Showing 65 changed files with 1,730 additions and 730 deletions.
9 changes: 7 additions & 2 deletions .buildkite/block.step.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
agents:
queue: 'macos'

steps:
- block: 'Trigger full build'
- label:
block: 'Trigger full build'
key: 'trigger-full-build'

- label: 'Upload the full test pipeline'
depends_on: 'trigger-full-build'
command: buildkite-agent pipeline upload .buildkite/pipeline.full.yml
command: buildkite-agent pipeline upload .buildkite/pipeline.full.yml
timeout_in_minutes: 5
20 changes: 12 additions & 8 deletions .buildkite/pipeline.full.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
agents:
queue: 'opensource'

steps:
- label: ':android: Build minimal fixture APK'
key: "fixture-minimal"
Expand All @@ -10,7 +13,7 @@ steps:
JAVA_VERSION: 17

- label: ':android: Build Example App'
timeout_in_minutes: 5
timeout_in_minutes: 10
agents:
queue: macos-14
command: 'make example-app'
Expand Down Expand Up @@ -230,7 +233,7 @@ steps:

- label: ':browserstack: Android 7 NDK r19 end-to-end tests - ANRs'
depends_on: "fixture-r19"
timeout_in_minutes: 60
timeout_in_minutes: 30
plugins:
artifacts#v1.9.0:
download:
Expand Down Expand Up @@ -328,7 +331,7 @@ steps:

- label: ':browserstack: Android 8 NDK r19 end-to-end tests - ANRs'
depends_on: "fixture-r19"
timeout_in_minutes: 60
timeout_in_minutes: 30
plugins:
artifacts#v1.9.0:
download:
Expand Down Expand Up @@ -428,7 +431,7 @@ steps:

- label: ':bitbar: Android 9 NDK r21 end-to-end tests - ANRs'
depends_on: "fixture-r21"
timeout_in_minutes: 60
timeout_in_minutes: 30
plugins:
artifacts#v1.9.0:
download:
Expand Down Expand Up @@ -529,7 +532,7 @@ steps:

- label: ':browserstack: Android 10 NDK r21 end-to-end tests - ANRs'
depends_on: "fixture-r21"
timeout_in_minutes: 60
timeout_in_minutes: 30
plugins:
artifacts#v1.9.0:
download:
Expand Down Expand Up @@ -634,7 +637,7 @@ steps:

- label: ':browserstack: Android 11 NDK r21 end-to-end tests - ANRs'
depends_on: "fixture-r21"
timeout_in_minutes: 60
timeout_in_minutes: 30
plugins:
artifacts#v1.9.0:
download:
Expand Down Expand Up @@ -735,7 +738,7 @@ steps:

- label: ':browserstack: Android 13 NDK r21 end-to-end tests - ANRs'
depends_on: "fixture-r21"
timeout_in_minutes: 60
timeout_in_minutes: 30
plugins:
artifacts#v1.9.0:
download:
Expand Down Expand Up @@ -836,7 +839,7 @@ steps:

- label: ':browserstack: Android 14 NDK r21 end-to-end tests - ANRs'
depends_on: "fixture-r21"
timeout_in_minutes: 60
timeout_in_minutes: 30
plugins:
artifacts#v1.9.0:
download:
Expand Down Expand Up @@ -891,6 +894,7 @@ steps:
- label: 'Publish :rocket:'
if: build.branch == "master"
depends_on: 'android-common'
timeout_in_minutes: 30
env:
BUILDKITE_PLUGIN_S3_SECRETS_BUCKET_PREFIX: bugsnag-android-publish
plugins:
Expand Down
36 changes: 19 additions & 17 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
agents:
queue: 'opensource'

steps:

- label: 'Audit current licenses'
Expand Down Expand Up @@ -105,7 +108,7 @@ steps:
#
- label: ':bitbar: Android 7 NDK r19 smoke tests'
depends_on: "fixture-r19"
timeout_in_minutes: 60
timeout_in_minutes: 30
plugins:
artifacts#v1.9.0:
download:
Expand Down Expand Up @@ -139,7 +142,7 @@ steps:

- label: ':browserstack: Android 7 NDK r19 ANR smoke tests'
depends_on: "fixture-r19"
timeout_in_minutes: 60
timeout_in_minutes: 30
plugins:
artifacts#v1.9.0:
download:
Expand Down Expand Up @@ -170,7 +173,7 @@ steps:

- label: ':bitbar: Android 8 NDK r19 smoke tests'
depends_on: "fixture-r19"
timeout_in_minutes: 60
timeout_in_minutes: 30
plugins:
artifacts#v1.9.0:
download:
Expand Down Expand Up @@ -202,7 +205,7 @@ steps:

- label: ':browserstack: Android 8 NDK r19 ANR smoke tests'
depends_on: "fixture-r19"
timeout_in_minutes: 60
timeout_in_minutes: 30
plugins:
artifacts#v1.9.0:
download:
Expand Down Expand Up @@ -231,7 +234,7 @@ steps:

- label: ':bitbar: Android 9 NDK r21 smoke tests'
depends_on: "fixture-r21"
timeout_in_minutes: 60
timeout_in_minutes: 30
plugins:
artifacts#v1.9.0:
download:
Expand Down Expand Up @@ -265,7 +268,7 @@ steps:

- label: ':browserstack: Android 9 NDK r21 ANR smoke tests'
depends_on: "fixture-r21"
timeout_in_minutes: 60
timeout_in_minutes: 30
plugins:
artifacts#v1.9.0:
download:
Expand All @@ -292,7 +295,7 @@ steps:

- label: ':bitbar: Android 10 NDK r21 smoke tests'
depends_on: "fixture-r21"
timeout_in_minutes: 60
timeout_in_minutes: 30
plugins:
artifacts#v1.9.0:
download:
Expand Down Expand Up @@ -326,7 +329,7 @@ steps:

- label: ':browserstack: Android 10 NDK r21 ANR smoke tests'
depends_on: "fixture-r21"
timeout_in_minutes: 60
timeout_in_minutes: 30
plugins:
artifacts#v1.9.0:
download:
Expand Down Expand Up @@ -358,7 +361,7 @@ steps:
- label: ':bitbar: Android 11 NDK r21 smoke tests'
key: 'android-11-smoke'
depends_on: "fixture-r21"
timeout_in_minutes: 60
timeout_in_minutes: 30
plugins:
artifacts#v1.9.0:
download:
Expand Down Expand Up @@ -393,7 +396,7 @@ steps:
- label: ':browserstack: Android 11 NDK r21 ANR smoke tests'
key: 'android-11-anr-smoke'
depends_on: "fixture-r21"
timeout_in_minutes: 60
timeout_in_minutes: 30
plugins:
artifacts#v1.9.0:
download:
Expand Down Expand Up @@ -532,7 +535,7 @@ steps:

- label: ':bitbar: Android 13 NDK r21 smoke tests'
depends_on: "fixture-r21"
timeout_in_minutes: 60
timeout_in_minutes: 30
plugins:
artifacts#v1.9.0:
download:
Expand Down Expand Up @@ -566,7 +569,7 @@ steps:

- label: ':browserstack: Android 13 NDK r21 ANR smoke tests'
depends_on: "fixture-r21"
timeout_in_minutes: 60
timeout_in_minutes: 30
plugins:
artifacts#v1.9.0:
download:
Expand Down Expand Up @@ -597,7 +600,7 @@ steps:

- label: ':bitbar: Android 14 NDK r21 smoke tests'
depends_on: "fixture-r21"
timeout_in_minutes: 60
timeout_in_minutes: 30
plugins:
artifacts#v1.9.0:
download:
Expand Down Expand Up @@ -631,7 +634,7 @@ steps:

- label: ':browserstack: Android 14 NDK r21 ANR smoke tests'
depends_on: "fixture-r21"
timeout_in_minutes: 60
timeout_in_minutes: 30
plugins:
artifacts#v1.9.0:
download:
Expand Down Expand Up @@ -660,9 +663,8 @@ steps:
concurrency_group: 'browserstack-app'
concurrency_method: eager


- label: 'Conditionally include device farms/full tests'
agents:
queue: macos-14
queue: macos
command: sh -c .buildkite/pipeline_trigger.sh

timeout_in_minutes: 10
78 changes: 41 additions & 37 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
# supported CodeQL languages.
#
name: "CodeQL"
permissions: read-all

on:
push:
Expand All @@ -26,7 +27,7 @@ env:
jobs:
analyze:
name: Analyze
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-22.04' }}
permissions:
actions: read
contents: read
Expand All @@ -42,49 +43,52 @@ jobs:
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: recursive
- uses: gradle/wrapper-validation-action@v1
- name: Checkout repository
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 #v3.6.0
with:
submodules: recursive
- uses: gradle/wrapper-validation-action@56b90f209b02bf6d1deae490e9ef18b21a389cd4 #v1.1.0

- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: 11
- uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 #v3.13.0
with:
distribution: 'zulu'
java-version: 11

- name: Gradle cache
uses: gradle/gradle-build-action@v2
- name: Gradle cache
uses: gradle/gradle-build-action@a8f75513eafdebd8141bd1cd4e30fcd194af8dfa #v2.12.0

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@396bb3e45325a47dd9ef434068033c6d5bb0d11a #v3.27.3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality
# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality


# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v3
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
# uses: github/codeql-action/autobuild@396bb3e45325a47dd9ef434068033c6d5bb0d11a #v3.27.3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun

# If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
# If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.

# - run: |
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh
# - run: |
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh
run: |
echo "Run, Build Application using script"
./gradlew --no-daemon assemble
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@396bb3e45325a47dd9ef434068033c6d5bb0d11a #v3.27.3
with:
category: "/language:${{matrix.language}}"
1 change: 1 addition & 0 deletions .github/workflows/downstream_updates.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: downstream-updates
permissions: read-all

on:
release:
Expand Down
Loading

0 comments on commit 871763c

Please sign in to comment.