Skip to content

How to add private Python packages to a Dagster cloud deployment? #12340

Answered by shalabhc
shalabhc asked this question in Q&A
Discussion options

You must be logged in to vote

If you use fast deploys in your workflow, the following steps can install a private package as a dependency to your dagster cloud project. If you have ENABLE_FAST_DEPLOYS: "true" in your .github/workflows/deploy.yml then you use fast deploys.

  1. In your deploy.yml file, add the following to the top of steps: section in the dagster-cloud-default-deploy job.
      - name: Checkout internal repository
        uses: actions/checkout@v3
        with:
          token: ${{ secrets.GH_PAT }}
          repository: my-org/private-repo
          path: deps/private-repo
          ref: some-branch   # optional to check out a specific branch
      
      - name: Build a wheel
        # adjust the `cd` command to cd into the directory with setu…

Replies: 4 comments 4 replies

Comment options

shalabhc
Feb 14, 2023
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by johannkm
Comment options

You must be logged in to vote
2 replies
@shalabhc
Comment options

shalabhc Nov 9, 2023
Maintainer Author

@pcadmanbosse
Comment options

Comment options

You must be logged in to vote
1 reply
@tyler-hanson
Comment options

Comment options

You must be logged in to vote
1 reply
@jboreiko
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area: deployment Related to deploying Dagster Dagster+ Relates to Dagster paid plans
6 participants