Skip to content

Commit

Permalink
argh, fix typo.
Browse files Browse the repository at this point in the history
Signed-off-by: Ville Aikas <vaikas@chainguard.dev>
  • Loading branch information
vaikas committed Dec 1, 2023
1 parent d0a64b5 commit ad516f1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 20 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/melange-test-pipelines.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ jobs:
- run: |
sudo apt-get -y install bubblewrap
# Make sure we have our tests files here.
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- run: |
testfile="${{matrix.package}}-test.yaml"
melange test --arch x86_64,arm64 --source-dir ./e2e-test/test-fixtures ./e2e-test/$testfile ${{matrix.package}} --repository-append https://packages.wolfi.dev/os --keyring-append https://packages.wolfi.dev/os/wolfi-signing.rsa.pub
echo "Testing $testfile"
melange test --arch x86_64 --source-dir ./e2e-tests/test-fixtures ./e2e-tests/$testfile ${{matrix.package}} --repository-append https://packages.wolfi.dev/os --keyring-append https://packages.wolfi.dev/os/wolfi-signing.rsa.pub
24 changes: 5 additions & 19 deletions docs/md/melange_test.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,42 +22,28 @@ melange test [flags]
### Examples

```
melange test <config.yaml> <package-name>
melange test <test.yaml> <package-name>
```

### Options

```
--apk-cache-dir string directory used for cached apk packages (default is system-defined cache directory)
--arch strings architectures to build for (e.g., x86_64,ppc64le,arm64) -- default is all, unless specified in config
--breakpoint-label string stop build execution at the specified label
--build-date string date used for the timestamps of the files inside the image
--build-option strings build options to enable
--cache-dir string directory used for cached inputs (default "./melange-cache/")
--cache-dir string directory used for cached inputs
--cache-source string directory or bucket used for preloading the cache
--continue-label string continue build execution at the specified label
--create-build-log creates a package.log file containing a list of packages that were built by the command
--debug enables debug logging of build pipelines
--debug enables debug logging of test pipelines (sets -x for steps)
--debug-runner when enabled, the builder pod will persist after the build succeeds or fails
--dependency-log string log dependencies to a specified file
--empty-workspace whether the build workspace should be empty
--env-file string file to use for preloaded environment variables
--fail-on-lint-warning turns linter warnings into failures
--generate-index whether to generate APKINDEX.tar.gz (default true)
--guest-dir string directory used for the build environment guest
-h, --help help for test
-k, --keyring-append strings path to extra keys to include in the build environment keyring
--log-policy strings logging policy to use (default [builtin:stderr])
--namespace string namespace to use in package URLs in SBOM (eg wolfi, alpine) (default "unknown")
--out-dir string directory where packages will be output (default "./packages/")
--overlay-binsh string use specified file as /bin/sh overlay in build environment
--pipeline-dir string directory used to extend defined built-in pipelines
--pipeline-dirs strings directories used to extend defined built-in pipelines
-r, --repository-append strings path to extra repositories to include in the build environment
--runner string which runner to use to enable running commands, default is based on your platform. Options are ["bubblewrap" "docker" "lima" "kubernetes"] (default "bubblewrap")
--signing-key string key to use for signing
--source-dir string directory used for included sources
--strip-origin-name whether origin names should be stripped (for bootstrap)
--vars-file string file to use for preloaded build configuration variables
--test-option strings build options to enable
--workspace-dir string directory used for the workspace at /home/build
```

Expand Down

0 comments on commit ad516f1

Please sign in to comment.