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: Share the displayed folder even from path ending with / #2993

Merged
merged 1 commit into from
Sep 26, 2023

fix: Share the displayed folder even from path ending with /

fd3ea79
Select commit
Loading
Failed to load commit list.
Merged

fix: Share the displayed folder even from path ending with / #2993

fix: Share the displayed folder even from path ending with /
fd3ea79
Select commit
Loading
Failed to load commit list.
This check has been archived and is scheduled for deletion. Learn more about checks retention
Travis CI / Travis CI - Pull Request succeeded Sep 25, 2023 in 12m 28s

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 #2993 fix: Share the displayed folder even from path ending with /.
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

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

Stage 1: prebuild

This stage passed.

Job Node.js ENV OS State
14455.1 Lint 16 MATTERMOST_CHANNEL='{"dev":"appvengers","beta":"appvengers,publication","stable":"appvengers,publication"}' Linux passed
14455.2 Unit tests node 16 16 MATTERMOST_CHANNEL='{"dev":"appvengers","beta":"appvengers,publication","stable":"appvengers,publication"}' Linux passed
14455.3 Unit tests node 18 18 MATTERMOST_CHANNEL='{"dev":"appvengers","beta":"appvengers,publication","stable":"appvengers,publication"}' Linux passed

Stage 2: build

This stage passed.

Job Node.js ENV OS State
14455.4 Drive web 16 MATTERMOST_CHANNEL='{"dev":"appvengers","beta":"appvengers,publication","stable":"appvengers,publication"}' Linux passed
14455.5 Photos web 16 MATTERMOST_CHANNEL='{"dev":"appvengers","beta":"appvengers,publication","stable":"appvengers,publication"}' Linux passed

Build Configuration

Build Option Setting
Language Ruby
Operating System Linux (Focal)
Build Configuration
{
  "node-preset": {
    "language": "node_js",
    "node_js": [
      16,
      18
    ],
    "cache": {
      "yarn": true,
      "directories": [
        "node_modules"
      ]
    },
    "before_install": [
      "curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.22.4",
      "export PATH=\"$HOME/build/cozy/cozy-drive:$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH\""
    ]
  },
  "language": "ruby",
  "os": [
    "linux"
  ],
  "dist": "focal",
  "branches": {
    "only": [
      "master",
      "/^v\\d+\\.\\d+\\.\\d+(\\-beta.\\d+)?$/"
    ]
  },
  "stages": [
    {
      "name": "prebuild"
    },
    {
      "name": "build"
    }
  ],
  "jobs": {
    "include": [
      {
        "name": "Lint",
        "stage": "prebuild",
        "language": "node_js",
        "node_js": "16",
        "cache": {
          "yarn": true,
          "directories": [
            "node_modules"
          ]
        },
        "before_install": [
          "curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.22.4",
          "export PATH=\"$HOME/build/cozy/cozy-drive:$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH\""
        ],
        "script": [
          "yarn lint"
        ]
      },
      {
        "name": "Unit tests node 16",
        "stage": "prebuild",
        "language": "node_js",
        "node_js": "16",
        "cache": {
          "yarn": true,
          "directories": [
            "node_modules"
          ]
        },
        "before_install": [
          "curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.22.4",
          "export PATH=\"$HOME/build/cozy/cozy-drive:$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH\""
        ],
        "script": [
          "yarn test"
        ]
      },
      {
        "name": "Unit tests node 18",
        "stage": "prebuild",
        "language": "node_js",
        "node_js": "18",
        "cache": {
          "yarn": true,
          "directories": [
            "node_modules"
          ]
        },
        "before_install": [
          "curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.22.4",
          "export PATH=\"$HOME/build/cozy/cozy-drive:$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH\""
        ],
        "script": [
          "yarn test"
        ]
      },
      {
        "name": "Drive web",
        "stage": "build",
        "language": "node_js",
        "node_js": "16",
        "cache": {
          "yarn": true,
          "directories": [
            "node_modules"
          ]
        },
        "before_install": [
          "curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.22.4",
          "export PATH=\"$HOME/build/cozy/cozy-drive:$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH\""
        ],
        "env": [
          {
            "COZY_APP_SLUG": "drive"
          }
        ],
        "before_script": [
          "yarn run cozy-ci-transifex",
          "scripts/decrypt.sh"
        ],
        "script": [
          "echo 'pull langages' && echo -en 'travis_fold:start:txpull\\\\r'",
          "yarn tx",
          "echo -en 'travis_fold:end:txpull\\\\r'",
          "echo 'build' && echo -en 'travis_fold:start:build\\\\r'",
          "yarn build:$COZY_APP_SLUG:browser",
          "echo -en 'travis_fold:end:build\\\\r'",
          "if [ \"$TRAVIS_SECURE_ENV_VARS\" != \"false\" ]; then eval \"$(ssh-agent -s)\" && chmod 600 /tmp/id_rsa_travis_downcloud && ssh-add /tmp/id_rsa_travis_downcloud; fi",
          "if [ \"${COZY_APP_SLUG}\" == \"drive\" ]; then yarn bundlemon; fi"
        ],
        "before_deploy": [
          "yarn add cozy-app-publish"
        ],
        "deploy": [
          {
            "repo": "cozy/cozy-drive",
            "provider": "script",
            "script": "yarn run deploy:$COZY_APP_SLUG",
            "on": {
              "branch": [
                "master"
              ]
            },
            "skip_cleanup": true
          },
          {
            "repo": "cozy/cozy-drive",
            "provider": "script",
            "script": "yarn run deploy:$COZY_APP_SLUG",
            "on": {
              "tags": true
            },
            "skip_cleanup": true
          }
        ]
      },
      {
        "name": "Photos web",
        "stage": "build",
        "language": "node_js",
        "node_js": "16",
        "cache": {
          "yarn": true,
          "directories": [
            "node_modules"
          ]
        },
        "before_install": [
          "curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.22.4",
          "export PATH=\"$HOME/build/cozy/cozy-drive:$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH\""
        ],
        "env": [
          {
            "COZY_APP_SLUG": "photos"
          }
        ],
        "before_script": [
          "yarn run cozy-ci-transifex",
          "scripts/decrypt.sh"
        ],
        "script": [
          "echo 'pull langages' && echo -en 'travis_fold:start:txpull\\\\r'",
          "yarn tx",
          "echo -en 'travis_fold:end:txpull\\\\r'",
          "echo 'build' && echo -en 'travis_fold:start:build\\\\r'",
          "yarn build:$COZY_APP_SLUG:browser",
          "echo -en 'travis_fold:end:build\\\\r'",
          "if [ \"$TRAVIS_SECURE_ENV_VARS\" != \"false\" ]; then eval \"$(ssh-agent -s)\" && chmod 600 /tmp/id_rsa_travis_downcloud && ssh-add /tmp/id_rsa_travis_downcloud; fi",
          "if [ \"${COZY_APP_SLUG}\" == \"drive\" ]; then yarn bundlemon; fi"
        ],
        "before_deploy": [
          "yarn add cozy-app-publish"
        ],
        "deploy": [
          {
            "repo": "cozy/cozy-drive",
            "provider": "script",
            "script": "yarn run deploy:$COZY_APP_SLUG",
            "on": {
              "branch": [
                "master"
              ]
            },
            "skip_cleanup": true
          },
          {
            "repo": "cozy/cozy-drive",
            "provider": "script",
            "script": "yarn run deploy:$COZY_APP_SLUG",
            "on": {
              "tags": true
            },
            "skip_cleanup": true
          }
        ]
      }
    ]
  },
  "env": [
    "global={:MATTERMOST_CHANNEL=>\"'{\\\"dev\\\":\\\"appvengers\\\",\\\"beta\\\":\\\"appvengers,publication\\\",\\\"stable\\\":\\\"appvengers,publication\\\"}'\"}=GITHUB_TOKEN=[secure]=TX_PASSWD=[secure]=REGISTRY_TOKEN=[secure][secure]=MATTERMOST_HOOK_URL=[secure]=ANDROID_KEYSTORE_PASS=[secure]=GH_TOKEN=[secure]=RUNDECK_TOKEN=[secure]=TX_TOKEN=[secure]"
  ]
}