ReleaseEngineering/How To/Self Provision a TaskCluster Windows Instance: Difference between revisions

added task id to loan request json
(→‎Connecting from Mac OSX: macosx rdp connection instructions)
(added task id to loan request json)
Line 35: Line 35:
       REQUESTER_PUBLIC_KEY_URL: https://keybase.io/grenade/pgp_keys.asc?fingerprint=1c09ac24c113c7f080dd4aa5b3c5a958508a43f2
       REQUESTER_PUBLIC_KEY_URL: https://keybase.io/grenade/pgp_keys.asc?fingerprint=1c09ac24c113c7f080dd4aa5b3c5a958508a43f2
     command:
     command:
      - >-
    - >-
        c:\mozilla-build\python\python.exe -c "import os, json;
      c:\mozilla-build\python\python.exe -c "import os, json;
        json.dump({'requester': { 'email': os.environ['REQUESTER_EMAIL'],
      json.dump({'requester': { 'email': os.environ['REQUESTER_EMAIL'],
        'publickeyurl': os.environ['REQUESTER_PUBLIC_KEY_URL'], 'taskFolder':
      'publickeyurl': os.environ['REQUESTER_PUBLIC_KEY_URL'], 'taskid':
        os.getcwd()}}, open(r'z:\loan-request.json', 'wb'))"
      os.environ['TASK_ID'], 'taskFolder': os.getcwd()}},
      - >-
      open(r'z:\loan-request.json', 'wb'))"
        c:\mozilla-build\python\python.exe -c "exec(\"import os.path, time\nwhile
    - >-
        (not os.path.exists(r'z:\loan\credentials.txt.gpg')):\n  time.sleep(1)\"")
      c:\mozilla-build\python\python.exe -c "exec(\"import os.path, time\nwhile
      (not os.path.exists(r'z:\loan\credentials.txt.gpg')):\n  time.sleep(1)\"")
   metadata:
   metadata:
     name: Windows Loan Request
     name: Windows Loan Request
22

edits