Skip to content

E2E Integrations Test Cloud #385

E2E Integrations Test Cloud

E2E Integrations Test Cloud #385

Workflow file for this run

name: E2E Integrations Test Cloud
concurrency:
group: e2e-cloud-${{ github.ref }}
cancel-in-progress: true
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
push:
branches:
- main
jobs:
cloud_e2e_tests:
name: Cloud E2E (${{ matrix.os }}) ${{ matrix.environment }}.
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
environment: [Production, Development]
env:
RUST_BACKTRACE: full
steps:
- name: Checkout Source Code
uses: actions/checkout@v4
- name: Install Fluvio CLI
run: |
curl -fsS https://hub.infinyon.cloud/install/install.sh | bash
echo "$HOME/.fluvio/bin" >> $GITHUB_PATH
- name: Check Fluvio Installation
run: fluvio version
- name: Setup BATS
uses: mig4/setup-bats@v1
- name: Install Mosquitto
run: |
sudo apt-add-repository ppa:mosquitto-dev/mosquitto-ppa
sudo apt-get update
sudo apt install -y mosquitto mosquitto-clients
- name: Test Cloud Production
timeout-minutes: 20
if: ${{ matrix.environment == 'Production' }}
env:
FLUVIO_CLOUD_REMOTE: 'https://infinyon.cloud'
FLUVIO_CLOUD_TEST_USERNAME: ${{ secrets.HUB_USER_EMAIL }}
FLUVIO_CLOUD_TEST_PASSWORD: ${{ secrets.HUB_USER_PASSWORD }}
run: make cloud_e2e_test
- name: Test Cloud Development
timeout-minutes: 20
if: ${{ matrix.environment == 'Development' }}
env:
FLUVIO_CLOUD_REMOTE: 'https://dev.infinyon.cloud'
FLUVIO_CLOUD_TEST_USERNAME: ${{ secrets.DEV_HUB_USER_EMAIL }}
FLUVIO_CLOUD_TEST_PASSWORD: ${{ secrets.DEV_HUB_USER_PASSWORD }}
run: make cloud_e2e_test
done:
name: Done
needs:
- cloud_e2e_tests
runs-on: ubuntu-latest
steps:
- name: Done
run: echo "Done!"
- name: Slack Notification
uses: 8398a7/action-slack@v3
if: ${{ !success() }}
with:
status: ${{ job.status }}
fields: repo,message,commit,author,action,eventName,ref,workflow,job
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}