palantir-deploy-integration

Featured

Deploy Palantir Foundry integrations to cloud platforms with secrets management. Use when deploying Foundry-powered applications to production, configuring platform-specific secrets, or setting up deployment pipelines. Trigger with phrases like "deploy palantir", "foundry deploy", "palantir production deploy", "foundry Cloud Run".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Palantir Deploy Integration ## Overview Deploy Foundry-integrated applications to cloud platforms (GCP Cloud Run, AWS Lambda, Docker) with proper secrets management and health checks. ## Prerequisites - Passing CI tests: `palantir-ci-integration` - Production OAuth2 credentials from Developer Console - Cloud platform CLI configured (gcloud, aws, etc.) ## Instructions ### Step 1: Dockerfile ```dockerfile FROM python:3.11-slim WORKDIR /app COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt COPY src/ ./src/ EXPOSE 8080 CMD ["uvicorn", "src.main:app", "--host", "0.0.0.0", "--port", "8080"] ``` ### Step 2: Deploy to Google Cloud Run ```bash set -euo pipefail PROJECT_ID=$(gcloud config get-value project) SERVICE_NAME="foundry-integration" REGION="us-central1" # Build and push container gcloud builds submit --tag "gcr.io/$PROJECT_ID/$SERVICE_NAME" # Deploy with secrets from Secret Manager gcloud run deploy "$SERVICE_NAME" \ --image "gcr.io/$PROJECT_ID/$SERVICE_NAME" \ --region "$REGION" \ --set-secrets "FOUNDRY_HOSTNAME=foundry-hostname:latest" \ --set-secrets "FOUNDRY_CLIENT_ID=foundry-client-id:latest" \ --set-secrets "FOUNDRY_CLIENT_SECRET=foundry-client-secret:latest" \ --min-instances 1 \ --max-instances 10 \ --timeout 60 \ --allow-unauthenticated ``` ### Step 3: Health Check Endpoint ```python # src/main.py from fastapi import FastAPI import foundry, os app = FastAPI() @app.get("/health") async def health(): try: ...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category