mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 22:59:07 +00:00
chore: Update Docker configuration for Copilot debugging
This commit is contained in:
parent
2c02a62e63
commit
2a458ec7e6
12
.github/workflows/reliability-copilot.yml
vendored
12
.github/workflows/reliability-copilot.yml
vendored
@ -17,22 +17,16 @@ jobs:
|
||||
analyze:
|
||||
name: Analyze Code
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
CI_PIPELINE_ID: ${{github.run_number}}
|
||||
permissions:
|
||||
actions: read
|
||||
# We will never commit to the main/master branch. We will always create a PR.
|
||||
contents: write
|
||||
security-events: write
|
||||
|
||||
steps:
|
||||
|
||||
# Run Reliability Copilot in Doker Container
|
||||
- name: Run Copilot
|
||||
run: |
|
||||
docker run --rm oneuptime/copilot:test \
|
||||
docker run --rm \
|
||||
-e ONEUPTIME_URL='https://test.oneuptime.com' \
|
||||
-e ONEUPTIME_REPOSITORY_SECRET_KEY=${{ secrets.COPILOT_ONEUPTIME_REPOSITORY_SECRET_KEY }} \
|
||||
-e CODE_REPOSITORY_PASSWORD=${{ github.token }} \
|
||||
-e CODE_REPOSITORY_USERNAME='simlarsen' \
|
||||
-e ONEUPTIME_LLM_SERVER_URL='http://57.128.112.160:8547'
|
||||
-e ONEUPTIME_LLM_SERVER_URL='http://57.128.112.160:8547' \
|
||||
oneuptime/copilot:test
|
@ -104,8 +104,6 @@ jobs:
|
||||
analyze:
|
||||
name: Analyze Code
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
CI_PIPELINE_ID: ${{github.run_number}}
|
||||
|
||||
steps:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user