Commit Graph

6 Commits (wip-integration)

Author SHA1 Message Date
Aravinth Manivannan c24343be52
debug: is dashboard accessible?
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-06-24 00:10:09 +05:30
Aravinth Manivannan 785be9da38
debug: is maildev accessible?
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-06-24 00:05:54 +05:30
Aravinth Manivannan e72d8b76c4
fix: run wget in quiet mode and adapt MAILDEV_URL based on environment
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-06-23 23:54:45 +05:30
Aravinth Manivannan 254dafbff0
hotfix: run gitea on host
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-06-23 23:31:27 +05:30
Aravinth Manivannan a5abfe0f04
fix: mv test dependency services to woodpecker config file
ci/woodpecker/push/woodpecker Pipeline failed Details
2022-06-23 21:28:26 +05:30
Aravinth Manivannan 1a8bc9c1ab
feat: integration testing
SUMMARY
    integration/__main__.py is a CLI-based HTTP client that can interact
    with Hostea Dashboard and Gitea.

    Integration tests are run via integration/tests.sh, which is a
    driver for the HTTP client at integration/__main__.py. The script is
    capable of spinning up a test environment consisting of services
    defined in docker-compose-dev-deps.yml and the Hostea Dashboard and
    tearing it down after a successful run.

    The credentials used to create various accounts and other parameters
    are all defined in integration/tests.sh script it self. So it is
    self contained.

CLIENT FUNCTIONALITY:

    HOSTEA DASHBOARD:
	 - register user with email verification
	 - login
	 - create OIDC app
	 - visit support page

    GITEA:
	 - Install Gitea(DB configuration, etc. The first form that's
	 presented to the visitor after a new instance is deployed)
	 - Register User
	 - Login User
	 - Create repository
	 - Configure OIDC SSO
	 - Login via SSO
2022-06-23 21:06:58 +05:30