mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-01-10 07:38:04 -05:00
ci: Allow telemetry for non-push events, as long as it's on master
Also disable telemetry for AutoGPT's unit/integration tests.
This commit is contained in:
2
.github/workflows/autogpt-ci.yml
vendored
2
.github/workflows/autogpt-ci.yml
vendored
@@ -165,8 +165,6 @@ jobs:
|
||||
CI: true
|
||||
PLAIN_OUTPUT: True
|
||||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||
TELEMETRY_ENVIRONMENT: autogpt-ci
|
||||
TELEMETRY_OPT_IN: ${{ github.event_name == 'push' && github.ref_name == 'master' }}
|
||||
S3_ENDPOINT_URL: http://localhost:9000
|
||||
AWS_ACCESS_KEY_ID: minioadmin
|
||||
AWS_SECRET_ACCESS_KEY: minioadmin
|
||||
|
||||
3
.github/workflows/autogpt-docker-ci.yml
vendored
3
.github/workflows/autogpt-docker-ci.yml
vendored
@@ -27,9 +27,6 @@ env:
|
||||
DEPLOY_IMAGE_NAME: ${{ secrets.DOCKER_USER }}/auto-gpt
|
||||
DEV_IMAGE_TAG: latest-dev
|
||||
|
||||
TELEMETRY_ENVIRONMENT: autogpt-docker-ci
|
||||
TELEMETRY_OPT_IN: ${{ github.event_name == 'push' && github.ref_name == 'master' }}
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
2
.github/workflows/autogpts-benchmark.yml
vendored
2
.github/workflows/autogpts-benchmark.yml
vendored
@@ -62,7 +62,7 @@ jobs:
|
||||
REPORTS_FOLDER: ${{ format('../../{0}', env.REPORTS_FOLDER) }} # account for changed workdir
|
||||
|
||||
TELEMETRY_ENVIRONMENT: autogpt-benchmark-ci
|
||||
TELEMETRY_OPT_IN: ${{ github.event_name == 'push' && github.ref_name == 'master' }}
|
||||
TELEMETRY_OPT_IN: ${{ github.ref_name == 'master' }}
|
||||
|
||||
- name: Push reports to data branch
|
||||
run: |
|
||||
|
||||
2
.github/workflows/autogpts-ci.yml
vendored
2
.github/workflows/autogpts-ci.yml
vendored
@@ -66,4 +66,4 @@ jobs:
|
||||
HELICONE_PROPERTY_AGENT: ${{ matrix.agent-name }}
|
||||
REPORTS_FOLDER: ${{ format('../../reports/{0}', matrix.agent-name) }}
|
||||
TELEMETRY_ENVIRONMENT: autogpt-ci
|
||||
TELEMETRY_OPT_IN: ${{ github.event_name == 'push' && github.ref_name == 'master' }}
|
||||
TELEMETRY_OPT_IN: ${{ github.ref_name == 'master' }}
|
||||
|
||||
2
.github/workflows/benchmark-ci.yml
vendored
2
.github/workflows/benchmark-ci.yml
vendored
@@ -138,4 +138,4 @@ jobs:
|
||||
env:
|
||||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
|
||||
TELEMETRY_ENVIRONMENT: autogpt-benchmark-ci
|
||||
TELEMETRY_OPT_IN: ${{ github.event_name == 'push' && github.ref_name == 'master' }}
|
||||
TELEMETRY_OPT_IN: ${{ github.ref_name == 'master' }}
|
||||
|
||||
Reference in New Issue
Block a user