Skip to content

Allow for easy testing with Docker#95

Open
alxy wants to merge 16 commits intooctobercms:masterfrom
alxy:master
Open

Allow for easy testing with Docker#95
alxy wants to merge 16 commits intooctobercms:masterfrom
alxy:master

Conversation

@alxy
Copy link
Contributor

@alxy alxy commented Apr 6, 2021

This adds a github action workflow to push a ready-to-test Docker image including a functional October isnstallation along with the Test plugin installed to GitHub Container registry.

For this to work, the following (beta) feature will need to be enabled: Improved container support

Demo of the workflow on a PR to my fork.

The PR also adds a docker-compose file to easily test locally. Workflow would be the following:

$ git clone https://github.com/octoberrain/test-plugin.git
$ cd test-plugin
$ docker-compose up -d
Recreating oc-test-plugin_web_1 ... done

Then visit http://localhost/backend and login via admin/admin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant