Page MenuHomeSoftware Heritage

tests/urls: Import test views only when running cypress tests
ClosedPublic

Authored by anlambert on Tue, Sep 13, 4:12 PM.

Details

Summary

This fixes migrations when deploying swh-web in production or
staging environment.

See P1452

Diff Detail

Repository
rDWAPPS Web applications
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build has FAILED

Patch application report for D8467 (id=30502)

Rebasing onto a0b384e56f...

Current branch diff-target is up to date.
Changes applied before test
commit 5b0ab27a8d62c7db0efa9b31add89e23f89ea16b
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Tue Sep 13 16:11:18 2022 +0200

    tests/urls: Import test views only when running cypress tests
    
    This fixes migrations when deploying swh-web in production or
    staging environment.

Link to build: https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/2056/
See console output for more information: https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/2056/console

Harbormaster returned this revision to the author for changes because remote builds failed.Tue, Sep 13, 4:23 PM
Harbormaster failed remote builds in B31509: Diff 30502!

Build is green

Patch application report for D8467 (id=30502)

Rebasing onto a0b384e56f...

Current branch diff-target is up to date.
Changes applied before test
commit 5b0ab27a8d62c7db0efa9b31add89e23f89ea16b
Author: Antoine Lambert <anlambert@softwareheritage.org>
Date:   Tue Sep 13 16:11:18 2022 +0200

    tests/urls: Import test views only when running cypress tests
    
    This fixes migrations when deploying swh-web in production or
    staging environment.

See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/2057/ for more details.

This revision is now accepted and ready to land.Tue, Sep 13, 4:36 PM