Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

4,696 Commits

OpenAF

Build and Testassertstests

Installing

Operating system install

On an empty folder:

OSCommand/Instructions
WindowsDownload and execute:
https://openaf.io/win64/install.bat
MacExecute on a Terminal:
wget -O - https://openaf.io/mac64/install.sh | sh
Unix x86Execute on a shell:
wget -O - https://openaf.io/unix64/install.sh | sh
Unix arm32Execute on a shell:
wget -O - https://openaf.io/arm32/install.sh | sh
Unix arm64Execute on a shell:
wget -O - https://openaf.io/arm64/install.sh | sh

Docker container

Use the docker container:

docker run -ti openaf/openaf

(see more in openaf-dockers)

Download JAR file

Download just the Java JAR file:

BuildURL
Latest stable buildhttps://openaf.io/openaf.jar
Latest nightly buildhttps://openaf.io/nightly/openaf.jar

and the execute on an empty folder:

java -jar openaf.jar --install

Minimum requirements

  • Java: JRE 21
  • Memory: 128MB (for installing and updating, runtime can be lower)
  • Storage: around 160MB (for installing and updating, runtime can be 64MB)

(storage requirements can be made lower if needed, tbc)

How to run a script

How to run a "Hello World" script

StepInstructionSample
1Create a "hello.js" fileprint("Hello World!");
2Execute on the same folder as the "hello.js" file$ openaf -f hello.js

How to run in-line code

Windows

PS > openaf -c "print('Hello World!');"

Unix

$ openaf -c 'print("Hello World!");'

Update and uninstall

Update

openaf --update

Uninstall

Just delete the original empty folder where you executed the install command.

Documentation

Repository documentation

Building

After cloning the repository locally execute:

ojob build.yaml

Testing a build

After building, on the tests sub-folder, the recommend way is to use the just openaf just built:

ojob autoTestAll.yaml

But you can use a previous stable openaf build if the ow.test and ojob functionality could be broken by your changes.

Links

About

A Java & Javascript based "swiss-army knife" scripting DevOps tool for different automation challenges with minimal requirements and footprint, extensible through packages (opacks).

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

13 stars

Watchers

7 watching

Forks

Releases

Packages

Used by

Contributors

Languages