Page MenuHomeSoftware Heritage

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

Authored by anlambert on Sep 13 2022, 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
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 31509
Build 49293: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 49292: arc lint + arc unit

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.Sep 13 2022, 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.Sep 13 2022, 4:36 PM