{"id":19900113,"url":"https://github.com/m-lab/travis","last_synced_at":"2025-05-02T23:30:35.320Z","repository":{"id":54439497,"uuid":"85119778","full_name":"m-lab/travis","owner":"m-lab","description":"A support library for adding deployment automation in travis.","archived":false,"fork":false,"pushed_at":"2023-10-02T02:25:04.000Z","size":74,"stargazers_count":1,"open_issues_count":2,"forks_count":6,"subscribers_count":12,"default_branch":"master","last_synced_at":"2024-10-29T13:47:00.059Z","etag":null,"topics":["development"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/m-lab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":"support.sh","governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2017-03-15T20:52:21.000Z","updated_at":"2020-02-12T18:42:08.000Z","dependencies_parsed_at":"2024-02-23T05:42:42.631Z","dependency_job_id":null,"html_url":"https://github.com/m-lab/travis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-lab%2Ftravis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-lab%2Ftravis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-lab%2Ftravis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-lab%2Ftravis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m-lab","download_url":"https://codeload.github.com/m-lab/travis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223997183,"owners_count":17238470,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["development"],"created_at":"2024-11-12T20:11:13.340Z","updated_at":"2024-11-12T20:11:14.799Z","avatar_url":"https://github.com/m-lab.png","language":"Shell","readme":"# travis\nA support library for adding deployment automation in travis.\n\n# Add submodule to a new repository\n\nSo travis can automatically checkout the travis submodule, use the `https`\naddress. Think of this as a read-only link to the travis repo.\n\nFrom the root directory of the repo you're adding to travis:\n```\ngit submodule add https://github.com/m-lab/travis.git\n```\n\n# Creating Service Accounts\n\nInstall the travis command line tool:\n\n * https://github.com/travis-ci/travis.rb#installation\n\nFrom the top level repo (that contains travis as a submodule), run the command:\n\n```\n./travis/setup_service_accounts_for_travis.sh\n```\n\nOnce complete, there should be three new service account environment variables\nin the travis environment for your project. You can confirm this using the\ntravis CLI:\n\n```\ntravis env list\n```\n\nIf you require service account credentials in the testing project, pass an\nadditional parameter:\n\n```\n./travis/setup_service_accounts_for_travis.sh mlab-testing\n```\n\n# Updating Service Account Roles\n\nBy default, the new service accounts have the fewest permissions possible. To\nperform some deployment task, you will need to assign the appropriate role,\nwhich pre-defines the necessary permissions for common deployment types, e.g.\nappengine-flexible-deployer, cloud-kubernetes-deployer, etc.\n\nIn the GCP Console:\n\n * GCP Console -\u003e IAM \u0026 admin -\u003e IAM\n * Edit the service account role\n * Look under Custom -\u003e and choose the appropriate custom role\n\nIf you discover that a new role is necessary, or that an existing role needs\nadditional permissions, be certain to document your changes and inform the\nteam. Search the team drive for: \"Conventions for M-Lab Release Automation\".\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-lab%2Ftravis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm-lab%2Ftravis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-lab%2Ftravis/lists"}