Skip to content

Commit

Permalink
Adjust all instances of Native Link in comments and metadata to Nativ…
Browse files Browse the repository at this point in the history
…eLink (#658)
  • Loading branch information
blakehatch committed Feb 9, 2024
1 parent 7548d4b commit 4e7d68b
Show file tree
Hide file tree
Showing 178 changed files with 211 additions and 211 deletions.
2 changes: 1 addition & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 The Native Link Authors. All rights reserved.
# Copyright 2022 The NativeLink Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
tags: trace_machina/nativelink:builder
target: builder

- name: Compile Native Link with Native Link
- name: Compile NativeLink with NativeLink
run: |
mkdir -p ~/.cache && \
cd deployment-examples/docker-compose && \
Expand Down
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,11 +239,11 @@ All notable changes to this project will be documented in this file.
- Renames the project to nativelink ([#463](https://github.com/TraceMachina/nativelink/issues/463)) - ([2259251](https://github.com/TraceMachina/nativelink/commit/22592519f56daa250bb2d3b5f64eac832d6d2b87))
- Separate CI runs by build system ([#451](https://github.com/TraceMachina/nativelink/issues/451)) - ([75a98f2](https://github.com/TraceMachina/nativelink/commit/75a98f2d8d1e59b4a672925f9853417ada6e06dc))
- Migrate logs to tracing ([#387](https://github.com/TraceMachina/nativelink/issues/387)) - ([c5c440a](https://github.com/TraceMachina/nativelink/commit/c5c440a215868581edc563b048a2c297221c22ef))
- Make Native Link installable via nix ([#442](https://github.com/TraceMachina/nativelink/issues/442)) - ([b8f3ef1](https://github.com/TraceMachina/nativelink/commit/b8f3ef1eab629f7cc973d6f938bc94282001b7ab))
- Make NativeLink installable via nix ([#442](https://github.com/TraceMachina/nativelink/issues/442)) - ([b8f3ef1](https://github.com/TraceMachina/nativelink/commit/b8f3ef1eab629f7cc973d6f938bc94282001b7ab))
- Rename ExistanceStore to ExistanceCacheStore ([#437](https://github.com/TraceMachina/nativelink/issues/437)) - ([95f470c](https://github.com/TraceMachina/nativelink/commit/95f470ce16a94c46bf977c45fae6e135861cc899))
- Move action_messages & part of platform_properties to utils crate ([#417](https://github.com/TraceMachina/nativelink/issues/417)) - ([6bc991c](https://github.com/TraceMachina/nativelink/commit/6bc991c30d8dd9abffb38d178ed05cfdf090da79))
- Use Blake3 hasher for computing the action message ([#395](https://github.com/TraceMachina/nativelink/issues/395)) - ([9543964](https://github.com/TraceMachina/nativelink/commit/9543964450abbdb90644335dee6270844a80b99c))
- Rename Turbo Cache to Native Link ([#402](https://github.com/TraceMachina/nativelink/issues/402)) - ([7d9deaf](https://github.com/TraceMachina/nativelink/commit/7d9deaf9ec113b4984dfd7061d1616c1d029d859))
- Rename Turbo Cache to NativeLink ([#402](https://github.com/TraceMachina/nativelink/issues/402)) - ([7d9deaf](https://github.com/TraceMachina/nativelink/commit/7d9deaf9ec113b4984dfd7061d1616c1d029d859))
- Rename proto organization to trace_machina ([#389](https://github.com/TraceMachina/nativelink/issues/389)) - ([cf5f45b](https://github.com/TraceMachina/nativelink/commit/cf5f45b3a6762cdd607e0a009fbff29615b478e1))
- Migrate from lazy_static to once_cell ([#377](https://github.com/TraceMachina/nativelink/issues/377)) - ([c4b296c](https://github.com/TraceMachina/nativelink/commit/c4b296c4b86cf7a4c5f8a29dd6534a89a5c7685c))
- Move AWS terraform to it's own directory ([#376](https://github.com/TraceMachina/nativelink/issues/376)) - ([dd99eb0](https://github.com/TraceMachina/nativelink/commit/dd99eb0b6113c78243eca1f9916c1282d6cc55b1))
Expand Down
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Contributing to Native Link
# Contributing to NativeLink

Native Link welcomes contribution from everyone. Here are the guidelines if you
NativeLink welcomes contribution from everyone. Here are the guidelines if you
are thinking of helping us:

## Contributions

Contributions to Native Link or its dependencies should be made in the form of
Contributions to NativeLink or its dependencies should be made in the form of
GitHub pull requests. Each pull request will be reviewed by a core contributor
(someone with permission to land patches) and either landed in the main tree or
given feedback for changes that would be required. All contributions should
Expand Down Expand Up @@ -66,5 +66,5 @@ various Cloud CLIs for you:

## Conduct

Native Link Code of Conduct is available in the
NativeLink Code of Conduct is available in the
[CODE_OF_CONDUCT](CODE_OF_CONDUCT.md) file.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# Native Link
# NativeLink

[![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/TraceMachina/nativelink/badge)](https://securityscorecards.dev/viewer/?uri=github.com/TraceMachina/nativelink)
[![OpenSSF Best Practices](https://www.bestpractices.dev/projects/8050/badge)](https://www.bestpractices.dev/projects/8050)

Native Link is an extremely (blazingly?) fast and efficient build cache and
NativeLink is an extremely (blazingly?) fast and efficient build cache and
remote executor for systems that communicate using the [Remote execution
protocol](https://github.com/bazelbuild/remote-apis/blob/main/build/bazel/remote/execution/v2/remote_execution.proto) such as [Bazel](https://bazel.build), [Buck2](https://buck2.build), [Goma](https://chromium.googlesource.com/infra/goma/client/) and
[Reclient](https://github.com/bazelbuild/reclient). NativeLink powers over one billion requests per month for customers using the system for their production workloads.

Supports Unix-based operating systems and Windows.

## Getting Started with Native Link
## Getting Started with NativeLink

Below, you will find a few different options for getting started with Native Link.
Below, you will find a few different options for getting started with NativeLink.


### 📦 Installing with Cargo
Expand All @@ -38,15 +38,15 @@ To grab the example in your current working directory, run:
curl -O https://raw.githubusercontent.com/TraceMachina/nativelink/main/nativelink-config/examples/basic_cas.json
```

### Start Native Link
### Start NativeLink

```bash
nativelink basic_cas.json
```

## 🧪 Evaluating Native Link
## 🧪 Evaluating NativeLink

Once you've built Native Link and have an instance running with the
Once you've built NativeLink and have an instance running with the
`basic_cas.json` configuration, launch a separate terminal session and run the
following command to connect the running server launched above to Bazel or
another RBE client:
Expand All @@ -72,7 +72,7 @@ This causes Bazel to run the commands through an all-in-one `CAS`, `scheduler`
and `worker`.


🎉 Tada 🎉 Native Link is working.
🎉 Tada 🎉 NativeLink is working.


## ❄️ Installing with Nix
Expand All @@ -84,7 +84,7 @@ and `worker`.
This build does not require cloning the repository, but you need to provide a
config file, for instance the one at [nativelink-config/examples/basic_cas.json](https://github.com/TraceMachina/nativelink/blob/main/nativelink-config/examples/basic_cas.json).

The following command builds and runs Native Link in release (optimized) mode:
The following command builds and runs NativeLink in release (optimized) mode:

```sh
nix run github:TraceMachina/nativelink ./basic_cas.json
Expand Down
2 changes: 1 addition & 1 deletion deployment-examples/docker-compose/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022-2023 The Native Link Authors. All rights reserved.
# Copyright 2022-2023 The NativeLink Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
8 changes: 4 additions & 4 deletions deployment-examples/docker-compose/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Native Link's Docker Compose Deployment
# NativeLink's Docker Compose Deployment

This directory contains a reference/starting point on creating a full Docker Compose deployment of Native Link's cache and remote execution system.
This directory contains a reference/starting point on creating a full Docker Compose deployment of NativeLink's cache and remote execution system.

## Docker Setup

Expand Down Expand Up @@ -31,7 +31,7 @@ All instances use the same Docker image, trace_machina/nativelink:latest, built

### CAS

The CAS (Content Addressable Storage) service is used as a local cache for the Native Link system. It is configured in the docker-compose.yml file under the nativelink_local_cas service.
The CAS (Content Addressable Storage) service is used as a local cache for the NativeLink system. It is configured in the docker-compose.yml file under the nativelink_local_cas service.

```yml
nativelink_local_cas:
Expand Down Expand Up @@ -62,7 +62,7 @@ The CAS (Content Addressable Storage) service is used as a local cache for the N
### Scheduler

The scheduler is currently the only single point of failure in the system. We currently only support one scheduler at a time.
The scheduler service is responsible for scheduling tasks in the Native Link system. It is configured in the docker-compose.yml file under the nativelink_scheduler service.
The scheduler service is responsible for scheduling tasks in the NativeLink system. It is configured in the docker-compose.yml file under the nativelink_scheduler service.

```yml
nativelink_scheduler:
Expand Down
2 changes: 1 addition & 1 deletion deployment-examples/docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 The Native Link Authors. All rights reserved.
# Copyright 2022 The NativeLink Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
6 changes: 3 additions & 3 deletions deployment-examples/terraform/experimental_AWS/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Native Link's Terraform Deployment
This directory contains a reference/starting point on creating a full AWS terraform deployment of Native Link's cache and remote execution system.
# NativeLink's Terraform Deployment
This directory contains a reference/starting point on creating a full AWS terraform deployment of NativeLink's cache and remote execution system.

## Prerequisites - Setup Hosted Zone / Base Domain
You are required to first setup a Route53 Hosted Zone in AWS. This is because we will generate SSL certificates and need a domain to register them under.
Expand Down Expand Up @@ -33,7 +33,7 @@ bazel test //... \
```

## Server configuration
![Native Link AWS Terraform Diagram](https://user-images.githubusercontent.com/1831202/176286845-ff683266-3f23-489c-b58a-3eda49e484be.png)
![NativeLink AWS Terraform Diagram](https://user-images.githubusercontent.com/1831202/176286845-ff683266-3f23-489c-b58a-3eda49e484be.png)

## Instances
All instances use the same configuration for the AMI. There are technically two AMI's but only because by default this solution will spawn workers for x86 servers and ARM servers, so two AMIs are required.
Expand Down
2 changes: 1 addition & 1 deletion deployment-examples/terraform/experimental_AWS/ami.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 The Native Link Authors. All rights reserved.
# Copyright 2022 The NativeLink Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 The Native Link Authors. All rights reserved.
# Copyright 2022 The NativeLink Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 The Native Link Authors. All rights reserved.
# Copyright 2022 The NativeLink Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion deployment-examples/terraform/experimental_AWS/common.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 The Native Link Authors. All rights reserved.
# Copyright 2022 The NativeLink Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion deployment-examples/terraform/experimental_AWS/dns.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 The Native Link Authors. All rights reserved.
# Copyright 2022 The NativeLink Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion deployment-examples/terraform/experimental_AWS/iam.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 The Native Link Authors. All rights reserved.
# Copyright 2022 The NativeLink Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion deployment-examples/terraform/experimental_AWS/lambdas.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 The Native Link Authors. All rights reserved.
# Copyright 2022 The NativeLink Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion deployment-examples/terraform/experimental_AWS/main.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 The Native Link Authors. All rights reserved.
# Copyright 2022 The NativeLink Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion deployment-examples/terraform/experimental_AWS/s3.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 The Native Link Authors. All rights reserved.
# Copyright 2022 The NativeLink Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# Copyright 2022 The Native Link Authors. All rights reserved.
# Copyright 2022 The NativeLink Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 The Native Link Authors. All rights reserved.
# Copyright 2022 The NativeLink Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[Unit]
Description=Native Link remote execution system
Description=NativeLink remote execution system
After=network.target

[Service]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# Copyright 2022 The Native Link Authors. All rights reserved.
# Copyright 2022 The NativeLink Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 The Native Link Authors. All rights reserved.
# Copyright 2022 The NativeLink Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion deployment-examples/terraform/experimental_AWS/ssh_keys.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 The Native Link Authors. All rights reserved.
# Copyright 2022 The NativeLink Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
12 changes: 6 additions & 6 deletions deployment-examples/terraform/experimental_AWS/variables.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 The Native Link Authors. All rights reserved.
# Copyright 2022 The NativeLink Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -13,22 +13,22 @@
# limitations under the License.

variable "build_base_ami_arm" {
description = "Base AMI for building Native Link for ARM"
description = "Base AMI for building NativeLink for ARM"
default = "ami-0c79a55dda52434da"
}

variable "build_base_ami_x86" {
description = "Base AMI for building Native Link for x86"
description = "Base AMI for building NativeLink for x86"
default = "ami-03f65b8614a860c29"
}

variable "build_arm_instance_type" {
description = "Type of EC2 instance to build Native Link for ARM"
description = "Type of EC2 instance to build NativeLink for ARM"
default = "c6gd.2xlarge"
}

variable "build_x86_instance_type" {
description = "Type of EC2 instance to build Native Link for x86"
description = "Type of EC2 instance to build NativeLink for x86"
default = "c6id.2xlarge"
}

Expand All @@ -38,7 +38,7 @@ variable "terminate_ami_builder" {
}

variable "scheduler_instance_type" {
description = "Type of EC2 instance to use for Native Link's scheduler"
description = "Type of EC2 instance to use for NativeLink's scheduler"
default = "c6g.xlarge"
}

Expand Down
2 changes: 1 addition & 1 deletion deployment-examples/terraform/experimental_AWS/vpc.tf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022 The Native Link Authors. All rights reserved.
# Copyright 2022 The NativeLink Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
6 changes: 3 additions & 3 deletions deployment-examples/terraform/experimental_GCP/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Native Link's Terraform Deployment
# NativeLink's Terraform Deployment
This directory contains a reference/starting point on creating a full GCP
[terraform](https://www.terraform.io/downloads) deployment of Native Link's
[terraform](https://www.terraform.io/downloads) deployment of NativeLink's
cache and remote execution system.

## Prerequisites
Expand Down Expand Up @@ -49,7 +49,7 @@ terraform state show module.native_link.data.google_dns_managed_zone.dns_zone

Setup and deploy the `native-link` servers and dependencies. The general
configuration is laid out similar to
[Native Link AWS Terraform Diagram](https://user-images.githubusercontent.com/1831202/176286845-ff683266-3f23-489c-b58a-3eda49e484be.png)
[NativeLink AWS Terraform Diagram](https://user-images.githubusercontent.com/1831202/176286845-ff683266-3f23-489c-b58a-3eda49e484be.png)
from
[AWS deployment example](https://github.com/TraceMachina/native-link/blob/main/deployment-examples/terraform/experimental_AWS/README.md).
Deployment has additional flags in `variables.tf` for controlling machine
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2023 The Native Link Authors. All rights reserved.
# Copyright 2023 The NativeLink Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2023 The Native Link Authors. All rights reserved.
# Copyright 2023 The NativeLink Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2023 The Native Link Authors. All rights reserved.
# Copyright 2023 The NativeLink Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2023 The Native Link Authors. All rights reserved.
# Copyright 2023 The NativeLink Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -15,7 +15,7 @@
resource "google_dns_managed_zone" "default" {
name = "${var.project_prefix}-dns-zone"
dns_name = "${var.gcp_dns_zone}."
description = "Base DNS zone for Native Link resources"
description = "Base DNS zone for NativeLink resources"
depends_on = [google_project_service.dns_api]
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2023 The Native Link Authors. All rights reserved.
# Copyright 2023 The NativeLink Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2023 The Native Link Authors. All rights reserved.
# Copyright 2023 The NativeLink Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2023 The Native Link Authors. All rights reserved.
# Copyright 2023 The NativeLink Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2023 The Native Link Authors. All rights reserved.
# Copyright 2023 The NativeLink Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2023 The Native Link Authors. All rights reserved.
# Copyright 2023 The NativeLink Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2023 The Native Link Authors. All rights reserved.
# Copyright 2023 The NativeLink Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
Loading

0 comments on commit 4e7d68b

Please sign in to comment.