Created
January 24, 2020 06:49
-
-
Save La0/8f202c85861c9b7548e883feb045f209 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from taskcluster.helper import TaskclusterConfig | |
from datetime import timedelta | |
ttl = timedelta(days=2) | |
tc = TaskclusterConfig("https://community-tc.services.mozilla.com") | |
tc.auth() | |
tc.upload_artifact("public/demo.txt", "Hello Taskcluster World!", "text/plain", ttl) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment