Add build docker image to CI (#7332)
* add build docker image to CI * remove node setup * removed local dependency to test passing docker build * Update CHANGELOG.md * Revert "removed local dependency to test passing docker build" This reverts commit a7801e1874be206c9f3f7bfd367766546bf483b6. * removed unnecessary docker build options * fixed docker build
This commit is contained in:
@@ -16,6 +16,8 @@ lib/
|
||||
|
||||
# Tests
|
||||
spec/
|
||||
# Keep local dependencies used to CI tests
|
||||
!spec/dependencies/
|
||||
|
||||
# IDEs
|
||||
.idea/
|
||||
|
||||
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@@ -71,6 +71,14 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
- run: npm run madge:circular
|
||||
check-docker:
|
||||
name: Docker Build
|
||||
timeout-minutes: 5
|
||||
runs-on: ubuntu-18.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Build docker image
|
||||
uses: docker/build-push-action@v2
|
||||
check-mongo:
|
||||
strategy:
|
||||
matrix:
|
||||
|
||||
@@ -127,6 +127,7 @@ ___
|
||||
- Added centralized feature deprecation with standardized warning logs (Manuel Trezza) [#7303](https://github.com/parse-community/parse-server/pull/7303)
|
||||
- Use Node.js 15.13.0 in CI (Olle Jonsson) [#7312](https://github.com/parse-community/parse-server/pull/7312)
|
||||
- Fix file upload issue for S3 compatible storage (Linode, DigitalOcean) by avoiding empty tags property when creating a file (Ali Oguzhan Yildiz) [#7300](https://github.com/parse-community/parse-server/pull/7300)
|
||||
- Add building Docker image as CI check (Manuel Trezza) [#7332](https://github.com/parse-community/parse-server/pull/7332)
|
||||
___
|
||||
## 4.5.0
|
||||
[Full Changelog](https://github.com/parse-community/parse-server/compare/4.4.0...4.5.0)
|
||||
|
||||
@@ -5,6 +5,10 @@ RUN apk update; \
|
||||
apk add git;
|
||||
WORKDIR /tmp
|
||||
COPY package*.json ./
|
||||
|
||||
# Copy local dependencies for CI tests
|
||||
COPY spec/dependencies spec/dependencies
|
||||
|
||||
RUN npm ci
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
|
||||
2
package-lock.json
generated
2
package-lock.json
generated
@@ -9105,7 +9105,7 @@
|
||||
}
|
||||
},
|
||||
"mock-mail-adapter": {
|
||||
"version": "file:spec/support/MockMailAdapter",
|
||||
"version": "file:spec/dependencies/mock-mail-adapter",
|
||||
"dev": true
|
||||
},
|
||||
"module-definition": {
|
||||
|
||||
@@ -92,7 +92,7 @@
|
||||
"jsdoc-babel": "0.5.0",
|
||||
"lint-staged": "10.2.3",
|
||||
"madge": "4.0.2",
|
||||
"mock-mail-adapter": "file:spec/support/MockMailAdapter",
|
||||
"mock-mail-adapter": "file:spec/dependencies/mock-mail-adapter",
|
||||
"mongodb-runner": "4.8.1",
|
||||
"mongodb-version-list": "1.0.0",
|
||||
"node-fetch": "2.6.1",
|
||||
|
||||
Reference in New Issue
Block a user