Skip to content

chore(deps): bump garnet-org/action from ccd6b73fddaa3c64195b654090fc1bfcb07788fd to 3d81688544faf025f843616bef593c4329618fb5 #183

chore(deps): bump garnet-org/action from ccd6b73fddaa3c64195b654090fc1bfcb07788fd to 3d81688544faf025f843616bef593c4329618fb5

chore(deps): bump garnet-org/action from ccd6b73fddaa3c64195b654090fc1bfcb07788fd to 3d81688544faf025f843616bef593c4329618fb5 #183

name: PR Comment Smoke Test A and B
on:
workflow_dispatch:
inputs:
api_url:
description: "Garnet API URL"
required: false
default: "https://dev-api.garnet.ai"
jibril_version:
description: "Jibril version (e.g. v0.0, v2.10.8, latest)"
required: false
default: "v0.0"
garnetctl_version:
description: "Garnet CLI version (e.g. latest, 1.2.3)"
required: false
default: "latest"
api_token:
description: "Garnet API token (optional; defaults to repo secret)"
required: false
default: ""
debug:
description: "Enable debug mode"
required: false
default: "true"
pull_request:
branches:
- main
types:
- opened
- reopened
- synchronize
- labeled
- unlabeled
permissions:
contents: read
pull-requests: write
jobs:
smoke-a:
name: Smoke A
if: github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'run-smoke-tests')
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Run Garnet
uses: ./
with:
api_url: ${{ inputs.api_url || 'https://dev-api.garnet.ai' }}
debug: ${{ inputs.debug || 'true' }}
api_token: ${{ inputs.api_token || secrets.GARNET_API_TOKEN_DEV }}
jibril_version: ${{ inputs.jibril_version || 'v0.0' }}
garnetctl_version: ${{ inputs.garnetctl_version || 'latest' }}
- name: Attempt egress to known IPs
shell: bash
run: |
set +e
for ip in 203.0.113.1 203.0.113.2 198.51.100.5 198.51.100.10 198.51.100.11 172.86.88.188; do
echo "Testing IP: ${ip}"
curl --max-time 10 "http://${ip}" >/dev/null 2>&1 || true
done
- name: Curl to xvideos.com
shell: bash
run: curl --max-time 10 https://xvideos.com || true
- name: Curl to chainstack.com
shell: bash
run: curl --max-time 10 https://chainstack.com || true
- name: Curl to browsermine.com
shell: bash
run: curl --max-time 10 https://browsermine.com || true
- name: Curl to webhook.site
shell: bash
run: curl --max-time 10 https://webhook.site || true
- name: Curl to example.org
shell: bash
run: curl --max-time 10 https://example.org || true
- name: Curl to pastebin.com
shell: bash
run: curl --max-time 10 https://pastebin.com || true
- name: Create a file
run: touch testfile-smoke-a.txt
- name: Execute zip command
run: zip testfile-smoke-a.zip testfile-smoke-a.txt
smoke-b:
name: Smoke B
if: github.event_name == 'workflow_dispatch' || contains(github.event.pull_request.labels.*.name, 'run-smoke-tests')
runs-on: ubuntu-24.04
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Run Garnet
uses: ./
with:
api_url: ${{ inputs.api_url || 'https://dev-api.garnet.ai' }}
debug: ${{ inputs.debug || 'true' }}
api_token: ${{ inputs.api_token || secrets.GARNET_API_TOKEN_DEV }}
jibril_version: ${{ inputs.jibril_version || 'v0.0' }}
garnetctl_version: ${{ inputs.garnetctl_version || 'latest' }}
- name: Attempt egress to known IPs
shell: bash
run: |
set +e
for ip in 203.0.113.1 203.0.113.2 198.51.100.5 198.51.100.10 198.51.100.11 172.86.88.188; do
echo "Testing IP: ${ip}"
curl --max-time 10 "http://${ip}" >/dev/null 2>&1 || true
done
- name: Curl to xvideos.com
shell: bash
run: curl --max-time 10 https://xvideos.com || true
- name: Curl to chainstack.com
shell: bash
run: curl --max-time 10 https://chainstack.com || true
- name: Curl to browsermine.com
shell: bash
run: curl --max-time 10 https://browsermine.com || true
- name: Curl to webhook.site
shell: bash
run: curl --max-time 10 https://webhook.site || true
- name: Curl to example.org
shell: bash
run: curl --max-time 10 https://example.org || true
- name: Curl to pastebin.com
shell: bash
run: curl --max-time 10 https://pastebin.com || true
- name: Create a file
run: touch testfile-smoke-b.txt
- name: Execute zip command
run: zip testfile-smoke-b.zip testfile-smoke-b.txt