{"id":20141525,"url":"https://github.com/michaelborn/cf-server-action","last_synced_at":"2025-06-12T07:04:31.011Z","repository":{"id":86836223,"uuid":"453985564","full_name":"michaelborn/cf-server-action","owner":"michaelborn","description":"Start a CommandBox server for use in GitHub Actions workflows","archived":false,"fork":false,"pushed_at":"2022-02-04T13:32:57.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-13T10:28:08.440Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/michaelborn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-31T11:49:28.000Z","updated_at":"2022-02-03T20:59:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"6ef63177-0e5b-4c8b-b7ae-a97b17ea17bf","html_url":"https://github.com/michaelborn/cf-server-action","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelborn%2Fcf-server-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelborn%2Fcf-server-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelborn%2Fcf-server-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelborn%2Fcf-server-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michaelborn","download_url":"https://codeload.github.com/michaelborn/cf-server-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241586485,"owners_count":19986562,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-13T21:57:38.045Z","updated_at":"2025-03-02T23:27:41.392Z","avatar_url":"https://github.com/michaelborn.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CF Server Github Action\n\nStart a CommandBox server in a background process for automated testing with GitHub Actions.\n\n[![GitHub Marketplace](https://img.shields.io/badge/Marketplace-CF-Server-Action-blue.svg?colorA=24292e\u0026colorB=0366d6\u0026style=flat\u0026longCache=true\u0026logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAM6wAADOsB5dZE0gAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAERSURBVCiRhZG/SsMxFEZPfsVJ61jbxaF0cRQRcRJ9hlYn30IHN/+9iquDCOIsblIrOjqKgy5aKoJQj4O3EEtbPwhJbr6Te28CmdSKeqzeqr0YbfVIrTBKakvtOl5dtTkK+v4HfA9PEyBFCY9AGVgCBLaBp1jPAyfAJ/AAdIEG0dNAiyP7+K1qIfMdonZic6+WJoBJvQlvuwDqcXadUuqPA1NKAlexbRTAIMvMOCjTbMwl1LtI/6KWJ5Q6rT6Ht1MA58AX8Apcqqt5r2qhrgAXQC3CZ6i1+KMd9TRu3MvA3aH/fFPnBodb6oe6HM8+lYHrGdRXW8M9bMZtPXUji69lmf5Cmamq7quNLFZXD9Rq7v0Bpc1o/tp0fisAAAAASUVORK5CYII=)](https://github.com/marketplace/actions/cf-server-action)\n\n## Usage\n\n### Basic Usage\n\nThis example will start up a Lucee5-based CFML server listening on port 2022:\n\n```yml\nsteps:\n  - uses: michaelborn/cf-server-action@v1\n    with:\n      imageTag: lucee5\n      serverPort: 2022\n```\n\n### Using a CF Server Matrix\n\nPass `${{ matrix.cfengine }}` to the `imageTag` option to run your tests against a defined \"matrix\" of CF engines:\n\n```yml\njobs:\n  tests:\n    name: Tests\n    runs-on: ubuntu-latest\n    strategy:\n      fail-fast: true\n      matrix:\n        cfengine: [\"lucee5\", \"adobe2016\", \"adobe2018\" ]\n    steps:\n      - name: Start server\n        uses: michaelborn/cf-server-action@v1\n        with:\n          imageTag: ${{ matrix.cfengine }}\n          serverPort: 1221\n```\n\n### Environment Variable Support\n\nYou can configure some CommandBox and CFConfig properties using environment variables:\n\n```yml\nsteps:\n  - uses: michaelborn/cf-server-action@v1\n    with:\n      imageTag: adobe2018\n      serverPort: 9999\n    env:\n      BOX_CONFIG_VERBOSEERRORS: true\n      BOX_CONFIG_NONINTERACTIVESHELL: true\n\n      # Override server start settings\n      BOX_SERVER_PROFILE: development\n      BOX_SERVER_JVM_HEAPSIZE: 1024\n      \n      # Override CF engine settings with CFConfig\n      CFCONFIG_ADMINPASSWORD: pass\n      CFCONFIG_REQUESTTIMEOUT: 0,0,5,0\n      CFCONFIG_LOGGERS_DEPLOY_LEVEL: trace\n      \n      # Install extensions in Lucee (which can include the CLI)\n      LUCEE_EXTENSIONS: \u003cGUID\u003e\n```\n\nFor more info, read:\n\n* [CommandBox Docker Image Environment Variables](https://commandbox.ortusbooks.com/deploying-commandbox/docker#environment-variables)\n* [CFConfig Environment Variables](https://cfconfig.ortusbooks.com/using-the-cli/env-var-overrides)\n\n## Arguments\n\n* `imageTag` - The CommandBox server to use. For example, `lucee@5.3.8`. See [all supported tags](https://hub.docker.com/r/ortussolutions/commandbox/tags?)\n* `serverPort` - Port for the CommandBox container to listen on. This is NOT the same as the server.json port.\n\n# License\n\nThe scripts and documentation in this project are released under the [MIT License](LICENSE)\n\n## Code of Conduct\n\n\u003e :book: Do unto others as you would have them do to you - [Matthew 7:12](https://www.biblegateway.com/passage/?search=matthew+7%3A12\u0026version=NIV)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelborn%2Fcf-server-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichaelborn%2Fcf-server-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelborn%2Fcf-server-action/lists"}