Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add integration test #1359

Merged
merged 1 commit into from
Feb 15, 2022
Merged

Add integration test #1359

merged 1 commit into from
Feb 15, 2022

Conversation

swalkinshaw
Copy link
Member

Uses trellis-cli to create a new Trellis project from the current SHA. The project is provisioned and deployed all using trellis-cli.

Finally the site is verified that WordPress was actually installed and working.

The steps are a little more complex than someone provisioning a normal remote server for a few reasons:

  1. GitHub's Ubuntu image has a lot of software installed by default including mysql-server which needs to be purged completely.
  2. there's a few workarounds to force Ansible to use a local connection since we aren't actually SSHing into a remote server.

@@ -33,34 +33,32 @@
when: mysql_binary_logging_disabled | bool
notify: restart mysql server

- name: Copy .my.cnf file with root password credentials.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Going to separate this change into its own PR

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uses trellis-cli to create a new Trellis project from the current SHA.
The project is provisioned and deployed all using trellis-cli.

Finally the site is verified that WordPress was actually installed and
working.

The steps are a little more complex than someone provisioning a normal
remote server for a few reasons:

1. GitHub's Ubuntu image has a lot of software installed by default
   including mysql-server which needs to be purged completely.
2. there's a few workarounds to force Ansible to use a local connection
   since we aren't actually SSHing into a remote server.
@swalkinshaw swalkinshaw merged commit 91385fa into master Feb 15, 2022
@swalkinshaw swalkinshaw deleted the add-integration-test branch February 15, 2022 05:23
@swalkinshaw swalkinshaw restored the add-integration-test branch February 15, 2022 05:23
@swalkinshaw swalkinshaw deleted the add-integration-test branch February 15, 2022 05:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant