{"repo": "aichatbot07/sellercenteral-chatbot-system", "files": {".github/workflows/ci.yml": {"acb6f7a9f5e9afc2eff38e5b6dc8fda209172211": {"t": 1785745255.4637635, "n": 2130, "h": "75c6727f4628e8a6", "c": "name: Deploy to Cloud Run\n\non:\n push:\n branches:\n - main\n\nenv:\n PROJECT_ID: spheric-engine-451615-a8\n SERVICE: chatbot-apiv2\n REGION: us-central1\n\njobs:\n deploy:\n name: Build and Deploy to Cloud Run\n runs-on: ubuntu-latest\n\n steps:\n - name: Checkout code\n uses: actions/checkout@v3\n\n # Authenticate to Google Cloud using a service account key stored in GitHub Secrets\n - name: Authenticate to Google Cloud\n uses: google-github-actions/auth@v1\n with:\n credentials_json: '${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}'\n\n - name: Set up Google Cloud SDK\n uses: google-github-actions/setup-gcloud@v1\n with:\n project_id: ${{ env.PROJECT_ID }}\n install_components: 'gcloud'\n\n - name: Configure Docker for Google Artifact Registry\n run: gcloud auth configure-docker --quiet\n\n - name: Build Docker image\n run: docker build -t gcr.io/${{ env.PROJECT_ID }}/${{ env.SERVICE }}:$GITHUB_SHA .\n\n - name: Push Docker image\n run: docker push gcr.io/${{ env.PROJECT_ID }}/${{ env.SERVICE }}:$GITHUB_SHA\n\n - name: Deploy to Cloud Run\n run: |\n gcloud run deploy ${{ env.SERVICE }} \\\n --image gcr.io/${{ env.PROJECT_ID }}/${{ env.SERVICE }}:$GITHUB_SHA \\\n --platform managed \\\n --region ${{ env.REGION }} \\\n --allow-unauthenticated \\\n --memory 4Gi \\\n --timeout 300 \\\n --service-account 1061880689774-compute@developer.gserviceaccount.com \\\n --set-secrets \"HF_TOKEN=HF_TOKEN:latest\" \\\n --set-secrets \"DEEPSEEK_API_KEY=DEEPSEEK_API_KEY:latest\" \\\n --set-secrets \"LANGFUSE_PUBLIC_KEY=LANGFUSE_PUBLIC_KEY:latest\" \\\n --set-secrets \"LANGFUSE_SECRET_KEY=LANGFUSE_SECRET_KEY:latest\" \\\n --set-secrets \"OPENAI_API_KEY=OPENAI_API_KEY:latest\" \\\n --set-secrets \"GROQ_API_KEY=GROQ_API_KEY:latest\" \\\n --set-secrets \"LANGFUSE_HOST=LANGFUSE_HOST:latest\" \\\n --set-secrets \"GOOGLE_APPLICATION_CREDENTIALS=GOOGLE_APPLICATION_CREDENTIALS:latest\"\n"}, "95ef59000415ba59dfc4cfd3e92b994767d28e8a": {"t": 1785749302.5873437, "n": 2130, "h": "75c6727f4628e8a6", "c": "name: Deploy to Cloud Run\n\non:\n push:\n branches:\n - main\n\nenv:\n PROJECT_ID: spheric-engine-451615-a8\n SERVICE: chatbot-apiv2\n REGION: us-central1\n\njobs:\n deploy:\n name: Build and Deploy to Cloud Run\n runs-on: ubuntu-latest\n\n steps:\n - name: Checkout code\n uses: actions/checkout@v3\n\n # Authenticate to Google Cloud using a service account key stored in GitHub Secrets\n - name: Authenticate to Google Cloud\n uses: google-github-actions/auth@v1\n with:\n credentials_json: '${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}'\n\n - name: Set up Google Cloud SDK\n uses: google-github-actions/setup-gcloud@v1\n with:\n project_id: ${{ env.PROJECT_ID }}\n install_components: 'gcloud'\n\n - name: Configure Docker for Google Artifact Registry\n run: gcloud auth configure-docker --quiet\n\n - name: Build Docker image\n run: docker build -t gcr.io/${{ env.PROJECT_ID }}/${{ env.SERVICE }}:$GITHUB_SHA .\n\n - name: Push Docker image\n run: docker push gcr.io/${{ env.PROJECT_ID }}/${{ env.SERVICE }}:$GITHUB_SHA\n\n - name: Deploy to Cloud Run\n run: |\n gcloud run deploy ${{ env.SERVICE }} \\\n --image gcr.io/${{ env.PROJECT_ID }}/${{ env.SERVICE }}:$GITHUB_SHA \\\n --platform managed \\\n --region ${{ env.REGION }} \\\n --allow-unauthenticated \\\n --memory 4Gi \\\n --timeout 300 \\\n --service-account 1061880689774-compute@developer.gserviceaccount.com \\\n --set-secrets \"HF_TOKEN=HF_TOKEN:latest\" \\\n --set-secrets \"DEEPSEEK_API_KEY=DEEPSEEK_API_KEY:latest\" \\\n --set-secrets \"LANGFUSE_PUBLIC_KEY=LANGFUSE_PUBLIC_KEY:latest\" \\\n --set-secrets \"LANGFUSE_SECRET_KEY=LANGFUSE_SECRET_KEY:latest\" \\\n --set-secrets \"OPENAI_API_KEY=OPENAI_API_KEY:latest\" \\\n --set-secrets \"GROQ_API_KEY=GROQ_API_KEY:latest\" \\\n --set-secrets \"LANGFUSE_HOST=LANGFUSE_HOST:latest\" \\\n --set-secrets \"GOOGLE_APPLICATION_CREDENTIALS=GOOGLE_APPLICATION_CREDENTIALS:latest\"\n"}, "ca0ee8be7df65d56dbe338f0bbcd6b6e57414bb0": {"t": 1785749304.1303678, "n": 2132, "h": "35dd3870fcde9083", "c": "name: Deploy to Cloud Run\n\non:\n push:\n branches:\n - main\n\nenv:\n PROJECT_ID: spheric-engine-451615-a8\n SERVICE: chatbot-apiv2\n REGION: us-central1\n\njobs:\n deploy:\n name: Build and Deploy to Cloud Run\n runs-on: ubuntu-latest\n\n steps:\n - name: Checkout code\n uses: actions/checkout@v3\n\n # ✅ Authenticate to Google Cloud using a service account key stored in GitHub Secrets\n - name: Authenticate to Google Cloud\n uses: google-github-actions/auth@v1\n with:\n credentials_json: '${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}'\n\n - name: Set up Google Cloud SDK\n uses: google-github-actions/setup-gcloud@v1\n with:\n project_id: ${{ env.PROJECT_ID }}\n install_components: 'gcloud'\n\n - name: Configure Docker for Google Artifact Registry\n run: gcloud auth configure-docker --quiet\n\n - name: Build Docker image\n run: docker build -t gcr.io/${{ env.PROJECT_ID }}/${{ env.SERVICE }}:$GITHUB_SHA .\n\n - name: Push Docker image\n run: docker push gcr.io/${{ env.PROJECT_ID }}/${{ env.SERVICE }}:$GITHUB_SHA\n\n - name: Deploy to Cloud Run\n run: |\n gcloud run deploy ${{ env.SERVICE }} \\\n --image gcr.io/${{ env.PROJECT_ID }}/${{ env.SERVICE }}:$GITHUB_SHA \\\n --platform managed \\\n --region ${{ env.REGION }} \\\n --allow-unauthenticated \\\n --memory 4Gi \\\n --timeout 300 \\\n --service-account 1061880689774-compute@developer.gserviceaccount.com \\\n --set-secrets \"HF_TOKEN=HF_TOKEN:latest\" \\\n --set-secrets \"DEEPSEEK_API_KEY=DEEPSEEK_API_KEY:latest\" \\\n --set-secrets \"LANGFUSE_PUBLIC_KEY=LANGFUSE_PUBLIC_KEY:latest\" \\\n --set-secrets \"LANGFUSE_SECRET_KEY=LANGFUSE_SECRET_KEY:latest\" \\\n --set-secrets \"OPENAI_API_KEY=OPENAI_API_KEY:latest\" \\\n --set-secrets \"GROQ_API_KEY=GROQ_API_KEY:latest\" \\\n --set-secrets \"LANGFUSE_HOST=LANGFUSE_HOST:latest\" \\\n --set-secrets \"GOOGLE_APPLICATION_CREDENTIALS=GOOGLE_APPLICATION_CREDENTIALS:latest\"\n"}, "cf762a6cb971a5d75c00cf7b2b07eb950e08f278": {"t": 1785749305.3564994, "n": 2140, "h": "d0283b4deaa05f9b", "c": "name: Deploy to Cloud Run\n\non:\n push:\n branches:\n - main\n\nenv:\n PROJECT_ID: spheric-engine-451615-a8\n SERVICE: sellercentral-chatbot\n REGION: us-central1\n\njobs:\n deploy:\n name: Build and Deploy to Cloud Run\n runs-on: ubuntu-latest\n\n steps:\n - name: Checkout code\n uses: actions/checkout@v3\n\n # ✅ Authenticate to Google Cloud using a service account key stored in GitHub Secrets\n - name: Authenticate to Google Cloud\n uses: google-github-actions/auth@v1\n with:\n credentials_json: '${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}'\n\n - name: Set up Google Cloud SDK\n uses: google-github-actions/setup-gcloud@v1\n with:\n project_id: ${{ env.PROJECT_ID }}\n install_components: 'gcloud'\n\n - name: Configure Docker for Google Artifact Registry\n run: gcloud auth configure-docker --quiet\n\n - name: Build Docker image\n run: docker build -t gcr.io/${{ env.PROJECT_ID }}/${{ env.SERVICE }}:$GITHUB_SHA .\n\n - name: Push Docker image\n run: docker push gcr.io/${{ env.PROJECT_ID }}/${{ env.SERVICE }}:$GITHUB_SHA\n\n - name: Deploy to Cloud Run\n run: |\n gcloud run deploy ${{ env.SERVICE }} \\\n --image gcr.io/${{ env.PROJECT_ID }}/${{ env.SERVICE }}:$GITHUB_SHA \\\n --platform managed \\\n --region ${{ env.REGION }} \\\n --allow-unauthenticated \\\n --memory 4Gi \\\n --timeout 300 \\\n --service-account 1061880689774-compute@developer.gserviceaccount.com \\\n --set-secrets \"HF_TOKEN=HF_TOKEN:latest\" \\\n --set-secrets \"DEEPSEEK_API_KEY=DEEPSEEK_API_KEY:latest\" \\\n --set-secrets \"LANGFUSE_PUBLIC_KEY=LANGFUSE_PUBLIC_KEY:latest\" \\\n --set-secrets \"LANGFUSE_SECRET_KEY=LANGFUSE_SECRET_KEY:latest\" \\\n --set-secrets \"OPENAI_API_KEY=OPENAI_API_KEY:latest\" \\\n --set-secrets \"GROQ_API_KEY=GROQ_API_KEY:latest\" \\\n --set-secrets \"LANGFUSE_HOST=LANGFUSE_HOST:latest\" \\\n --set-secrets \"GOOGLE_APPLICATION_CREDENTIALS=GOOGLE_APPLICATION_CREDENTIALS:latest\"\n"}, "a2c1df83d54f196cff93b6c3138963d44ce92370": {"t": 1785749306.4693155, "n": 1694, "h": "59dd57f9db0cce45", "c": "name: CI/CD Deploy to Cloud Run\n\non:\n push:\n branches:\n - main\n\njobs:\n build-and-deploy:\n name: Build and Deploy to Cloud Run\n runs-on: ubuntu-latest\n\n steps:\n - name: Checkout Repository\n uses: actions/checkout@v3\n \n - name: Authenticate to Google Cloud\n uses: google-github-actions/auth@v1\n with:\n credentials_json: '${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}'\n\n - name: Set up Google Cloud SDK\n uses: google-github-actions/setup-gcloud@v1\n with:\n project_id: spheric-engine-451615-a8\n install_components: 'gcloud'\n\n - name: Build Docker Image\n run: |\n docker build -t gcr.io/spheric-engine-451615-a8/sellercentral-chatbot:$GITHUB_SHA .\n\n - name: Push Docker Image to GCR\n run: |\n docker push gcr.io/spheric-engine-451615-a8/sellercentral-chatbot:$GITHUB_SHA\n\n - name: Deploy to Cloud Run\n run: |\n gcloud run deploy sellercentral-chatbot \\\n --image gcr.io/spheric-engine-451615-a8/sellercentral-chatbot:$GITHUB_SHA \\\n --platform managed \\\n --region us-central1 \\\n --allow-unauthenticated \\\n --memory 4Gi \\\n --timeout 300 \\\n --set-env-vars \"DEEPSEEK_API_KEY=${{ secrets.DEEPSEEK_API_KEY }},OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }},HF_TOKEN=${{ secrets.HF_TOKEN }},GROQ_API_KEY=${{ secrets.GROQ_API_KEY }},LANGFUSE_PUBLIC_KEY=${{ secrets.LANGFUSE_PUBLIC_KEY }},LANGFUSE_SECRET_KEY=${{ secrets.LANGFUSE_SECRET_KEY }},LANGFUSE_HOST=${{ secrets.LANGFUSE_HOST }}\" \\\n --service-account 1061880689774-compute@developer.gserviceaccount.com\n"}, "826684a993ddad8b060e869d7dc075a43a9be636": {"t": 1785749307.5516818, "n": 1671, "h": "b186991c564546dc", "c": "name: CI/CD Deploy to Cloud Run\n\non:\n push:\n branches:\n - main\n\njobs:\n build-and-deploy:\n name: Build and Deploy to Cloud Run\n runs-on: ubuntu-latest\n\n steps:\n - name: Checkout Repository\n uses: actions/checkout@v3\n\n - name: Set up Google Cloud CLI\n uses: google-github-actions/setup-gcloud@v1\n with:\n project_id: spheric-engine-451615-a8\n service_account_key: ${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}\n export_default_credentials: true\n\n - name: Configure Docker for GCP\n run: gcloud auth configure-docker\n\n - name: Build Docker Image\n run: |\n docker build -t gcr.io/spheric-engine-451615-a8/sellercentral-chatbot:$GITHUB_SHA .\n\n - name: Push Docker Image to GCR\n run: |\n docker push gcr.io/spheric-engine-451615-a8/sellercentral-chatbot:$GITHUB_SHA\n\n - name: Deploy to Cloud Run\n run: |\n gcloud run deploy sellercentral-chatbot \\\n --image gcr.io/spheric-engine-451615-a8/sellercentral-chatbot:$GITHUB_SHA \\\n --platform managed \\\n --region us-central1 \\\n --allow-unauthenticated \\\n --memory 4Gi \\\n --timeout 300 \\\n --set-env-vars \"DEEPSEEK_API_KEY=${{ secrets.DEEPSEEK_API_KEY }},OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }},HF_TOKEN=${{ secrets.HF_TOKEN }},GROQ_API_KEY=${{ secrets.GROQ_API_KEY }},LANGFUSE_PUBLIC_KEY=${{ secrets.LANGFUSE_PUBLIC_KEY }},LANGFUSE_SECRET_KEY=${{ secrets.LANGFUSE_SECRET_KEY }},LANGFUSE_HOST=${{ secrets.LANGFUSE_HOST }}\" \\\n --service-account 1061880689774-compute@developer.gserviceaccount.com\n"}, "b8f3a3d626c0e528d5088a37a9e388949fe53ce3": {"t": 1785749308.6281517, "n": 1965, "h": "687943e32a5a4406", "c": "name: Build and Deploy to Cloud Run\non:\n push:\n branches: [main]\n\njobs:\n build-deploy:\n runs-on: ubuntu-latest\n\n steps:\n - name: Checkout code\n uses: actions/checkout@v3\n\n - name: Set up gcloud CLI\n uses: google-github-actions/setup-gcloud@v0\n with:\n service_account_key: ${{ secrets.GCP_SA_KEY }}\n project_id: ${{ secrets.GCP_PROJECT_ID }}\n export_default_credentials: true\n\n - name: Configure Docker for GCR\n run: gcloud auth configure-docker --quiet\n\n - name: Build and Push Docker image\n env:\n IMAGE_NAME: sellercentral-chatbot\n PROJECT_ID: ${{ secrets.GCP_PROJECT_ID }}\n TAG: ${{ github.sha }}\n run: |\n docker build -t gcr.io/$PROJECT_ID/$IMAGE_NAME:$TAG .\n docker push gcr.io/$PROJECT_ID/$IMAGE_NAME:$TAG\n\n - name: Deploy to Cloud Run\n env:\n PROJECT_ID: ${{ secrets.GCP_PROJECT_ID }}\n run: |\n gcloud run deploy sellercentral-chatbot \\\n --image gcr.io/$PROJECT_ID/sellercentral-chatbot:${{ github.sha }} \\\n --region us-central1 \\\n --platform managed \\\n --allow-unauthenticated \\\n --memory 4Gi \\\n --timeout 300 \\\n --service-account ${{ secrets.CLOUDRUN_SA_EMAIL }} \\\n --set-env-vars DEEPSEEK_API_KEY=${{ secrets.DEEPSEEK_API_KEY }},\\\n OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }},\\\n HF_TOKEN=${{ secrets.HF_TOKEN }},\\\n GROQ_API_KEY=${{ secrets.GROQ_API_KEY }},\\\n LANGFUSE_PUBLIC_KEY=${{ secrets.LANGFUSE_PUBLIC_KEY }},\\\n LANGFUSE_SECRET_KEY=${{ secrets.LANGFUSE_SECRET_KEY }},\\\n LANGFUSE_HOST=${{ secrets.LANGFUSE_HOST }},\\\n GOOGLE_APPLICATION_CREDENTIALS=${{ secrets.GOOGLE_APPLICATION_CREDENTIALS }}\n"}, "689a5e28bde93741ca034ca96af1e1c2ff335037": {"t": 1785749309.7015371, "n": 697, "h": "c3529fbb3b94841f", "c": "name: CI/CD Pipeline\n\non:\n push:\n branches:\n - main\n\njobs:\n test-deploy:\n runs-on: ubuntu-latest\n\n steps:\n # Checkout code from repository\n - name: Checkout code\n uses: actions/checkout@v3\n\n # Set up Python environment\n - name: Set up Python 3.x environment\n uses: actions/setup-python@v4\n with:\n python-version: '3.9'\n\n # Install dependencies from requirements.txt\n - name: Install dependencies\n run: |\n python -m pip install --upgrade pip setuptools wheel\n pip install -r requirements.txt\n\n # Run unit tests using pytest\n - name: Run unit tests with pytest\n run: pytest tests/\n"}}}}