| /external/oss-fuzz/infra/cifuzz/external-actions/run_fuzzers/ |
| D | action.yml | 2 name: 'run-fuzzers' 9 fuzz-seconds: 13 dry-run: 19 run-fuzzers-mode: 23 "batch" is for non-interactive fuzzing of an entire project. 27 github-token: 29 Token for GitHub API. WARNING: THIS SHOULD NOT BE USED IN PRODUCTION YET 31 hardcode the token. 32 TODO(https://github.com/google/oss-fuzz/pull/5841#discussion_r639393361): 35 storage-repo: [all …]
|
| /external/oss-fuzz/infra/cifuzz/external-actions/build_fuzzers/ |
| D | action.yml | 2 name: 'build-fuzzers' 3 description: "Builds an OSS-Fuzz project's fuzzers." 9 dry-run: 12 allowed-broken-targets-percentage: 18 project-src-path: 21 bad-build-check: 22 description: "Whether or not OSS-Fuzz's check for bad builds should be done." 25 storage-repo: 27 The git repo to use for storing certain artifacts from fuzzing. 29 storage-repo-branch: [all …]
|
| /external/rust/crates/libz-sys/src/zlib-ng/arch/s390/self-hosted-builder/fs/usr/bin/ |
| D | actions-runner | 8 # - repo=<owner>/<name> 9 # - access_token=<ghp_***> 12 set -e -u 14 # Check the cached registration token. 15 token_file=registration-token.json 17 expires_at=$(jq --raw-output .expires_at "$token_file" 2>/dev/null) 19 set -e 20 if [[ $status -ne 0 || $(date +%s) -ge $(date -d "$expires_at" +%s) ]]; then 21 # Refresh the cached registration token. 23 -X POST \ [all …]
|
| /external/libbpf/travis-ci/rootfs/s390x-self-hosted-builder/fs/usr/bin/ |
| D | actions-runner | 8 # - repo=<owner>/<name> 9 # - access_token=<ghp_***> 12 set -e -u 14 # Check the cached registration token. 15 token_file=registration-token.json 17 expires_at=$(jq --raw-output .expires_at "$token_file" 2>/dev/null) 19 set -e 20 if [[ $status -ne 0 || $(date +%s) -ge $(date -d "$expires_at" +%s) ]]; then 21 # Refresh the cached registration token. 23 -X POST \ [all …]
|
| /external/oss-fuzz/infra/cifuzz/ |
| D | config_utils.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 24 # pylint: disable=wrong-import-position,import-error 62 # given to OSS-Fuzz users by not making them specify the language again (and 69 # pylint: disable=too-few-public-methods,too-many-instance-attributes 86 def token(self): member in BaseCiEnvironment 87 """Returns the CI API token.""" 118 def token(self): member in GenericCiEnvironment 119 """Returns the CI API token.""" 120 return os.getenv('TOKEN') 124 """Returns a tuple containing the project repo owner and None.""" [all …]
|
| /external/kotlinx.coroutines/docs/topics/ |
| D | coroutines-and-channels.md | 19 …olutions` branch of the [project's repository](http://github.com/kotlin-hands-on/intro-coroutines). 26 2. Clone the [project template](http://github.com/kotlin-hands-on/intro-coroutines) by choosing **G… 32 git clone https://github.com/kotlin-hands-on/intro-coroutines 35 ### Generate a GitHub developer token 38 token. If you have two-factor authentication enabled, a token will be enough. 40 Generate a new GitHub token to use the GitHub API with [your account](https://github.com/settings/t… 42 1. Specify the name of your token, for example, `coroutines-tutorial`: 44 {width=700} 46 2. Do not select any scopes. Click **Generate token** at the bottom of the page. 47 3. Copy the generated token. [all …]
|
| /external/oss-fuzz/infra/cifuzz/filestore/github_actions/ |
| D | github_actions_test.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 25 # pylint: disable=wrong-import-position 34 # pylint: disable=protected-access,no-self-use 42 self.token = 'example githubtoken' 44 self.repo = 'examplerepo' 45 os.environ['GITHUB_REPOSITORY'] = f'{self.owner}/{self.repo}' 47 self.config = test_helpers.create_run_config(token=self.token) 48 self.local_dir = '/local-dir' 53 'Authorization': f'token {self.token}', 62 mock_list_artifacts.assert_called_with(self.owner, self.repo, [all …]
|
| D | github_api.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 25 # pylint: disable=wrong-import-position,import-error 40 authorization = f'token {config.token}' 62 # Github API response pages are 1-indexed. 104 def list_artifacts(owner, repo, headers): argument 105 """Returns a generator of all the artifacts for |owner|/|repo|.""" 106 url = _get_artifacts_list_api_url(owner, repo)
|
| /external/python/google-api-python-client/docs/dyn/ |
| D | gkehub_v1beta.projects.locations.features.html | 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 16 font-size: 13px; 21 font-size: 26px; 22 margin-bottom: 1em; 26 font-size: 24px; 27 margin-bottom: 1em; [all …]
|
| D | gkehub_v1beta.projects.locations.global_.features.html | 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 16 font-size: 13px; 21 font-size: 26px; 22 margin-bottom: 1em; 26 font-size: 24px; 27 margin-bottom: 1em; [all …]
|
| D | gkehub_v1alpha.projects.locations.features.html | 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 16 font-size: 13px; 21 font-size: 26px; 22 margin-bottom: 1em; 26 font-size: 24px; 27 margin-bottom: 1em; [all …]
|
| D | gkehub_v1.projects.locations.features.html | 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 16 font-size: 13px; 21 font-size: 26px; 22 margin-bottom: 1em; 26 font-size: 24px; 27 margin-bottom: 1em; [all …]
|
| D | gkehub_v1alpha.projects.locations.global_.features.html | 8 font-weight: inherit; 9 font-style: inherit; 10 font-size: 100%; 11 font-family: inherit; 12 vertical-align: baseline; 16 font-size: 13px; 21 font-size: 26px; 22 margin-bottom: 1em; 26 font-size: 24px; 27 margin-bottom: 1em; [all …]
|
| /external/perfetto/tools/ |
| D | roll-catapult-trace-viewer | 8 # http://www.apache.org/licenses/LICENSE-2.0 17 # pinned SHA256 in install-build-deps. 19 set -e 21 PROJECT_ROOT="$(cd -P ${BASH_SOURCE[0]%/*}/..; pwd)" 24 echo "Usage: $0 /path/to/catapult/repo" 29 if [ ! -d "$CATAPULT/.git" ]; then 30 echo "$CATAPULT must point to a valid catapult repo" 34 REVISION=$(git -C "$CATAPULT" rev-parse --short HEAD) 35 OUTDIR="$(mktemp -d)" 37 git -C "$CATAPULT" log -1 | cat [all …]
|
| /external/rust/crates/grpcio-sys/grpc/tools/gcp/github_stats_tracking/ |
| D | fetch_data.py | 7 # http://www.apache.org/licenses/LICENSE-2.0 24 # Please set the access token properly before deploying. 28 repo = g.get_repo('grpc/grpc') 30 LABEL_LANG = set(label for label in repo.get_labels() 32 LABEL_KIND_BUG = repo.get_label('kind/bug') 33 LABEL_PRIORITY_P0 = repo.get_label('priority/P0') 34 LABEL_PRIORITY_P1 = repo.get_label('priority/P1') 35 LABEL_PRIORITY_P2 = repo.get_label('priority/P2') 46 issue for issue in repo.get_issues(state='open') 50 issue for issue in repo.get_issues(state='all', labels=[LABEL_KIND_BUG])
|
| /external/tpm2-tss/.ci/ |
| D | travis.run | 3 set -e 5 # if no DOCKER_TAG is set, warn and default to fedora-30 6 if [ -z "$DOCKER_TAG" ]; then 7 echo "WARN: DOCKER_TAG is not set, defaulting to fedora-30" 8 export DOCKER_TAG="fedora-30" 12 # Docker starts you in a cloned repo of your project with the PR checkout out. 13 # We want those changes IN the docker image, so use the -v option to mount the 14 # project repo in the docker image. 21 echo "Running non-coverity build" 23 ci_env=$(bash <(curl -s https://codecov.io/env)) [all …]
|
| /external/libbpf/travis-ci/rootfs/s390x-self-hosted-builder/ |
| D | README.md | 1 # IBM Z self-hosted builder 3 libbpf CI uses an IBM-provided z15 self-hosted builder. There are no IBM Z 4 builds of GitHub Actions runner, and stable qemu-user has problems with .NET 5 apps, so the builder runs the x86_64 runner version with qemu-user built from 14 $ sudo apt install -y docker.io # Ubuntu 21 $ sudo systemctl daemon-reload 27 $ sudo tee /etc/actions-runner-libbpf 28 repo=<owner>/<name> 32 Access token should have the repo scope, consult 33 https://docs.github.com/en/rest/reference/actions#create-a-registration-token-for-a-repository [all …]
|
| /external/python/google-api-python-client/.github/workflows/ |
| D | main.yml | 7 # https://www.apache.org/licenses/LICENSE-2.0 22 - cron: '0 7 * * 2' 27 runs-on: ubuntu-latest 28 if: ${{github.repository == 'googleapis/google-api-python-client'}} 30 - name: Get current date 32 run: echo "::set-output name=current_date::$(date +'%Y-%m-%d')" 34 - name: Check out main branch 39 - name: Create branch 41 git checkout -b update-discovery-artifacts-${{ steps.date.outputs.current_date }} 43 - name: Set up Python 3.9 [all …]
|
| /external/python/google-api-python-client/googleapiclient/discovery_cache/documents/ |
| D | clouddebugger.v2.json | 5 "https://www.googleapis.com/auth/cloud-platform": { 23 "x16": "http://www.google.com/images/icons/product/search-16.gif", 24 "x32": "http://www.google.com/images/icons/product/search-32.gif" 47 "description": "OAuth access token.", 60 "Responses with Content-Type of application/json", 61 "Media download with context-dependent Content-Type", 62 "Responses with Content-Type of application/x-protobuf" 78 …provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", 83 "description": "OAuth 2.0 token for the current user.", 94 …"description": "Available to use for quota purposes for server-side applications. Can be any arbit… [all …]
|
| D | sourcerepo.v1.json | 5 "https://www.googleapis.com/auth/cloud-platform": { 26 "documentationLink": "https://cloud.google.com/source-repositories/docs/apis", 29 "x16": "http://www.google.com/images/icons/product/search-16.gif", 30 "x32": "http://www.google.com/images/icons/product/search-32.gif" 53 "description": "OAuth access token.", 66 "Responses with Content-Type of application/json", 67 "Media download with context-dependent Content-Type", 68 "Responses with Content-Type of application/x-protobuf" 84 …provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", 89 "description": "OAuth 2.0 token for the current user.", [all …]
|
| /external/grpc-grpc-java/buildscripts/ |
| D | sonatype-upload.sh | 8 # http://www.apache.org/licenses/LICENSE-2.0 16 set -eu -o pipefail 18 if [ $# -ne 2 ]; then 28 ~/.config/sonatype-upload: Configuration file for Sonatype username and password 32 Sonatype provides a "user token" that is a randomly generated username/password. 36 * Change the drop-down from "Summary" to "User Token" 37 * Click "Access User Token" 44 if [ -z "$DIR" ]; then 45 echo "Must specify non-empty directory name" 49 CONF="$HOME/.config/sonatype-upload" [all …]
|
| /external/dagger2/util/ |
| D | publish-tagged-docs.sh | 2 # TODO(bcorso): Consider sharing this script with utils/generate-latest-docs.sh 4 set -eux 6 if [ $# -lt 1 ]; then 7 echo "usage $0 <version-name>" 13 $(dirname $0)/validate-dagger-version.sh "$VERSION_NAME" 15 # Publish javadocs to gh-pages 16 bazel build //:user-docs.jar 18 # If a token exists, then use the token to clone the repo. This allows our 20 if [[ ! -z "$GH_TOKEN" ]]; then 21 …git clone --quiet --branch=gh-pages https://x-access-token:${GH_TOKEN}@github.com/google/dagger gh… [all …]
|
| /external/crosvm/infra/recipes/push_to_github.resources/ |
| D | push_to_github.sh | 2 # Use of this source code is governed by a BSD-style license that can be 5 # Pushes the current repo to github using the secret provided by Secret Manager. 6 # See: https://console.cloud.google.com/security/secret-manager 9 set -e 10 TOKEN=$(gcloud --project=crosvm-infra secrets versions access latest --secret="github-crosvm-bot") 11 git push --force "https://crosvm-bot:${TOKEN}@github.com/google/crosvm.git" HEAD:main
|
| /external/rust/crates/mio/examples/ |
| D | udp_server.rs | 1 // You can run this example from the root of the mio repo: 2 // cargo run --example udp_server --features="os-poll net" 4 use mio::{Events, Interest, Poll, Token}; 7 // A token to allow us to identify which event is for the `UdpSocket`. 8 const UDP_SOCKET: Token = Token(0); 11 fn main() -> io::Result<()> { in main() 27 // Register our socket with the token defined above and an interest in being in main() 33 println!(" $ nc -u 127.0.0.1 9000"); in main() 47 // Validate the token we registered our socket with, in main() 50 match event.token() { in main() [all …]
|
| /external/rust/crates/syn/tests/ |
| D | test_precedence.rs | 16 //! some complications - see the `syn_brackets` and `librustc_brackets` 18 //! 3. Serialize the `syn` expression back into a string, and re-parse it with 48 mod repo; module 50 /// Test some pre-set expressions chosen by us. 92 repo::clone_rust(); in test_rustc_precedence() 107 .filter_entry(repo::base_dir_filter) in test_rustc_precedence() 122 let edition = repo::edition(path).parse().unwrap(); in test_rustc_precedence() 158 fn test_expressions(edition: Edition, exprs: Vec<syn::Expr>) -> (usize, usize) { in test_expressions() 170 errorf!("\nFAIL - librustc failed to parse raw\n"); in test_expressions() 179 errorf!("\nFAIL - librustc failed to parse bracketed\n"); in test_expressions() [all …]
|