feat: add FTEST_HOST config param and CI badge
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Aravinth Manivannan 2023-09-27 15:44:35 +05:30
parent 3775cd132f
commit d75cbec117
Signed by: realaravinth
GPG key ID: F8F50389936984FF
2 changed files with 11 additions and 5 deletions

View file

@ -1,3 +1,4 @@
export FTEST_AUTH="foobar" export FTEST_AUTH="foobar"
export FTEST_HOST="http://ftest.example.org"
export FTEST_TARGET_HOST="http://localhost:3000" export FTEST_TARGET_HOST="http://localhost:3000"
export FTEST_USER="john@example.org" export FTEST_USER="john@example.org"

View file

@ -1,3 +1,7 @@
[![status-badge](https://ci.batsense.net/api/badges/86/status.svg)](https://ci.batsense.net/repos/86)
---
# WebFinger tests for ForgeFlux/ftest # WebFinger tests for ForgeFlux/ftest
## TODO ## TODO
@ -11,8 +15,9 @@
Please see [`.env_sample`](./.env_sample) Please see [`.env_sample`](./.env_sample)
| NAME | Purpose | Example | | NAME | Purpose | Example |
| ------------------- | ------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------- | | ------------------- | ------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
| `FTEST_AUTH` | Authorization token for uploading test results to ftest server | a random-generated string that will be provided by ftest server | | `FTEST_AUTH` | Authorization token for uploading test results to ftest server | a random-generated string that will be provided by ftest server |
| `FTEST_HOST` | The URL of the ftest's instance to which tests results should be uploaded | `http://localhost:5000`, if an ftest implementation is running on localhost at port 5000 |
| `FTEST_TARGET_HOST` | The URL of the implementation's instance against which tests will be run | `http://localhost:3000`, if Forgejo or any other WebFinger implementation is running on localhost at port 3000 | | `FTEST_TARGET_HOST` | The URL of the implementation's instance against which tests will be run | `http://localhost:3000`, if Forgejo or any other WebFinger implementation is running on localhost at port 3000 |
| `FTEST_USER` | address of the actor against which WebFinger tests will be run | `john@localhost:3000`. User `john` should exist on the instance | | `FTEST_USER` | address of the actor against which WebFinger tests will be run | `john@localhost:3000`. User `john` should exist on the instance |