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

feat: Handle offline mode in Flagship app #2186

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

feat: Rename FlagshipLink to WebFlagshipLink

797a312
Select commit
Loading
Failed to load commit list.
Open

feat: Handle offline mode in Flagship app #2186

feat: Rename FlagshipLink to WebFlagshipLink
797a312
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request failed Sep 24, 2024 in 4m 39s

Build Failed

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

Details

This is a pull request build.

It is running a build against the merge commit, after merging #2186 feat: Handle offline mode in Flagship app.
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

This build has three jobs, running in parallel.

Job Node.js ENV OS State
12645.1 Lint 20.11.0 MATTERMOST_CHANNEL='{"dev":"app---home","beta":"app---home,publication","stable":"app---home,publication"}' Linux failed
12645.2 Unit tests 20.11.0 MATTERMOST_CHANNEL='{"dev":"app---home","beta":"app---home,publication","stable":"app---home,publication"}' Linux failed
12645.3 Build 20.11.0 MATTERMOST_CHANNEL='{"dev":"app---home","beta":"app---home,publication","stable":"app---home,publication"}' Linux passed

Build Configuration

Build Option Setting
Language Node.js
Operating System Linux (Jammy)
Node.js Version 20.11.0
Build Configuration
{
  "language": "node_js",
  "os": [
    "linux"
  ],
  "dist": "jammy",
  "node_js": [
    "20.11.0"
  ],
  "cache": {
    "npm": false
  },
  "branches": {
    "only": [
      "master",
      "/^\\d+\\.\\d+\\.\\d+(\\-beta.\\d+)?$/"
    ]
  },
  "env": [
    "global={:MATTERMOST_CHANNEL=>\"'{\\\"dev\\\":\\\"app---home\\\",\\\"beta\\\":\\\"app---home,publication\\\",\\\"stable\\\":\\\"app---home,publication\\\"}'\"}={:TARGETS_DEV=>\"recette.cozy.works\"}={:TARGETS_BETA=>\"betatest.cozy.works\"}=GITHUB_TOKEN=[secure]=MATTERMOST_HOOK_URL=[secure]=REGISTRY_TOKEN=[secure][secure]=RUNDECK_TOKEN=[secure]"
  ],
  "jobs": {
    "include": [
      {
        "name": "Lint",
        "script": [
          "yarn lint"
        ]
      },
      {
        "name": "Unit tests",
        "script": [
          "yarn test"
        ]
      },
      {
        "name": "Build",
        "before_install": [
          "if [ \"$TRAVIS_SECURE_ENV_VARS\" != \"false\" ]; then openssl aes-256-cbc -K $encrypted_8431ed5600b0_key -iv $encrypted_8431ed5600b0_iv -in ./scripts/id_rsa.enc -out /tmp/deploy_rsa -d; fi",
          "if [ \"$TRAVIS_SECURE_ENV_VARS\" != \"false\" ]; then eval \"$(ssh-agent -s)\"; fi",
          "if [ \"$TRAVIS_SECURE_ENV_VARS\" != \"false\" ]; then chmod 600 /tmp/deploy_rsa; fi",
          "if [ \"$TRAVIS_SECURE_ENV_VARS\" != \"false\" ]; then ssh-add /tmp/deploy_rsa; fi",
          "curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.16.0",
          "export PATH=\"$HOME/.yarn/bin:$PATH\""
        ],
        "script": [
          "echo 'build'",
          "yarn build",
          "echo 'bundlemon'",
          "yarn bundlemon"
        ],
        "before_deploy": [
          "yarn add cozy-app-publish"
        ],
        "deploy": [
          {
            "repo": "cozy/cozy-home",
            "provider": "script",
            "skip_cleanup": true,
            "script": "yarn cozyPublish",
            "on": {
              "branch": [
                "master"
              ]
            }
          },
          {
            "repo": "cozy/cozy-home",
            "provider": "script",
            "skip_cleanup": true,
            "script": "yarn cozyPublish",
            "on": {
              "tags": true
            }
          }
        ]
      }
    ]
  }
}