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

chore: Use Transifex integration #9

Merged
merged 1 commit into from
Dec 12, 2023

chore: Use Transifex integration

9ba33b6
Select commit
Loading
Failed to load commit list.
Merged

chore: Use Transifex integration #9

chore: Use Transifex integration
9ba33b6
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Dec 12, 2023 in 16m 18s

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 #9 chore: Make sure transifex CLI installed before build.
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
18.1 Lint 16 MATTERMOST_CHANNEL='{"dev":"app-photos","beta":"app-photos,publication","stable":"app-photos,publication"}' Linux passed
18.2 Unit tests node 16 16 MATTERMOST_CHANNEL='{"dev":"app-photos","beta":"app-photos,publication","stable":"app-photos,publication"}' Linux passed
18.3 Unit tests node 20 20 MATTERMOST_CHANNEL='{"dev":"app-photos","beta":"app-photos,publication","stable":"app-photos,publication"}' Linux passed

Stage 2: build

This stage passed.

Job Node.js ENV OS State
18.4 Build app 16 MATTERMOST_CHANNEL='{"dev":"app-photos","beta":"app-photos,publication","stable":"app-photos,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": {
    "yarn": true
  },
  "branches": {
    "only": [
      "master",
      "/^\\d+\\.\\d+\\.\\d+(\\-beta.\\d+)?$/"
    ]
  },
  "env": [
    "global={:MATTERMOST_CHANNEL=>\"'{\\\"dev\\\":\\\"app-photos\\\",\\\"beta\\\":\\\"app-photos,publication\\\",\\\"stable\\\":\\\"app-photos,publication\\\"}'\"}=MATTERMOST_HOOK_URL=[secure]=REGISTRY_TOKEN=[secure]=GITHUB_TOKEN=[secure]"
  ],
  "stages": [
    {
      "name": "prebuild"
    },
    {
      "name": "build"
    }
  ],
  "jobs": {
    "include": [
      {
        "name": "Lint",
        "stage": "prebuild",
        "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 app",
        "stage": "build",
        "before_script": [
          "[ \"$TRAVIS_SECURE_ENV_VARS\" != \"false\" ] && openssl aes-256-cbc -K $encrypted_497d1a9dc404_key -iv $encrypted_497d1a9dc404_iv -in id_rsa_downcloud_photos.enc -out id_rsa_downcloud_photos -d",
          "[ \"$TRAVIS_SECURE_ENV_VARS\" != \"false\" ] && eval \"$(ssh-agent -s)\"",
          "[ \"$TRAVIS_SECURE_ENV_VARS\" != \"false\" ] && chmod 600 id_rsa_downcloud_photos",
          "[ \"$TRAVIS_SECURE_ENV_VARS\" != \"false\" ] && ssh-add id_rsa_downcloud_photos"
        ],
        "script": [
          "yarn build"
        ],
        "before_deploy": [
          "yarn add cozy-app-publish"
        ],
        "deploy": [
          {
            "repo": "cozy/cozy-photos",
            "provider": "script",
            "script": "yarn run deploy",
            "on": {
              "branch": [
                "master"
              ]
            },
            "skip_cleanup": true
          },
          {
            "repo": "cozy/cozy-photos",
            "provider": "script",
            "script": "yarn run deploy",
            "on": {
              "tags": true
            },
            "skip_cleanup": true
          }
        ]
      }
    ]
  }
}