Skip to main content
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.