Skip to content

Commit

Permalink
chore(box.json): Update dependencies
Browse files Browse the repository at this point in the history
Update to cbstorages 3.0.0 and drop support for ACF 2016. 

BREAKING CHANGE: Drop support for ACF 2016.
  • Loading branch information
lmajano authored Oct 14, 2022
1 parent f717586 commit 299099c
Show file tree
Hide file tree
Showing 7 changed files with 64 additions and 74 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: true
matrix:
cfengine: ["lucee@5", "lucee@be", "adobe@2016", "adobe@2018", "adobe@be"]
cfengine: ["lucee@5", "lucee@be", "adobe@2018", "adobe@2021", "adobe@be"]
javaVersion: ["openjdk8", "openjdk11"]
steps:
- name: Checkout Repository
Expand All @@ -20,17 +20,22 @@ jobs:
- name: Setup Java JDK
uses: actions/[email protected]
with:
java-version: 11
java-version: 11

- name: Set Up CommandBox
uses: elpete/setup-commandbox@v1.0.0
uses: Ortus-Solutions/setup-commandbox@v2.0.1

- name: Install dependencies
run: |
box install
- name: Start server
run: box server start cfengine=${{ matrix.cfengine }} javaVersion=${{ matrix.javaVersion }} --noSaveSettings
run: |
box server start cfengine=${{ matrix.cfengine }} javaVersion=${{ matrix.javaVersion }} --noSaveSettings
# Install Adobe 2021 cfpm modules
if [[ "${{ matrix.cfengine }}" == "adobe@2021" ]] ; then
box run-script install:2021
fi
- name: Run TestBox Tests
run: box testbox run
run: box testbox run
27 changes: 16 additions & 11 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,30 @@ jobs:
strategy:
fail-fast: true
matrix:
cfengine: ["lucee@5", "adobe@2016", "adobe@2018"]
cfengine: ["lucee@5", "adobe@2018", "adobe@2021" ]
steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Setup Java JDK
uses: actions/[email protected]
with:
java-version: 11
java-version: 11

- name: Set Up CommandBox
uses: elpete/setup-commandbox@v1.0.0
uses: Ortus-Solutions/setup-commandbox@v2.0.1

- name: Install dependencies
run: |
box install
- name: Start server
run: box server start cfengine=${{ matrix.cfengine }} --noSaveSettings
run: |
box server start cfengine=${{ matrix.cfengine }} --noSaveSettings
# Install Adobe 2021 cfpm modules
if [[ "${{ matrix.cfengine }}" == "adobe@2021" ]] ; then
box run-script install:2021
fi
- name: Run TestBox Tests
run: box testbox run
Expand All @@ -52,18 +57,18 @@ jobs:
- name: Setup Java JDK
uses: actions/[email protected]
with:
java-version: 11
java-version: 11

- name: Set Up CommandBox
uses: elpete/setup-commandbox@v1.0.0
uses: Ortus-Solutions/setup-commandbox@v2.0.1

- name: Install CFFormat
run: box install commandbox-cfformat

- name: Run CFFormat
run: box run-script format

- name: Commit Format Changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Apply cfformat changes
commit_message: Apply cfformat changes
49 changes: 11 additions & 38 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,57 +13,30 @@ jobs:
strategy:
fail-fast: true
matrix:
cfengine: ["lucee@5", "adobe@2016", "adobe@2018"]
cfengine: ["lucee@5", "adobe@2018", "adobe@2021" ]
steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Setup Java JDK
uses: actions/[email protected]
with:
java-version: 11
java-version: 11

- name: Set Up CommandBox
uses: elpete/setup-commandbox@v1.0.0
uses: Ortus-Solutions/setup-commandbox@v2.0.1

- name: Install dependencies
run: |
box install
- name: Start server
run: box server start cfengine=${{ matrix.cfengine }} --noSaveSettings
run: |
box server start cfengine=${{ matrix.cfengine }} --noSaveSettings
# Install Adobe 2021 cfpm modules
if [[ "${{ matrix.cfengine }}" == "adobe@2021" ]] ; then
box run-script install:2021
fi
- name: Run TestBox Tests
run: box testbox run

# release:
# name: Semantic Release
# if: "!contains(github.event.head_commit.message, '__SEMANTIC RELEASE VERSION UPDATE__')"
# needs: tests
# runs-on: ubuntu-latest
# env:
# GA_COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
# steps:
# - name: Checkout Repository
# uses: actions/checkout@v2
# with:
# fetch-depth: 0

# - name: Setup Java JDK
# uses: actions/[email protected]
# with:
# java-version: 11

# - name: Set Up CommandBox
# uses: elpete/[email protected]

# - name: Install and Configure Semantic Release
# run: |
# box install commandbox-semantic-release
# box config set endpoints.forgebox.APIToken=${{ secrets.FORGEBOX_TOKEN }}
# box config set modules.commandbox-semantic-release.plugins='{ "VerifyConditions": "GitHubActionsConditionsVerifier@commandbox-semantic-release", "FetchLastRelease": "ForgeBoxReleaseFetcher@commandbox-semantic-release", "RetrieveCommits": "JGitCommitsRetriever@commandbox-semantic-release", "ParseCommit": "ConventionalChangelogParser@commandbox-semantic-release", "FilterCommits": "DefaultCommitFilterer@commandbox-semantic-release", "AnalyzeCommits": "DefaultCommitAnalyzer@commandbox-semantic-release", "VerifyRelease": "NullReleaseVerifier@commandbox-semantic-release", "GenerateNotes": "GitHubMarkdownNotesGenerator@commandbox-semantic-release", "UpdateChangelog": "FileAppendChangelogUpdater@commandbox-semantic-release", "CommitArtifacts": "NullArtifactsCommitter@commandbox-semantic-release", "PublishRelease": "ForgeBoxReleasePublisher@commandbox-semantic-release", "PublicizeRelease": "GitHubReleasePublicizer@commandbox-semantic-release" }'

# - name: Run Semantic Release
# env:
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: box semantic-release --prerelease
27 changes: 16 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,30 @@ jobs:
strategy:
fail-fast: true
matrix:
cfengine: ["lucee@5", "adobe@2016", "adobe@2018"]
cfengine: ["lucee@5", "adobe@2018", "adobe@2021" ]
steps:
- name: Checkout Repository
uses: actions/checkout@v2

- name: Setup Java JDK
uses: actions/[email protected]
with:
java-version: 11
java-version: 11

- name: Set Up CommandBox
uses: elpete/setup-commandbox@v1.0.0
uses: Ortus-Solutions/setup-commandbox@v2.0.1

- name: Install dependencies
run: |
box install
- name: Start server
run: box server start cfengine=${{ matrix.cfengine }} --noSaveSettings
run: |
box server start cfengine=${{ matrix.cfengine }} --noSaveSettings
# Install Adobe 2021 cfpm modules
if [[ "${{ matrix.cfengine }}" == "adobe@2021" ]] ; then
box run-script install:2021
fi
- name: Run TestBox Tests
run: box testbox run
Expand All @@ -53,19 +58,19 @@ jobs:
- name: Setup Java JDK
uses: actions/[email protected]
with:
java-version: 11
java-version: 11

- name: Set Up CommandBox
uses: elpete/setup-commandbox@v1.0.0
uses: Ortus-Solutions/setup-commandbox@v2.0.1

- name: Install and Configure Semantic Release
run: |
box install commandbox-semantic-release
box config set endpoints.forgebox.APIToken=${{ secrets.FORGEBOX_TOKEN }}
box config set modules.commandbox-semantic-release.targetBranch=main
box config set modules.commandbox-semantic-release.plugins='{ "VerifyConditions": "GitHubActionsConditionsVerifier@commandbox-semantic-release", "FetchLastRelease": "ForgeBoxReleaseFetcher@commandbox-semantic-release", "RetrieveCommits": "JGitCommitsRetriever@commandbox-semantic-release", "ParseCommit": "ConventionalChangelogParser@commandbox-semantic-release", "FilterCommits": "DefaultCommitFilterer@commandbox-semantic-release", "AnalyzeCommits": "DefaultCommitAnalyzer@commandbox-semantic-release", "VerifyRelease": "NullReleaseVerifier@commandbox-semantic-release", "GenerateNotes": "GitHubMarkdownNotesGenerator@commandbox-semantic-release", "UpdateChangelog": "FileAppendChangelogUpdater@commandbox-semantic-release", "CommitArtifacts": "NullArtifactsCommitter@commandbox-semantic-release", "PublishRelease": "ForgeBoxReleasePublisher@commandbox-semantic-release", "PublicizeRelease": "GitHubReleasePublicizer@commandbox-semantic-release" }'
- name: Run Semantic Release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: box semantic-release
run: box semantic-release
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

Authentication services for ColdBox Applications.

## Requirements
## Requirements

- Lucee 5+
- Adobe ColdFusion 2016+
- Adobe ColdFusion 2018+

## Installation

Expand Down
7 changes: 4 additions & 3 deletions box.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
}
],
"dependencies":{
"cbstorages":"^2.0.0"
"cbstorages":"^3.0.0"
},
"devDependencies":{
"testbox":"^3.0.0"
"testbox":"^4"
},
"installPaths":{
"testbox":"testbox/",
Expand All @@ -38,7 +38,8 @@
"scripts":{
"format":"cfformat run models/**/*.cfc,tests/specs/**/*.cfc --overwrite",
"format:check":"cfformat check models/**/*.cfc,tests/specs/**/*.cfc --verbose",
"generateAPIDocs":"rm .tmp --recurse --force && docbox generate mapping=cbauth excludes=tests|ModuleConfig strategy-outputDir=.tmp/apidocs strategy-projectTitle=cbauth"
"generateAPIDocs":"rm .tmp --recurse --force && docbox generate mapping=cbauth excludes=tests|ModuleConfig strategy-outputDir=.tmp/apidocs strategy-projectTitle=cbauth",
"install:2021":"cfpm install zip,debugger"
},
"ignore":[
"**/.*",
Expand Down
5 changes: 3 additions & 2 deletions server.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"name":"cbauth",
"app":{
"cfengine":"adobe@2016"
"cfengine":"adobe@2018"
},
"web":{
"http":{
"port":"61200"
}
}
}
}

0 comments on commit 299099c

Please sign in to comment.