From 2a458ec7e658e9f83a711862956577c596be5343 Mon Sep 17 00:00:00 2001 From: Simon Larsen Date: Mon, 15 Jul 2024 09:49:21 -0600 Subject: [PATCH] chore: Update Docker configuration for Copilot debugging --- .github/workflows/reliability-copilot.yml | 12 +++--------- App/FeatureSet/Docs/Content/copilot/introduction.md | 2 -- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/.github/workflows/reliability-copilot.yml b/.github/workflows/reliability-copilot.yml index 9d03280748..6ec71063fd 100644 --- a/.github/workflows/reliability-copilot.yml +++ b/.github/workflows/reliability-copilot.yml @@ -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' \ No newline at end of file + -e ONEUPTIME_LLM_SERVER_URL='http://57.128.112.160:8547' \ + oneuptime/copilot:test \ No newline at end of file diff --git a/App/FeatureSet/Docs/Content/copilot/introduction.md b/App/FeatureSet/Docs/Content/copilot/introduction.md index dfbaeb5e0a..335e006741 100644 --- a/App/FeatureSet/Docs/Content/copilot/introduction.md +++ b/App/FeatureSet/Docs/Content/copilot/introduction.md @@ -104,8 +104,6 @@ jobs: analyze: name: Analyze Code runs-on: ubuntu-latest - env: - CI_PIPELINE_ID: ${{github.run_number}} steps: