Skip to content

Commit

Permalink
🐛 fix(broken-link-checker.yml): fix typo in asciidoc-link-check packa…
Browse files Browse the repository at this point in the history
…ge version

🔧 chore(faas_fn_build_invoke.yml): add docker logs for debugging purposes
📝 docs(README.adoc): fix typo in the documentation
  • Loading branch information
ccfontes committed Aug 20, 2023
1 parent 9226377 commit d7668cc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/broken-link-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
with:
node-version: 18
- name: Asciidoc-link-checker
run: npm install -g asciidoc-link-check1.0.15
run: npm install -g asciidoc-link-check@1.0.15
- name: Run asciidoc-link-check
run: |
git clone https://github.com/${{ github.repository_owner }}/faas-bb.git
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/faas_fn_build_invoke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
if [ "$(docker exec my-bb-http-function curl -X POST --data-raw "Hello world" --retry 3 --retry-delay 2 --retry-connrefused http://127.0.0.1:8082)" != "Hello world" ]; then
exit 2
fi
docker logs my-bb-http-function
- name: Build provided Function examples and invoke them
env:
DOCKER_REGISTRY_IMG_ORG_PATH: ghcr.io/${{ github.repository_owner }}
Expand Down Expand Up @@ -65,10 +66,12 @@ jobs:
if [ "$(docker exec bb-http-map curl -X POST --data-raw '{"foo": "bar", "spam": "eggs"}' --retry 3 --retry-delay 2 --retry-connrefused http://127.0.0.1:8082)" != '[["foo","spam"],["bar","eggs"]]' ]; then
exit 6
fi
docker logs bb-http-map
(docker stop bb-http-map-context || exit 0)
(docker rm bb-http-map-context || exit 0)
docker run -d --name bb-http-map-context ghcr.io/${{ github.repository_owner }}/bb-http-map-context:latest bb --main index
if [ "$(docker exec bb-http-map-context curl -X POST --data-raw '{"foo": "bar", "spam": "eggs"}' --retry 3 --retry-delay 2 --retry-connrefused http://127.0.0.1:8082)" != '[["foo","spam"],["bar","eggs"],"application/json",true]' ]; then
exit 7
fi
docker logs bb-http-map-context
2 changes: 1 addition & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Defining `handler` with two arguments containing the request payload and context
----
This works for `bb` language only.

The request `context` will contain a map of `:headers` and `:env` keys.
The `context` will contain a map of `:headers` and `:env` keys.

The `:headers` key will contain a map of the request headers, as such:
[source, clojure]
Expand Down

0 comments on commit d7668cc

Please sign in to comment.