Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): pin dependencies #2323

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

fix(deps): pin dependencies

f10b3e5
Select commit
Loading
Failed to load commit list.
Open

fix(deps): pin dependencies #2323

fix(deps): pin dependencies
f10b3e5
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Branch failed May 31, 2024 in 27m 33s

Build Failed

The build failed. This is a change from the previous build, which passed.

Details

This is a normal build for the renovate/cozy-client-packages branch. You should be able to reproduce it by checking out the branch locally.

Jobs and Stages

This build has 13 jobs, running in seven sequential stages.

Stage 1: Prebuild

This stage passed.

Job ENV OS State
15109.1 Lint PR_TITLE=$(curl https://github.com/${TRAVIS_REPO_SLUG}/pull/${TRAVIS_PULL_REQUEST} 2> /dev/null | grep "title" | head -1) Linux passed
15109.2 Generate Sprite and Palette PR_TITLE=$(curl https://github.com/${TRAVIS_REPO_SLUG}/pull/${TRAVIS_PULL_REQUEST} 2> /dev/null | grep "title" | head -1) Linux passed

Stage 2: Build

This stage passed.

Job ENV OS State
15109.3 Build JS PR_TITLE=$(curl https://github.com/${TRAVIS_REPO_SLUG}/pull/${TRAVIS_PULL_REQUEST} 2> /dev/null | grep "title" | head -1) Linux passed
15109.4 Build CSS PR_TITLE=$(curl https://github.com/${TRAVIS_REPO_SLUG}/pull/${TRAVIS_PULL_REQUEST} 2> /dev/null | grep "title" | head -1) Linux passed

Stage 3: Docs

This stage passed.

Job ENV OS State
15109.5 Build docs PR_TITLE=$(curl https://github.com/${TRAVIS_REPO_SLUG}/pull/${TRAVIS_PULL_REQUEST} 2> /dev/null | grep "title" | head -1) Linux passed

Stage 4: Test

This stage passed.

Job ENV OS State
15109.6 Tests without snapshots PR_TITLE=$(curl https://github.com/${TRAVIS_REPO_SLUG}/pull/${TRAVIS_PULL_REQUEST} 2> /dev/null | grep "title" | head -1) Linux passed
15109.7 Tests snapshots PR_TITLE=$(curl https://github.com/${TRAVIS_REPO_SLUG}/pull/${TRAVIS_PULL_REQUEST} 2> /dev/null | grep "title" | head -1) Linux passed
15109.8 Bundlemon PR_TITLE=$(curl https://github.com/${TRAVIS_REPO_SLUG}/pull/${TRAVIS_PULL_REQUEST} 2> /dev/null | grep "title" | head -1) Linux passed

Stage 5: Screenshots - Create

This stage passed.

Job ENV OS State
15109.9 [Argos] Create desktop screenshots PR_TITLE=$(curl https://github.com/${TRAVIS_REPO_SLUG}/pull/${TRAVIS_PULL_REQUEST} 2> /dev/null | grep "title" | head -1) Linux passed
15109.10 [Argos] Create mobile screenshots PR_TITLE=$(curl https://github.com/${TRAVIS_REPO_SLUG}/pull/${TRAVIS_PULL_REQUEST} 2> /dev/null | grep "title" | head -1) Linux passed
15109.11 [Argos] Create kss screenshots PR_TITLE=$(curl https://github.com/${TRAVIS_REPO_SLUG}/pull/${TRAVIS_PULL_REQUEST} 2> /dev/null | grep "title" | head -1) Linux passed

Stage 6: Screenshots - Upload

This stage failed.

Job ENV OS State
15109.12 [Argos] Upload all screenshots PR_TITLE=$(curl https://github.com/${TRAVIS_REPO_SLUG}/pull/${TRAVIS_PULL_REQUEST} 2> /dev/null | grep "title" | head -1) Linux failed

Stage 7: Deploy

This stage canceled.

Job ENV OS State
15109.13 Deploy PR_TITLE=$(curl https://github.com/${TRAVIS_REPO_SLUG}/pull/${TRAVIS_PULL_REQUEST} 2> /dev/null | grep "title" | head -1) Linux canceled

Build Configuration

Build Option Setting
Language Node.js
Operating System Linux (Jammy)
Build Configuration
{
  "language": "node_js",
  "os": [
    "linux"
  ],
  "dist": "jammy",
  "cache": {
    "npm": false
  },
  "if": "type NOT IN (pull_request)",
  "env": [
    "global={:PR_TITLE=>\"$(curl https://github.com/${TRAVIS_REPO_SLUG}/pull/${TRAVIS_PULL_REQUEST} 2> /dev/null | grep \\\"title\\\" | head -1)\"}"
  ],
  "stages": [
    {
      "name": "Prebuild"
    },
    {
      "name": "Build"
    },
    {
      "name": "Docs"
    },
    {
      "name": "Test"
    },
    {
      "name": "Screenshots - Create"
    },
    {
      "name": "Screenshots - Upload"
    },
    {
      "name": "Deploy"
    }
  ],
  "jobs": {
    "include": [
      {
        "name": "Lint",
        "stage": "Prebuild",
        "script": [
          "yarn lint"
        ],
        "if": "commit_message =~ /^((?!\\[only argos\\]).)*$/"
      },
      {
        "name": "Generate Sprite and Palette",
        "stage": "Prebuild",
        "script": [
          "yarn makeSpriteAndPalette"
        ],
        "workspaces": {
          "create": {
            "name": "sprite-palette-binaries",
            "paths": [
              "./react/Icon/icons-sprite.js",
              "./react/palette.js"
            ]
          }
        }
      },
      {
        "name": "Build JS",
        "stage": "Build",
        "script": [
          "yarn build"
        ],
        "workspaces": {
          "use": [
            "sprite-palette-binaries"
          ],
          "create": {
            "name": "js-binaries",
            "paths": [
              "./transpiled"
            ]
          }
        }
      },
      {
        "name": "Build CSS",
        "stage": "Build",
        "script": [
          "yarn build:css:all"
        ],
        "workspaces": {
          "create": {
            "name": "css-binaries",
            "paths": [
              "./dist"
            ]
          }
        }
      },
      {
        "name": "Build docs",
        "stage": "Docs",
        "script": [
          "yarn build:doc:react",
          "yarn build:doc:kss"
        ],
        "workspaces": {
          "use": [
            "sprite-palette-binaries",
            "js-binaries",
            "css-binaries"
          ],
          "create": {
            "name": "docs-binaries",
            "paths": [
              "./build"
            ]
          }
        }
      },
      {
        "name": "Tests without snapshots",
        "stage": "Test",
        "script": [
          "yarn test:noSnapshots"
        ],
        "workspaces": {
          "use": [
            "sprite-palette-binaries",
            "js-binaries",
            "css-binaries"
          ]
        },
        "if": "commit_message =~ /^((?!\\[only argos\\]).)*$/"
      },
      {
        "name": "Tests snapshots",
        "stage": "Test",
        "script": [
          "yarn test:snapshots"
        ],
        "workspaces": {
          "use": [
            "sprite-palette-binaries",
            "js-binaries",
            "css-binaries"
          ]
        },
        "if": "commit_message =~ /^((?!\\[only argos\\]).)*$/"
      },
      {
        "name": "Bundlemon",
        "stage": "Test",
        "script": [
          "yarn bundlemon"
        ],
        "workspaces": {
          "use": [
            "sprite-palette-binaries",
            "js-binaries",
            "css-binaries"
          ]
        },
        "if": "commit_message =~ /^((?!\\[only argos\\]).)*$/"
      },
      {
        "name": "[Argos] Create desktop screenshots",
        "stage": "Screenshots - Create",
        "script": [
          "if [[ \"${PR_TITLE}\" != *\"[skip argos]\"* ]]; then\n  mkdir ./screenshots\n  npx puppeteer browsers install chrome\n  yarn screenshots --mode react --viewport desktop --screenshot-dir ./screenshots/reactDesktop\nfi\n"
        ],
        "workspaces": {
          "use": [
            "sprite-palette-binaries",
            "js-binaries",
            "css-binaries",
            "docs-binaries"
          ],
          "create": {
            "name": "screenshots-desktop-binaries",
            "paths": [
              "./screenshots"
            ]
          }
        }
      },
      {
        "name": "[Argos] Create mobile screenshots",
        "stage": "Screenshots - Create",
        "script": [
          "if [[ \"${PR_TITLE}\" != *\"[skip argos]\"* ]]; then\n  mkdir ./screenshots\n  npx puppeteer browsers install chrome\n  yarn screenshots --mode react --viewport 300x600 --screenshot-dir ./screenshots/reactMobile\nfi\n"
        ],
        "workspaces": {
          "use": [
            "sprite-palette-binaries",
            "js-binaries",
            "css-binaries",
            "docs-binaries"
          ],
          "create": {
            "name": "screenshots-mobile-binaries",
            "paths": [
              "./screenshots"
            ]
          }
        }
      },
      {
        "name": "[Argos] Create kss screenshots",
        "stage": "Screenshots - Create",
        "script": [
          "if [[ \"${PR_TITLE}\" != *\"[skip argos]\"* ]]; then\n  mkdir ./screenshots\n  npx puppeteer browsers install chrome\n  yarn screenshots --mode kss --screenshot-dir ./screenshots/kss\nfi\n"
        ],
        "workspaces": {
          "use": [
            "sprite-palette-binaries",
            "js-binaries",
            "css-binaries",
            "docs-binaries"
          ],
          "create": {
            "name": "screenshots-kss-binaries",
            "paths": [
              "./screenshots"
            ]
          }
        }
      },
      {
        "name": "[Argos] Upload all screenshots",
        "stage": "Screenshots - Upload",
        "script": [
          "if [[ \"${PR_TITLE}\" != *\"[skip argos]\"* ]]; then\n  yarn argos:upload --parallel screenshots/reactDesktop/ --token $ARGOS_TOKEN  --parallel-total 3 --parallel-nonce $TRAVIS_BUILD_ID --ignore ''\n  yarn argos:upload --parallel screenshots/reactMobile/ --token $ARGOS_TOKEN  --parallel-total 3 --parallel-nonce $TRAVIS_BUILD_ID --ignore ''\n  yarn argos:upload --parallel screenshots/kss/ --token $ARGOS_TOKEN  --parallel-total 3 --parallel-nonce $TRAVIS_BUILD_ID --ignore ''\nfi\n"
        ],
        "workspaces": {
          "use": [
            "sprite-palette-binaries",
            "js-binaries",
            "css-binaries",
            "docs-binaries",
            "screenshots-desktop-binaries",
            "screenshots-mobile-binaries",
            "screenshots-kss-binaries"
          ]
        }
      },
      {
        "name": "Deploy",
        "stage": "Deploy",
        "script": [
          "true"
        ],
        "workspaces": {
          "use": [
            "sprite-palette-binaries",
            "js-binaries",
            "css-binaries",
            "docs-binaries"
          ]
        },
        "deploy": [
          {
            "provider": "script",
            "script": "yarn deploy:doc -- --username cozycloud --email [email protected] --repo https://cozy-bot:[email protected]/cozy/cozy-ui.git && yarn semantic-release",
            "on": {
              "branch": [
                "master"
              ]
            },
            "skip_cleanup": true
          }
        ],
        "if": "commit_message =~ /^((?!\\[only argos\\]).)*$/"
      }
    ]
  }
}