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

refactor: Use useSettings hook in DefaultRedirectionSnackbar #2117

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

refactor: Rename `helper` to `useShouldShowDefaultRedirectionSnackbar`

349b630
Select commit
Loading
Failed to load commit list.
Open

refactor: Use useSettings hook in DefaultRedirectionSnackbar #2117

refactor: Rename `helper` to `useShouldShowDefaultRedirectionSnackbar`
349b630
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Apr 19, 2024 in 15m 17s

Build Passed

The build passed, just like the previous build.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #2117 feat: TEMP useSetting.
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

This build has four jobs, running in two sequential stages.

Stage 1: prebuild

This stage passed.

Job Node.js ENV OS State
12351.1 Lint 16 MATTERMOST_CHANNEL='{"dev":"app---home","beta":"app---home,publication","stable":"app---home,publication"}' Linux passed
12351.2 Unit tests node 16 16 MATTERMOST_CHANNEL='{"dev":"app---home","beta":"app---home,publication","stable":"app---home,publication"}' Linux passed
12351.3 Unit tests node 20 20 MATTERMOST_CHANNEL='{"dev":"app---home","beta":"app---home,publication","stable":"app---home,publication"}' Linux passed

Stage 2: build

This stage passed.

Job Node.js ENV OS State
12351.4 Build 16 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 16
Build Configuration
{
  "language": "node_js",
  "os": [
    "linux"
  ],
  "dist": "jammy",
  "node_js": [
    "16"
  ],
  "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]"
  ],
  "stages": [
    {
      "name": "prebuild"
    },
    {
      "name": "build"
    }
  ],
  "jobs": {
    "include": [
      {
        "name": "Lint",
        "stage": "prebuild",
        "node_js": "16",
        "script": [
          "yarn lint"
        ]
      },
      {
        "name": "Unit tests node 16",
        "stage": "prebuild",
        "node_js": "16",
        "script": [
          "yarn test"
        ]
      },
      {
        "name": "Unit tests node 20",
        "stage": "prebuild",
        "node_js": "20",
        "script": [
          "yarn test"
        ]
      },
      {
        "name": "Build",
        "stage": "build",
        "node_js": "16",
        "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",
            "script": "yarn cozyPublish",
            "on": {
              "branch": [
                "master"
              ]
            },
            "skip_cleanup": true
          },
          {
            "repo": "cozy/cozy-home",
            "provider": "script",
            "script": "yarn cozyPublish",
            "on": {
              "tags": true
            },
            "skip_cleanup": true
          }
        ]
      }
    ]
  }
}