-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rattler-build login #334
Comments
This actually got more important for us now. runs-on: macos-latest
timeout-minutes: 5
...
- name: Install rattler-build
uses: mamba-org/setup-micromamba@54d4d5980e1a4aa7cdc8b050cf2d19b7e262ce18
with:
environment-name: build
create-args: >-
rattler-build=0.6.0
cache-environment: true
- uses: prefix-dev/setup-pixi@ccc5c07ed948b849df4b3578d785f3afd7465c67
with:
run-install: false
auth-host: https://my-quetz-instance.com
auth-conda-token: ${{ secrets.QUETZ_API_KEY }}
- name: Build conda package
run: >-
rattler-build build
--recipe conda.recipe/recipe.yaml
-c conda-forge
-c https://my-quetz-instance.com/get/private-channel Looking at the logs of this workflow, I can see the following:
What's happening is that |
You can get
|
@0xbe7a's hack works on M1 runners (rattler-build is signed there by default). On regular x64 runners, you still need to run But then, it works. |
Hi @0xbe7a and @pavelzw – is the problem that the I do like Bela's force fallback storage option. I am wondering if we should instead implement this as another "auth storage" using generics. |
yeah, that's one problem
This won't fix our specific use case since we are installing rattler-build straight from conda-forge |
With the newest echo '{"my.quetz.server": {"CondaToken": "${{ inputs.quetz-api-key }}"}}' > ${{ runner.temp }}/credentials.json
echo "RATTLER_AUTH_FILE=${{ runner.temp }}/credentials.json" >> "$GITHUB_ENV" Still not quite there yet but better than dark codesign magic. |
Fixed by #685 |
There is currently no way of logging into private channels using rattler-build without using
pixi auth login
. Would be nice to have a standalone way of doing this.The text was updated successfully, but these errors were encountered: