Skip to main content
EXAMPLE

Artifacts

Publish a directory as a [versioned artifact](https://atmos.tools/artifacts), list it in a local repository, and restore its files. This example runs entirely on your filesystem.

Automation
cloudposse / atmos

Try it out

Copy the example into a new directory and make it your own:

atmos init examples/artifacts
cd artifacts

Follow the README for prerequisites and next steps.

README.md859 B
View on GitHub

Artifacts

Publish a directory as a versioned artifact, list it in a local repository, and restore its files. This example runs entirely on your filesystem.

From the repository root, run these commands with a version of Atmos that includes atmos artifacts:

cd examples/artifacts
atmos artifacts publish ./bundle --repository=local --name=builds/app --version=1.0.0
atmos artifacts list --repository=local
atmos artifacts pull builds/app:1.0.0 --repository=local --output=./restored
diff -r bundle restored

The list includes builds/app at version 1.0.0. An empty diff confirms the restored files match the original bundle.