diff --git a/.buildkite/blog-examples-test.sh b/.buildkite/blog-examples-test.sh index 28c26e7f8e..054c8b7517 100755 --- a/.buildkite/blog-examples-test.sh +++ b/.buildkite/blog-examples-test.sh @@ -10,5 +10,5 @@ fi "$earthly" --version -"$earthly" github.com/earthly/earthly-example-scala/simple:main+test -"$earthly" github.com/earthly/earthly-example-scala/simple:main+docker +"$earthly" github.com/EarthBuild/earthly-example-scala/simple:main+test +"$earthly" github.com/EarthBuild/earthly-example-scala/simple:main+docker diff --git a/.github/workflows/reusable-misc-tests-1.yml b/.github/workflows/reusable-misc-tests-1.yml index 5f2d263b24..9251078f18 100644 --- a/.github/workflows/reusable-misc-tests-1.yml +++ b/.github/workflows/reusable-misc-tests-1.yml @@ -54,7 +54,7 @@ jobs: run: |- ${{inputs.SUDO}} ${{inputs.BINARY}} stop earthly-buildkitd || true && \ for i in 1 2 3 4; do - ${{inputs.SUDO}} ${{inputs.BUILT_EARTHLY_PATH}} github.com/earthly/hello-world+hello & \ + ${{inputs.SUDO}} ${{inputs.BUILT_EARTHLY_PATH}} github.com/EarthBuild/hello-world+hello & \ pids[${i}]=$! done && \ for pid in ${pids[*]}; do diff --git a/Earthfile b/Earthfile index 3a97e09551..6c83cc434a 100644 --- a/Earthfile +++ b/Earthfile @@ -852,7 +852,7 @@ examples-2: BUILD ./examples/rust+docker BUILD ./examples/multiplatform+all BUILD ./examples/multiplatform-cross-compile+build-all-platforms - BUILD github.com/earthly/hello-world:main+hello + BUILD github.com/EarthBuild/hello-world:main+hello BUILD ./examples/cache-command/npm+docker BUILD ./examples/cache-command/mvn+docker diff --git a/ast/tests/command.ast.json b/ast/tests/command.ast.json index 3884db6818..584ffa1064 100644 --- a/ast/tests/command.ast.json +++ b/ast/tests/command.ast.json @@ -435,7 +435,7 @@ { "command": { "args": [ - "github.com/earthly/earthly-command-example:main+COPY_CAT" + "github.com/EarthBuild/earthly-command-example:main+COPY_CAT" ], "name": "DO" } @@ -608,7 +608,7 @@ { "command": { "args": [ - "github.com/earthly/earthly-command-example:main+TOUCH", + "github.com/EarthBuild/earthly-command-example:main+TOUCH", "--file=something" ], "name": "DO" @@ -638,7 +638,7 @@ { "command": { "args": [ - "github.com/earthly/earthly-command-example:main+TOUCH" + "github.com/EarthBuild/earthly-command-example:main+TOUCH" ], "name": "DO" } diff --git a/ast/tests/import.ast.json b/ast/tests/import.ast.json index db9fc5edd8..eb29caf51c 100644 --- a/ast/tests/import.ast.json +++ b/ast/tests/import.ast.json @@ -3,7 +3,7 @@ { "command": { "args": [ - "github.com/earthly/earthly-command-example:main" + "github.com/EarthBuild/earthly-command-example:main" ], "name": "IMPORT" } @@ -11,7 +11,7 @@ { "command": { "args": [ - "github.com/earthly/earthly-command-example:import", + "github.com/EarthBuild/earthly-command-example:import", "AS", "command-import" ], @@ -21,7 +21,7 @@ { "command": { "args": [ - "github.com/earthly/hello-world:main", + "github.com/EarthBuild/hello-world:main", "AS", "hello-dolly" ], diff --git a/contrib/earthfile-syntax-highlighting-emacs/README.md b/contrib/earthfile-syntax-highlighting-emacs/README.md index 8bd2690ad6..84b5789bc3 100644 --- a/contrib/earthfile-syntax-highlighting-emacs/README.md +++ b/contrib/earthfile-syntax-highlighting-emacs/README.md @@ -1 +1 @@ -Hosted on [earthly-emacs repo](https://github.com/earthly/earthly-emacs) +Hosted on [earthly-emacs repo](https://github.com/EarthBuild/earthly-emacs) diff --git a/contrib/earthfile-syntax-highlighting-intellij/README.md b/contrib/earthfile-syntax-highlighting-intellij/README.md index 922d677612..13684be4a0 100644 --- a/contrib/earthfile-syntax-highlighting-intellij/README.md +++ b/contrib/earthfile-syntax-highlighting-intellij/README.md @@ -1 +1 @@ -Hosted on [earthly-intellij-plugin repo](https://github.com/earthly/earthly-intellij-plugin). +Hosted on [earthly-intellij-plugin repo](https://github.com/EarthBuild/earthly-intellij-plugin). diff --git a/contrib/earthfile-syntax-highlighting-vsode-github/README.md b/contrib/earthfile-syntax-highlighting-vsode-github/README.md index b8f8323ee6..07e5bfd252 100644 --- a/contrib/earthfile-syntax-highlighting-vsode-github/README.md +++ b/contrib/earthfile-syntax-highlighting-vsode-github/README.md @@ -1,3 +1,3 @@ -Hosted on [earthfile-grammar repo](https://github.com/earthly/earthfile-grammar). +Hosted on [earthfile-grammar repo](https://github.com/EarthBuild/earthfile-grammar). The grammar in this repo is shared by the vscode, github, and intellij syntax highlighting releases. diff --git a/docs/alt-installation/alt-installation.md b/docs/alt-installation/alt-installation.md index c152b57c2a..17e9c58cc6 100644 --- a/docs/alt-installation/alt-installation.md +++ b/docs/alt-installation/alt-installation.md @@ -248,15 +248,15 @@ For a full list of configuration options, see the [Configuration reference](../e To verify that the installation works correctly, you can issue a simple build of an existing hello-world project ```bash -earthly github.com/earthly/hello-world:main+hello +earthly github.com/EarthBuild/hello-world:main+hello ``` You should see the output ``` -github.com/earthly/hello-world:main+hello | --> RUN [echo 'Hello, world!'] -github.com/earthly/hello-world:main+hello | Hello, world! -github.com/earthly/hello-world:main+hello | Target github.com/earthly/hello-world:main+hello built successfully +github.com/EarthBuild/hello-world:main+hello | --> RUN [echo 'Hello, world!'] +github.com/EarthBuild/hello-world:main+hello | Hello, world! +github.com/EarthBuild/hello-world:main+hello | Target github.com/EarthBuild/hello-world:main+hello built successfully =========================== SUCCESS =========================== ``` diff --git a/docs/examples/examples.md b/docs/examples/examples.md index 7c1a14c03e..87deef1151 100644 --- a/docs/examples/examples.md +++ b/docs/examples/examples.md @@ -99,7 +99,7 @@ As a distinct example of a complete build, you can take a look at Earthly's own GitBook currently has a bug where any references to an "Earthfile" gets confused with "docs/Earthfile" and somehow appends a /README.md -e.g. https://github.com/earthly/earthly/blob/main/Earthfile is changed to https://github.com/earthly/earthly/blob/main/Earthfile/README.md +e.g. https://github.com/EarthBuild/earthbuild/blob/main/Earthfile is changed to https://github.com/EarthBuild/earthbuidl/blob/main/Earthfile/README.md Here's a snip from an support request with gitbook: @@ -107,7 +107,7 @@ Here's a snip from an support request with gitbook: There is a file: - https://github.com/earthly/earthly/blob/main/Earthfile + https://github.com/EarthBuild/earthbuild/blob/main/Earthfile And you want to reference it directly in your GitBook space as a link. @@ -115,7 +115,7 @@ Here's a snip from an support request with gitbook: So when it sees that reference, it assumes you are referencing a default README.md file under that folder. The folder I am talking about is this one: - https://github.com/earthly/earthly/tree/main/docs/earthfile + https://github.com/EarthBuild/earthbuild/tree/main/docs/earthfile Now, the question is, if there's an easy way out of this. @@ -126,11 +126,11 @@ Here's a snip from an support request with gitbook: One not very ideal workaround I thought of is to temporarily switch to shortened URLs for those that fail because of this scenario. -* [Earthfile](https://github.com/earthly/earthly/blob/main/Earthfile) - the root build file -* [buildkitd/Earthfile](https://github.com/earthly/earthly/blob/main/buildkitd/Earthfile) - the build of the BuildKit daemon -* [AST/parser/Earthfile](https://github.com/earthly/earthly/blob/main/ast/parser/Earthfile) - the build of the parser, which generates .go files -* [tests/Earthfile](https://github.com/earthly/earthly/blob/main/tests/Earthfile) - system and smoke tests -* [earthfile-grammar/Earthfile](https://github.com/earthly/earthfile-grammar/blob/main/Earthfile) - the build of the VS Code extension +* [Earthfile](https://github.com/EarthBuild/earthbuild/blob/main/Earthfile) - the root build file +* [buildkitd/Earthfile](https://github.com/EarthBuild/earthbuild/blob/main/buildkitd/Earthfile) - the build of the BuildKit daemon +* [AST/parser/Earthfile](https://github.com/EarthBuild/earthbuild/blob/main/ast/parser/Earthfile) - the build of the parser, which generates .go files +* [tests/Earthfile](https://github.com/EarthBuild/earthbuild/blob/main/tests/Earthfile) - system and smoke tests +* [earthfile-grammar/Earthfile](https://github.com/EarthBuild/earthfile-grammar/blob/main/Earthfile) - the build of the VS Code extension --> * [Earthfile](https://tinyurl.com/yt3d3cx6) - the root build file diff --git a/docs/guides/importing.md b/docs/guides/importing.md index 2bfae6ebf6..7923232768 100644 --- a/docs/guides/importing.md +++ b/docs/guides/importing.md @@ -40,7 +40,7 @@ target2: When importing from other repositories, making use of the `IMPORT` command helps to keep the Earthfile clean and readable. The `IMPORT` command takes an Earthfile reference, and optionally an import alias. For example: ```Dockerfile -IMPORT github.com/earthly/hello-world:main AS hello-world +IMPORT github.com/EarthBuild/hello-world:main AS hello-world ... @@ -49,7 +49,7 @@ my-target: COPY hello-world+hello/hello.txt ./ ``` -In this example, the target `my-target` uses the import alias `hello-world` to reference a GitHub repository called `github.com/earthly/hello-world`, and the target `hello` within that repository. The `AS hello-world` part is optional, and is only needed if the import alias is different from the repository name. +In this example, the target `my-target` uses the import alias `hello-world` to reference a GitHub repository called `github.com/EarthBuild/hello-world`, and the target `hello` within that repository. The `AS hello-world` part is optional, and is only needed if the import alias is different from the repository name. `BUILD` is used to simply issue the build of the referenced target. Commands like `COPY` or `FROM` can be used to import artifacts or images, respectively. @@ -70,7 +70,7 @@ my-target: Importing can also be done inline, without the need for an `IMPORT` command. This is useful for importing a single target or artifact from a remote repository. For example: ```Dockerfile -BUILD github.com/earthly/hello-world:main+hello +BUILD github.com/EarthBuild/hello-world:main+hello COPY ./some/other/dir+my-target/out.txt ./ ``` diff --git a/docs/guides/integration.md b/docs/guides/integration.md index 87c7e2a193..a7835e0e5d 100644 --- a/docs/guides/integration.md +++ b/docs/guides/integration.md @@ -138,7 +138,7 @@ WORKDIR /scala-example RUN apk add openjdk11 bash wget postgresql-client ``` -[Full file](https://github.com/earthly/earthly-example-scala/blob/main/integration/Earthfile) +[Full file](https://github.com/EarthBuild/earthly-example-scala/blob/main/integration/Earthfile) {% sample lang="Project Files" %} We then install SBT @@ -212,7 +212,7 @@ docker: ENTRYPOINT ["java","-cp","target/scala-2.12/scala-example-assembly-1.0.jar","Main"] SAVE IMAGE scala-example:latest ``` -[Full file](https://github.com/earthly/earthly-example-scala/blob/main/integration/Earthfile) +[Full file](https://github.com/EarthBuild/earthly-example-scala/blob/main/integration/Earthfile) {% endmethod %} @@ -252,7 +252,7 @@ We can now run our tests both locally and in the CI pipeline, in a reproducible +integration-test | Removing local-postgres-ui ... done +integration-test | Removing local-postgres ... done +integration-test | Removing network scala-example_default -+integration-test | Target github.com/earthly/earthly-example-scala/integration:main+integration-test built successfully ++integration-test | Target github.com/EarthBuild/earthly-example-scala/integration:main+integration-test built successfully ... ``` This means that if an integration test fails in the build pipeline, you can easily reproduce it locally. @@ -307,7 +307,7 @@ We can then run this and check that our application with its dependencies, produ +smoke-test | Removing local-postgres-ui ... done +smoke-test | Removing local-postgres ... done +smoke-test | Removing network scala-example_default -+smoke-test | Target github.com/earthly/earthly-example-scala/integration:main+smoke-test built successfully ++smoke-test | Target github.com/EarthBuild/earthly-example-scala/integration:main+smoke-test built successfully =========================== SUCCESS =========================== ... ``` @@ -327,7 +327,7 @@ all: ``` bash > earthly -P +all ... -+all | Target github.com/earthly/earthly-example-scala/integration:main+all built successfully ++all | Target github.com/EarthBuild/earthly-example-scala/integration:main+all built successfully =========================== SUCCESS =========================== ``` diff --git a/docs/guides/podman.md b/docs/guides/podman.md index 0286e2ac5b..4d825b7dca 100644 --- a/docs/guides/podman.md +++ b/docs/guides/podman.md @@ -33,7 +33,7 @@ global: Then, you can run a basic hello world example to see earthly using the appropriate container frontend. ```bash -> earthly github.com/earthly/hello-world:main+hello +> earthly github.com/EarthBuild/hello-world:main+hello 1. Init 🚀 ———————————————————————————————————————————————————————————————————————————————— @@ -106,7 +106,7 @@ To fix this issue, try removing or renaming the `~/.docker/config.json` file. ### Earthly CLI - no frontend initialized Seeing the error on startup means the check for podman has failed. ```bash -> earthly github.com/earthly/hello-world:main+hello +> earthly github.com/EarthBuild/hello-world:main+hello 1. Init 🚀 ———————————————————————————————————————————————————————————————————————————————— diff --git a/examples/grpc/Earthfile b/examples/grpc/Earthfile index 47fdf9b86e..d1b6c5d3af 100644 --- a/examples/grpc/Earthfile +++ b/examples/grpc/Earthfile @@ -8,20 +8,20 @@ WORKDIR /example-grpc # # This example spans 5 different git repositories, each containing an Earthfile: # -# 1) https://github.com/earthly/earthly-example-proto +# 1) https://github.com/EarthBuild/earthly-example-proto # This repository contains the api.proto definition along with an Earthfile # which installs the various protoc tools required to generate the go, python, # and ruby code. # -# 2) https://github.com/earthly/earthly-example-proto-server +# 2) https://github.com/EarthBuild/earthly-example-proto-server # This repository contains a server written in go along with an Earthfile # that pulls in the auto-generated go code from repo 1. # -# 3) https://github.com/earthly/earthly-example-proto-python-client +# 3) https://github.com/EarthBuild/earthly-example-proto-python-client # This repository contains a client written in python along with an Earthfile # that pulls in the auto-generated python code from repo 1. # -# 4) https://github.com/earthly/earthly-example-proto-ruby-client +# 4) https://github.com/EarthBuild/earthly-example-proto-ruby-client # This repository contains a client written in ruby along with an Earthfile # that pulls in the auto-generated python code from repo 1. @@ -37,9 +37,9 @@ WORKDIR /example-grpc test: FROM earthly/dind:alpine-3.19-docker-25.0.5-r0 WITH DOCKER \ - --load kvserver:latest=github.com/earthly/earthly-example-proto-server:main+kvserver-docker \ - --load kv-py-client:latest=github.com/earthly/earthly-example-proto-python-client:main+kvclient-docker \ - --load kv-rb-client:latest=github.com/earthly/earthly-example-proto-ruby-client:main+kv-ruby-client-docker \ + --load kvserver:latest=github.com/EarthBuild/earthly-example-proto-server:main+kvserver-docker \ + --load kv-py-client:latest=github.com/EarthBuild/earthly-example-proto-python-client:main+kvclient-docker \ + --load kv-rb-client:latest=github.com/EarthBuild/earthly-example-proto-ruby-client:main+kv-ruby-client-docker \ --platform linux/amd64 # Ruby and Python(evidence suggests?) seem to have a hard time building in Docker on M1. https://github.com/grpc/grpc/issues/26664 RUN --mount=type=cache,target=/go/pkg \ docker run --name server --network=host -d kvserver:latest && \ diff --git a/examples/import/Earthfile b/examples/import/Earthfile index 159ea7f684..c916f05f30 100644 --- a/examples/import/Earthfile +++ b/examples/import/Earthfile @@ -1,6 +1,6 @@ VERSION 0.8 IMPORT ./some/local/path AS lib -IMPORT github.com/earthly/hello-world:main # if alias is not provided, defaults to last element in path (in this case, hello-world) +IMPORT github.com/EarthBuild/hello-world:main # if alias is not provided, defaults to last element in path (in this case, hello-world) build: FROM lib+base-image diff --git a/examples/import/README.md b/examples/import/README.md index 622f452148..f89fb90be1 100644 --- a/examples/import/README.md +++ b/examples/import/README.md @@ -9,14 +9,14 @@ build: DO ./some/local/path+PRINT --string="IMPORT example" COPY ./some/local/path+get-file/file.txt ./ RUN cat file.txt - BUILD github.com/earthly/hello-world:main+hello + BUILD github.com/EarthBuild/hello-world:main+hello ``` can be refactored as: ```Dockerfile IMPORT ./some/local/path AS lib -IMPORT github.com/earthly/hello-world:main +IMPORT github.com/EarthBuild/hello-world:main build: DO lib+PRINT --string="IMPORT example" diff --git a/examples/multirepo/Earthfile b/examples/multirepo/Earthfile index 4b03a3b8fa..5178f0af10 100644 --- a/examples/multirepo/Earthfile +++ b/examples/multirepo/Earthfile @@ -5,8 +5,8 @@ WORKDIR /example-multirepo docker: RUN npm install -g http-server - COPY github.com/earthly/earthly-example-multirepo-static:main+html/* ./ - COPY github.com/earthly/earthly-example-multirepo-js:main+build/* ./ + COPY github.com/EarthBuild/earthly-example-multirepo-static:main+html/* ./ + COPY github.com/EarthBuild/earthly-example-multirepo-js:main+build/* ./ EXPOSE 8080 ENTRYPOINT ["http-server", "."] SAVE IMAGE --push earthly/examples:multirepo diff --git a/examples/multirepo/README.md b/examples/multirepo/README.md index 6b3b99c49a..f9b77a6b97 100644 --- a/examples/multirepo/README.md +++ b/examples/multirepo/README.md @@ -3,8 +3,8 @@ In this example, we will walk through a simple multirepo setup that can be used with Earthly. The entire code of this exercise is available in the * This directory -* This referenced [project of HTML static files](https://github.com/earthly/earthly-example-multirepo-static) -* This referenced [project of JS files](https://github.com/earthly/earthly-example-multirepo-js) +* This referenced [project of HTML static files](https://github.com/EarthBuild/earthly-example-multirepo-static) +* This referenced [project of JS files](https://github.com/EarthBuild/earthly-example-multirepo-js) In this example, let's assume that we have a web application where HTML files are held in one repository and JS file are held in another. The complete application is a combination of both. @@ -37,17 +37,17 @@ and load `http://127.0.0.1:8080` in your browser. Notice how the build is able to reference other repositories and copy artifacts from specific build targets. For example, the line ```Dockerfile -COPY github.com/earthly/earthly-example-multirepo-static+html/* ./ +COPY github.com/EarthBuild/earthly-example-multirepo-static+html/* ./ ``` -references the `html` target of the repository `github.com/earthly/earthly-example-multirepo-static` and copies all its artifacts in the current build environment. Earthly takes care of cloning that repository, executing its build for the `html` target and extracting the artifacts to be used here. +references the `html` target of the repository `github.com/EarthBuild/earthly-example-multirepo-static` and copies all its artifacts in the current build environment. Earthly takes care of cloning that repository, executing its build for the `html` target and extracting the artifacts to be used here. This command is also cache-aware. If the HEAD of the repository points to a different Git hash, Earthly knows to re-clone and build the repository again, using as much cache as relevant, depending on which files have changed. You can also specify a specific tag or branch of the remote repository, to help keep builds consistent and avoid surprising changes. For that, you can use the syntax ```Dockerfile -COPY github.com/earthly/earthly-example-multirepo-static:v0.1.1+html/* ./ +COPY github.com/EarthBuild/earthly-example-multirepo-static:v0.1.1+html/* ./ ``` where `v0.1.1` is a tag or branch specifier. diff --git a/release/README.md b/release/README.md index 0578b8ccc7..7b7b3e85b9 100644 --- a/release/README.md +++ b/release/README.md @@ -102,22 +102,22 @@ earthly/dind images and their releases are maintained in [project repo](https:// ### Syntax Highlighting Releases We currently have syntax highlighting for the following: -1. [vscode + github](https://github.com/earthly/earthfile-grammar) -1. [intellij](https://github.com/earthly/earthly-intellij-plugin) (py, go, java) -1. [vim](https://github.com/earthly/earthly.vim) +1. [vscode + github](https://github.com/EarthBuild/earthfile-grammar) +1. [intellij](https://github.com/EarthBuild/earthly-intellij-plugin) (py, go, java) +1. [vim](https://github.com/EarthBuild/earthly.vim) 1. [sublime](https://github.com/earthly/sublimetext-earthly-syntax) -1. [emacs](https://github.com/earthly/earthly-emacs) +1. [emacs](https://github.com/EarthBuild/earthly-emacs) #### VSCode + GitHub -Release instructions can be found in the [project repo](https://github.com/earthly/earthfile-grammar#how-to-release). +Release instructions can be found in the [project repo](https://github.com/EarthBuild/earthfile-grammar#how-to-release). #### Intellij -Intellij pulls its syntax highlighting from the [same repo used by VSCODE + GitHub](https://github.com/earthly/earthfile-grammar) and so should be released after to keep up to date. +Intellij pulls its syntax highlighting from the [same repo used by VSCODE + GitHub](https://github.com/EarthBuild/earthfile-grammar) and so should be released after to keep up to date. -1. Go to the [repo](https://github.com/earthly/earthfile-grammar) +1. Go to the [repo](https://github.com/EarthBuild/earthfile-grammar) 1. Make relevant changes to the branches + test in this order: 1. py 1. go @@ -127,11 +127,11 @@ Intellij pulls its syntax highlighting from the [same repo used by VSCODE + GitH 1. go 1. main - Follow the instructions on how to sign and release as written in the [README](https://github.com/earthly/earthly-intellij-plugin#signing-requires-earthly-technologies-org-membership) + Follow the instructions on how to sign and release as written in the [README](https://github.com/EarthBuild/earthly-intellij-plugin#signing-requires-earthly-technologies-org-membership) #### Vim -1. Go to the [repo](https://github.com/earthly/earthly.vim) +1. Go to the [repo](https://github.com/EarthBuild/earthly.vim) 1. Make relevant updates and test 1. Once merged to main it will be released @@ -143,6 +143,6 @@ Intellij pulls its syntax highlighting from the [same repo used by VSCODE + GitH #### Emacs -1. Go to the [repo](https://github.com/earthly/earthly-emacs) +1. Go to the [repo](https://github.com/EarthBuild/earthly-emacs) 1. Make relevant updates and test 1. Once merged to main it will be released diff --git a/scripts/tests/auth/test-hello-world-no-ssh-agent.sh b/scripts/tests/auth/test-hello-world-no-ssh-agent.sh index e6d07efd32..cde42fc9b0 100755 --- a/scripts/tests/auth/test-hello-world-no-ssh-agent.sh +++ b/scripts/tests/auth/test-hello-world-no-ssh-agent.sh @@ -4,4 +4,4 @@ set -eu # don't use -x as it will leak the private key source "$(dirname "$0")/setup.sh" # test earthly can access a public repo -"$earthly" github.com/earthly/hello-world:main+hello +"$earthly" github.com/EarthBuild/hello-world:main+hello diff --git a/scripts/tests/auth/test-hello-world-no-ssh-keys.sh b/scripts/tests/auth/test-hello-world-no-ssh-keys.sh index 8164274d18..fd248b2d78 100755 --- a/scripts/tests/auth/test-hello-world-no-ssh-keys.sh +++ b/scripts/tests/auth/test-hello-world-no-ssh-keys.sh @@ -8,4 +8,4 @@ eval "$(ssh-agent)" ssh-add -l | grep 'The agent has no identities' # test earthly can access a public repo -"$earthly" github.com/earthly/hello-world:main+hello +"$earthly" github.com/EarthBuild/hello-world:main+hello diff --git a/scripts/tests/auth/test-hello-world-with-non-authorized-key.sh b/scripts/tests/auth/test-hello-world-with-non-authorized-key.sh index 1f6713018e..71a797f6b7 100755 --- a/scripts/tests/auth/test-hello-world-with-non-authorized-key.sh +++ b/scripts/tests/auth/test-hello-world-with-non-authorized-key.sh @@ -15,4 +15,4 @@ ssh-add /tmp/non-authorized-ssh-key test "$(ssh-add -l | wc -l)" = "1" # test earthly can access a public repo -"$earthly" github.com/earthly/hello-world:main+hello +"$earthly" github.com/EarthBuild/hello-world:main+hello diff --git a/scripts/tests/earthly-image.sh b/scripts/tests/earthly-image.sh index ae31152b8d..9376bbd621 100755 --- a/scripts/tests/earthly-image.sh +++ b/scripts/tests/earthly-image.sh @@ -81,13 +81,13 @@ acbgrep "Executes Earthly builds" output.txt # Display help acbgrep "Executes Earthly builds" output.txt # Display help echo "Test hello world with embedded buildkit." -"$FRONTEND" run --rm --privileged -e EARTHLY_ADDITIONAL_BUILDKIT_CONFIG -v "$dockerconfig:/root/.docker/config.json" "${EARTHLY_IMAGE}" --no-cache github.com/earthly/hello-world:4d466d524f768a379374c785fdef30470e87721d+hello 2>&1 | tee output.txt +"$FRONTEND" run --rm --privileged -e EARTHLY_ADDITIONAL_BUILDKIT_CONFIG -v "$dockerconfig:/root/.docker/config.json" "${EARTHLY_IMAGE}" --no-cache github.com/EarthBuild/hello-world:4d466d524f768a379374c785fdef30470e87721d+hello 2>&1 | tee output.txt acbgrep "Hello World" output.txt acbgrep "Earthly installation is working correctly" output.txt if [ "$FRONTEND" = "docker" ]; then echo "Test use /var/run/docker.sock, but not privileged." - "$FRONTEND" run --rm -e EARTHLY_ADDITIONAL_BUILDKIT_CONFIG -v "$dockerconfig:/root/.docker/config.json" -e NO_BUILDKIT=1 -e EARTHLY_NO_BUILDKIT_UPDATE=1 -v /var/run/docker.sock:/var/run/docker.sock "${EARTHLY_IMAGE}" --no-cache github.com/earthly/hello-world:4d466d524f768a379374c785fdef30470e87721d+hello 2>&1 | tee output.txt + "$FRONTEND" run --rm -e EARTHLY_ADDITIONAL_BUILDKIT_CONFIG -v "$dockerconfig:/root/.docker/config.json" -e NO_BUILDKIT=1 -e EARTHLY_NO_BUILDKIT_UPDATE=1 -v /var/run/docker.sock:/var/run/docker.sock "${EARTHLY_IMAGE}" --no-cache github.com/EarthBuild/hello-world:4d466d524f768a379374c785fdef30470e87721d+hello 2>&1 | tee output.txt acbgrep "Hello World" output.txt acbgrep "Earthly installation is working correctly" output.txt fi diff --git a/tests/Earthfile b/tests/Earthfile index 73d9aa54b1..4a8634b201 100644 --- a/tests/Earthfile +++ b/tests/Earthfile @@ -486,16 +486,16 @@ remote-test: RUN --privileged \ --entrypoint \ --mount=type=tmpfs,target=/tmp/earthly \ - -- --no-output github.com/earthly/hello-world:main+hello + -- --no-output github.com/EarthBuild/hello-world:main+hello RUN --privileged \ --entrypoint \ --mount=type=tmpfs,target=/tmp/earthly \ - -- --no-output github.com/earthly/test-remote/privileged:main+locally && \ + -- --no-output github.com/EarthBuild/test-remote/privileged:main+locally && \ ls /tmp/hostname.3d4b1831-c07e-4b2d-805e-2b8ce578bb50 RUN --privileged \ --entrypoint \ --mount=type=tmpfs,target=/tmp/earthly \ - -- --no-output github.com/earthly/test-remote/builtin-args:main+test + -- --no-output github.com/EarthBuild/test-remote/builtin-args:main+test transitive-args-test: DO +RUN_EARTHLY --earthfile=transitive-args.earth --extra_args="--build-arg SOMEARG=xyz" --target=+test @@ -1173,15 +1173,15 @@ save-artifact-selective-referencing-remote: BUILD +save-artifact-selective-referencing-remote-test3 save-remote-artifact-selective: - DO +RUN_EARTHLY --target=github.com/earthly/test-remote/output/versioned:main+savelocal + DO +RUN_EARTHLY --target=github.com/EarthBuild/test-remote/output/versioned:main+savelocal RUN test -f ./output/testfile dont-save-indirect-remote-artifact: - DO +RUN_EARTHLY --target=github.com/earthly/test-remote/output/versioned:main+copy-from-savelocal + DO +RUN_EARTHLY --target=github.com/EarthBuild/test-remote/output/versioned:main+copy-from-savelocal RUN test ! -f ./output/testfile remote-earthfile-must-have-version: - DO +RUN_EARTHLY --target=github.com/earthly/test-remote/output/no-version:main+copy-from-savelocal --should_fail=true --output_contains="No version specified in github.com/earthly/test-remote/output/no-version" + DO +RUN_EARTHLY --target=github.com/EarthBuild/test-remote/output/no-version:main+copy-from-savelocal --should_fail=true --output_contains="No version specified in github.com/EarthBuild/test-remote/output/no-version" RUN test ! -f ./output/testfile push-build: diff --git a/tests/allow-privileged-import.earth b/tests/allow-privileged-import.earth index 99beb39b75..f1b3db7d85 100644 --- a/tests/allow-privileged-import.earth +++ b/tests/allow-privileged-import.earth @@ -2,7 +2,7 @@ VERSION 0.8 FROM alpine:3.18 RUN apk add libcap # for capsh -IMPORT --allow-privileged github.com/earthly/test-remote/privileged:main +IMPORT --allow-privileged github.com/EarthBuild/test-remote/privileged:main IMPORT ./a/really/deep/subdir test-remote-import: diff --git a/tests/allow-privileged.earth b/tests/allow-privileged.earth index 70b90cf5a8..91f9bdec6e 100644 --- a/tests/allow-privileged.earth +++ b/tests/allow-privileged.earth @@ -3,27 +3,27 @@ FROM alpine:3.18 RUN apk add libcap # for capsh reject-privileged-in-remote-repo-triggered-by-from-locally: - FROM github.com/earthly/test-remote/privileged:main+locally + FROM github.com/EarthBuild/test-remote/privileged:main+locally RUN echo this should never run because the above FROM should fail reject-privileged-in-remote-repo-triggered-by-from-privileged: - FROM github.com/earthly/test-remote/privileged:main+privileged + FROM github.com/EarthBuild/test-remote/privileged:main+privileged RUN echo this should never run because the above FROM should fail reject-privileged-in-remote-repo-triggered-by-copy-locally: - COPY github.com/earthly/test-remote/privileged:main+locally/hostname . + COPY github.com/EarthBuild/test-remote/privileged:main+locally/hostname . RUN echo this should never run because the above COPY should fail reject-privileged-in-remote-repo-triggered-by-copy-privileged: - COPY github.com/earthly/test-remote/privileged:main+privileged/hostname . + COPY github.com/EarthBuild/test-remote/privileged:main+privileged/hostname . RUN echo this should never run because the above COPY should fail reject-privileged-in-remote-repo-triggered-by-build-locally: - BUILD github.com/earthly/test-remote/privileged:main+locally + BUILD github.com/EarthBuild/test-remote/privileged:main+locally RUN echo this should never run because the above BUILD should fail reject-privileged-in-remote-repo-triggered-by-build-privileged: - BUILD github.com/earthly/test-remote/privileged:main+privileged + BUILD github.com/EarthBuild/test-remote/privileged:main+privileged RUN echo this should never run because the above BUILD should fail reject-dedup: @@ -35,35 +35,35 @@ reject-dedup: BUILD +reject-privileged-in-remote-repo-triggered-by-copy reject-privileged-in-remote-repo-triggered-by-docker-load-privileged: - WITH DOCKER --load shouldfail:latest=github.com/earthly/test-remote/privileged:main+privileged + WITH DOCKER --load shouldfail:latest=github.com/EarthBuild/test-remote/privileged:main+privileged RUN echo this should never run because the above --load should fail END allow-privileged-in-remote-repo-triggered-by-from-locally: - FROM --allow-privileged github.com/earthly/test-remote/privileged:main+locally + FROM --allow-privileged github.com/EarthBuild/test-remote/privileged:main+locally RUN echo this command should work allow-privileged-in-remote-repo-triggered-by-copy-locally: - COPY --allow-privileged github.com/earthly/test-remote/privileged:main+locally/hostname . + COPY --allow-privileged github.com/EarthBuild/test-remote/privileged:main+locally/hostname . RUN ls hostname allow-privileged-in-remote-repo-triggered-by-build-locally: - BUILD --allow-privileged github.com/earthly/test-remote/privileged:main+locally + BUILD --allow-privileged github.com/EarthBuild/test-remote/privileged:main+locally allow-privileged-in-remote-repo-triggered-by-from-privileged: - FROM --allow-privileged github.com/earthly/test-remote/privileged:main+privileged + FROM --allow-privileged github.com/EarthBuild/test-remote/privileged:main+privileged RUN echo this command should work allow-privileged-in-remote-repo-triggered-by-copy-privileged: - COPY --allow-privileged github.com/earthly/test-remote/privileged:main+privileged/proc-status . + COPY --allow-privileged github.com/EarthBuild/test-remote/privileged:main+privileged/proc-status . # checking for 0000003fffffffff might fail when running under podman, check the cap_sys_admin bit is set instead RUN capsh --decode="$(cat proc-status | grep CapEff | awk '{print $2}')" | grep cap_sys_admin allow-privileged-in-remote-repo-triggered-by-build-privileged: - BUILD --allow-privileged github.com/earthly/test-remote/privileged:main+privileged + BUILD --allow-privileged github.com/EarthBuild/test-remote/privileged:main+privileged allow-privileged-in-remote-repo-triggered-by-cmd-privileged: - DO --allow-privileged github.com/earthly/test-remote/privileged:main+PRIV + DO --allow-privileged github.com/EarthBuild/test-remote/privileged:main+PRIV allow-all: diff --git a/tests/autoskip/Earthfile b/tests/autoskip/Earthfile index d132af85ad..20242106e7 100644 --- a/tests/autoskip/Earthfile +++ b/tests/autoskip/Earthfile @@ -313,7 +313,7 @@ test-build-flag: DO --pass-args tests+RUN_EARTHLY --extra_args="--auto-skip-db-path=test.db" --earthfile=build-flag.earth --target=+remote RUN cat earthly.output | acbgrep -v 'Hello World' - RUN cat earthly.output | acbgrep 'Target github.com/earthly/test-remote:6accddaba346aeda062ab47bae62e65dcdcc513f+basic .* has already been run' + RUN cat earthly.output | acbgrep 'Target github.com/EarthBuild/test-remote:6accddaba346aeda062ab47bae62e65dcdcc513f+basic .* has already been run' RUN cat earthly.output | acbgrep 'hello from b' test-multi-platform-build-failure: diff --git a/tests/autoskip/build-flag.earth b/tests/autoskip/build-flag.earth index 22bcbfabbf..449f06a742 100644 --- a/tests/autoskip/build-flag.earth +++ b/tests/autoskip/build-flag.earth @@ -13,5 +13,5 @@ basic: BUILD --auto-skip +b remote: - BUILD --auto-skip github.com/earthly/test-remote:6accddaba346aeda062ab47bae62e65dcdcc513f+basic + BUILD --auto-skip github.com/EarthBuild/test-remote:6accddaba346aeda062ab47bae62e65dcdcc513f+basic BUILD +b diff --git a/tests/autoskip/from-dockerfile.earth b/tests/autoskip/from-dockerfile.earth index bbeee5a90b..9f61e4f723 100644 --- a/tests/autoskip/from-dockerfile.earth +++ b/tests/autoskip/from-dockerfile.earth @@ -13,7 +13,7 @@ local-target: RUN echo "hi" remote: - FROM DOCKERFILE github.com/earthly/test-remote/from-dockerfile:40080b4fc1fd4881f5123f03ba030055efbbbafe+create-dockerfile/ + FROM DOCKERFILE github.com/EarthBuild/test-remote/from-dockerfile:40080b4fc1fd4881f5123f03ba030055efbbbafe+create-dockerfile/ RUN echo "hi" create-dockerfile: diff --git a/tests/autoskip/import.earth b/tests/autoskip/import.earth index c6f62c8bd3..75da5d3f48 100644 --- a/tests/autoskip/import.earth +++ b/tests/autoskip/import.earth @@ -1,7 +1,7 @@ VERSION 0.7 IMPORT ./imported AS foo -IMPORT github.com/earthly/test-remote:tags/v0.2 AS remote +IMPORT github.com/EarthBuild/test-remote:tags/v0.2 AS remote basic: BUILD foo+test diff --git a/tests/autoskip/remote-target.earth b/tests/autoskip/remote-target.earth index 4cead725dd..cdf357a53c 100644 --- a/tests/autoskip/remote-target.earth +++ b/tests/autoskip/remote-target.earth @@ -3,27 +3,27 @@ PROJECT testorg/testproj valid-copy: FROM alpine - COPY github.com/earthly/test-remote:tags/v0.2+basic-file/file . + COPY github.com/EarthBuild/test-remote:tags/v0.2+basic-file/file . valid-copy-sha: FROM alpine - COPY github.com/earthly/test-remote:6accddaba346aeda062ab47bae62e65dcdcc513f+basic-file/file . + COPY github.com/EarthBuild/test-remote:6accddaba346aeda062ab47bae62e65dcdcc513f+basic-file/file . valid-from: - FROM github.com/earthly/test-remote:tags/v0.2+basic + FROM github.com/EarthBuild/test-remote:tags/v0.2+basic RUN echo "hello" valid-from-sha: - FROM github.com/earthly/test-remote:6accddaba346aeda062ab47bae62e65dcdcc513f+basic + FROM github.com/EarthBuild/test-remote:6accddaba346aeda062ab47bae62e65dcdcc513f+basic RUN echo "hello" invalid-copy-branch: FROM alpine - COPY github.com/earthly/test-remote:main+basic-file/file . + COPY github.com/EarthBuild/test-remote:main+basic-file/file . valid-build: - BUILD github.com/earthly/test-remote:6accddaba346aeda062ab47bae62e65dcdcc513f+basic - BUILD github.com/earthly/test-remote:tags/v0.2+basic + BUILD github.com/EarthBuild/test-remote:6accddaba346aeda062ab47bae62e65dcdcc513f+basic + BUILD github.com/EarthBuild/test-remote:tags/v0.2+basic invalid-build: - BUILD github.com/earthly/test-remote:main+basic + BUILD github.com/EarthBuild/test-remote:main+basic diff --git a/tests/command.earth b/tests/command.earth index 9a00b09ebb..86ccfe6c0c 100644 --- a/tests/command.earth +++ b/tests/command.earth @@ -22,7 +22,7 @@ test-basic: RUN test -f a.txt test-remote-no-context: - DO github.com/earthly/earthly-command-example:main+COPY_CAT + DO github.com/EarthBuild/earthly-command-example:main+COPY_CAT RUN test -f message.txt test-nested: @@ -46,10 +46,10 @@ test-recursive: RUN ! test -f ./0 test-remote-touch: - DO github.com/earthly/earthly-command-example:main+TOUCH --file=something + DO github.com/EarthBuild/earthly-command-example:main+TOUCH --file=something RUN test -f ./something RUN ! test -f ./touched - DO github.com/earthly/earthly-command-example:main+TOUCH + DO github.com/EarthBuild/earthly-command-example:main+TOUCH RUN test -f ./touched test-scope: diff --git a/tests/function.earth b/tests/function.earth index c1b20e8878..cc078a8f0e 100644 --- a/tests/function.earth +++ b/tests/function.earth @@ -22,7 +22,7 @@ test-basic: RUN test -f a.txt test-remote-no-context: - DO github.com/earthly/earthly-function-example:main+COPY_CAT + DO github.com/EarthBuild/earthly-function-example:main+COPY_CAT RUN test -f message.txt test-nested: @@ -46,10 +46,10 @@ test-recursive: RUN ! test -f ./0 test-remote-touch: - DO github.com/earthly/earthly-function-example:main+TOUCH --file=something + DO github.com/EarthBuild/earthly-function-example:main+TOUCH --file=something RUN test -f ./something RUN ! test -f ./touched - DO github.com/earthly/earthly-function-example:main+TOUCH + DO github.com/EarthBuild/earthly-function-example:main+TOUCH RUN test -f ./touched test-scope: diff --git a/tests/import.earth b/tests/import.earth index a3b0671fdd..6159baac2b 100644 --- a/tests/import.earth +++ b/tests/import.earth @@ -1,8 +1,8 @@ VERSION 0.8 -IMPORT github.com/earthly/earthly-command-example:main -IMPORT github.com/earthly/earthly-command-example:import AS command-import -IMPORT github.com/earthly/hello-world:main AS hello-dolly +IMPORT github.com/EarthBuild/earthly-command-example:main +IMPORT github.com/EarthBuild/earthly-command-example:import AS command-import +IMPORT github.com/EarthBuild/hello-world:main AS hello-dolly all: BUILD +test-command diff --git a/tests/reject-privileged-import.earth b/tests/reject-privileged-import.earth index 110f495087..236d0b7c43 100644 --- a/tests/reject-privileged-import.earth +++ b/tests/reject-privileged-import.earth @@ -1,7 +1,7 @@ VERSION 0.8 FROM alpine:3.18 -IMPORT github.com/earthly/test-remote/privileged:main +IMPORT github.com/EarthBuild/test-remote/privileged:main test-reject-copy: COPY test-remote/privileged+privileged/proc-status . diff --git a/tests/save-artifact-selective-remote.earth b/tests/save-artifact-selective-remote.earth index 989a630c91..c4d9039b59 100644 --- a/tests/save-artifact-selective-remote.earth +++ b/tests/save-artifact-selective-remote.earth @@ -1,19 +1,19 @@ VERSION 0.8 savea: - FROM github.com/earthly/test-remote/output/versioned:main+savelocal + FROM github.com/EarthBuild/test-remote/output/versioned:main+savelocal RUN echo apple > a SAVE ARTIFACT a AS LOCAL a saveb: FROM alpine:3.18 - COPY github.com/earthly/test-remote/output/versioned:main+savelocal/data . + COPY github.com/EarthBuild/test-remote/output/versioned:main+savelocal/data . RUN echo bannan > b SAVE ARTIFACT b AS LOCAL b savec: FROM alpine:3.18 - BUILD github.com/earthly/test-remote/output/versioned:main+savelocal + BUILD github.com/EarthBuild/test-remote/output/versioned:main+savelocal RUN echo cherry > c SAVE ARTIFACT c AS LOCAL c diff --git a/tests/save-images/new-behaviour-remote/Earthfile b/tests/save-images/new-behaviour-remote/Earthfile index 2c692226fe..2bdd88bd4c 100644 --- a/tests/save-images/new-behaviour-remote/Earthfile +++ b/tests/save-images/new-behaviour-remote/Earthfile @@ -2,16 +2,16 @@ VERSION 0.8 FROM alpine:3.18 myimage-fromtest: - FROM github.com/earthly/test-remote/save-image:main+saveimage + FROM github.com/EarthBuild/test-remote/save-image:main+saveimage RUN echo "a639c7fe-9981-4a14-baa0-319c6b0ee49b" > myimage SAVE IMAGE myimage:fromtest myimage-copytest: - COPY github.com/earthly/test-remote/save-image-with-artifact:main+saveimageandartifact/saveimageandartifact-data . + COPY github.com/EarthBuild/test-remote/save-image-with-artifact:main+saveimageandartifact/saveimageandartifact-data . RUN echo "740d027d-06f6-4dc8-a659-2cfa6e782edd" > myimage SAVE IMAGE myimage:copytest myimage-buildtest: - BUILD github.com/earthly/test-remote/save-image:main+saveimage + BUILD github.com/EarthBuild/test-remote/save-image:main+saveimage RUN echo "0a59f9f3-8dc9-461b-971d-16800ba4884f" > myimage SAVE IMAGE myimage:buildtest diff --git a/tests/wildcard-build.earth b/tests/wildcard-build.earth index a6cb0c8a8e..204c751816 100644 --- a/tests/wildcard-build.earth +++ b/tests/wildcard-build.earth @@ -12,10 +12,10 @@ wildcard-glob: BUILD ./wildcard/b*[rz]+test wildcard-remote: - BUILD github.com/earthly/test-remote/wildcard:22403fe8cd4d3fcbc44160be4ee5928ecb1cb975+wildcard-build + BUILD github.com/EarthBuild/test-remote/wildcard:22403fe8cd4d3fcbc44160be4ee5928ecb1cb975+wildcard-build wildcard-remote-glob: - BUILD github.com/earthly/test-remote/wildcard:22403fe8cd4d3fcbc44160be4ee5928ecb1cb975+wildcard-glob + BUILD github.com/EarthBuild/test-remote/wildcard:22403fe8cd4d3fcbc44160be4ee5928ecb1cb975+wildcard-glob wildcard-build-pwd: BUILD ./*+test diff --git a/tests/wildcard-copy.earth b/tests/wildcard-copy.earth index 6089748bb2..65c37c03da 100644 --- a/tests/wildcard-copy.earth +++ b/tests/wildcard-copy.earth @@ -22,10 +22,10 @@ wildcard-copy-rel-dir: DO +TEST --EXPECTED_COUNT=3 wildcard-remote: - BUILD github.com/earthly/test-remote/wildcard:22403fe8cd4d3fcbc44160be4ee5928ecb1cb975+wildcard-copy + BUILD github.com/EarthBuild/test-remote/wildcard:22403fe8cd4d3fcbc44160be4ee5928ecb1cb975+wildcard-copy wildcard-remote-glob: - BUILD github.com/earthly/test-remote/wildcard:22403fe8cd4d3fcbc44160be4ee5928ecb1cb975+wildcard-copy-glob + BUILD github.com/EarthBuild/test-remote/wildcard:22403fe8cd4d3fcbc44160be4ee5928ecb1cb975+wildcard-copy-glob wildcard-multi: COPY ./wildcard/b*[rz]+test/helloworld* ./wildcard/f*+test/helloworld* .