Skip to content
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

Support private repositories #92

Open
La0 opened this issue Dec 10, 2019 · 1 comment
Open

Support private repositories #92

La0 opened this issue Dec 10, 2019 · 1 comment

Comments

@La0
Copy link
Contributor

La0 commented Dec 10, 2019

Sample TC payload:

        payload:
          maxRunTime: 3600
          image: python:${pyver}-slim
          features:
            taskclusterProxy: true
          command:
            - /bin/bash
            - '--login'
            - '-x'
            - '-c'
            - >-
              echo "[global]\ndisable-pip-version-check = true\nno-cache-dir = false\n" > /etc/pip.conf &&
              apt-get update -qq &&
              apt-get install -y -qq --no-install-recommends --no-install-suggests build-essential curl git openssh-client &&
              cd ~ &&
              mkdir .ssh &&
              ssh-keyscan github.com > .ssh/known_hosts &&
              curl -L ${secret_url} | python -c 'import json, sys; a = json.load(sys.stdin); open(".ssh/id_ed25519", "w").write(a["secret"]["key"])' &&
              chmod 0400 .ssh/id_ed25519 &&
              git clone --quiet ${ssh_repo} repo &&
              cd repo &&
              git -c advice.detachedHead=false checkout ${head_rev} &&
              pip -q install tox &&
              tox

@La0 La0 self-assigned this Dec 10, 2019
@La0 La0 removed their assignment Jan 8, 2020
@La0
Copy link
Contributor Author

La0 commented Jan 8, 2020

Not needed anymore for fuzzing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant