Merge pull request #224 from cita-777/codex/webdav-backup-armv7l
Remove armv7 smoke PR check
This commit is contained in:
@@ -299,35 +299,6 @@ jobs:
|
|||||||
- name: Audit production dependencies
|
- name: Audit production dependencies
|
||||||
run: npm audit --omit=dev --audit-level=high
|
run: npm audit --omit=dev --audit-level=high
|
||||||
|
|
||||||
docker-smoke-armv7:
|
|
||||||
name: Docker Smoke Build (armv7)
|
|
||||||
if: github.event_name == 'pull_request'
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
timeout-minutes: 45
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Checkout
|
|
||||||
uses: actions/checkout@v6
|
|
||||||
|
|
||||||
- name: Set up QEMU
|
|
||||||
uses: docker/setup-qemu-action@v4
|
|
||||||
with:
|
|
||||||
platforms: arm
|
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v4
|
|
||||||
|
|
||||||
- name: Build linux/arm/v7 image
|
|
||||||
uses: docker/build-push-action@v7
|
|
||||||
with:
|
|
||||||
context: .
|
|
||||||
file: docker/Dockerfile
|
|
||||||
platforms: linux/arm/v7
|
|
||||||
push: false
|
|
||||||
provenance: false
|
|
||||||
cache-from: type=gha,scope=ci-armv7-pr
|
|
||||||
cache-to: type=gha,mode=max,scope=ci-armv7-pr
|
|
||||||
|
|
||||||
publish-docker-arch:
|
publish-docker-arch:
|
||||||
name: Publish Docker Image (${{ matrix.arch }})
|
name: Publish Docker Image (${{ matrix.arch }})
|
||||||
if: github.event_name == 'push'
|
if: github.event_name == 'push'
|
||||||
|
|||||||
@@ -16,15 +16,6 @@ describe('docker workflows', () => {
|
|||||||
expect(releaseWorkflow).toContain('"${tag}-armv7"');
|
expect(releaseWorkflow).toContain('"${tag}-armv7"');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('smoke builds the armv7 docker image on pull requests', () => {
|
|
||||||
const ciWorkflow = readFileSync(resolve(process.cwd(), '.github/workflows/ci.yml'), 'utf8');
|
|
||||||
|
|
||||||
expect(ciWorkflow).toContain('Docker Smoke Build (armv7)');
|
|
||||||
expect(ciWorkflow).toContain('if: github.event_name == \'pull_request\'');
|
|
||||||
expect(ciWorkflow).toContain('platforms: linux/arm/v7');
|
|
||||||
expect(ciWorkflow).toContain('push: false');
|
|
||||||
});
|
|
||||||
|
|
||||||
it('uses an armv7-capable node base image in the Dockerfile', () => {
|
it('uses an armv7-capable node base image in the Dockerfile', () => {
|
||||||
const dockerfile = readFileSync(resolve(process.cwd(), 'docker/Dockerfile'), 'utf8');
|
const dockerfile = readFileSync(resolve(process.cwd(), 'docker/Dockerfile'), 'utf8');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user