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

Dev to Staging: Agora 3.5.0 and Data mv71 #1343

Merged
merged 55 commits into from
Dec 18, 2024

Merge pull request #1342 from sagely1/AG-1600-pharos-class-bug

65b774b
Select commit
Loading
Failed to load commit list.
Merged

Dev to Staging: Agora 3.5.0 and Data mv71 #1343

Merge pull request #1342 from sagely1/AG-1600-pharos-class-bug
65b774b
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Branch succeeded Dec 18, 2024 in 19m 45s

Build Passed

The build passed, just like the previous build.

Details

This is a normal build for the develop branch. You should be able to reproduce it by checking out the branch locally.

Jobs and Stages

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

Stage 1: test

This stage passed.

Job Node.js ENV OS State
2263.1 16.15.0 REPO_NAME="${PWD##*/}" Linux passed

Stage 2: deploy-develop

This stage passed.

Job Node.js ENV OS State
2263.2 16.15.0 REPO_NAME="${PWD##*/}" Linux passed

Build Configuration

Build Option Setting
Language Node.js
Operating System Linux (Jammy)
Build Configuration
{
  "language": "node_js",
  "os": [
    "linux"
  ],
  "dist": "jammy",
  "addons": {
    "chrome": "stable"
  },
  "branches": {
    "only": [
      "develop",
      "staging",
      "prod"
    ]
  },
  "env": [
    "global={:REPO_NAME=>\"\\\"${PWD##*/}\\\"\"}={:AWS_REGION=>\"\\\"us-east-1\\\"\"}"
  ],
  "install": [
    "curl \"https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip\" -o \"awscliv2.zip\"",
    "unzip awscliv2.zip && sudo ./aws/install",
    "pip install travis-wait-improved awsebcli"
  ],
  "before_script": [
    "mkdir -p ~/.aws",
    "echo -e \"[profile develop]\\nsource_profile=ci-user-develop\\nrole_arn=${AwsCfServiceRoleArn_develop}\\n\" > ~/.aws/config",
    "echo -e \"[ci-user-develop]\\naws_access_key_id=${AwsTravisAccessKey_develop}\\naws_secret_access_key=${AwsTravisSecretAccessKey_develop}\\n\" > ~/.aws/credentials",
    "echo -e \"[profile prod]\\nsource_profile=ci-user-prod\\nrole_arn=${AwsCfServiceRoleArn_prod}\\n\" >> ~/.aws/config",
    "echo -e \"[ci-user-prod]\\naws_access_key_id=${AwsTravisAccessKey_prod}\\naws_secret_access_key=${AwsTravisSecretAccessKey_prod}\\n\" >> ~/.aws/credentials",
    "npm install"
  ],
  "stages": [
    {
      "name": "test"
    },
    {
      "name": "eb-deploy-develop"
    },
    {
      "name": "eb-deploy-staging"
    },
    {
      "name": "eb-deploy-prod"
    }
  ],
  "jobs": {
    "fast_finish": true,
    "include": [
      {
        "stage": "test",
        "node_js": "16.15.0",
        "script": [
          "npm run test",
          "npm run build"
        ]
      },
      {
        "stage": "deploy-develop",
        "if": "(NOT type IN (pull_request)) AND (branch = develop)",
        "node_js": "16.15.0",
        "script": [
          "npm run ci:build:develop",
          "npm run ci:clean",
          "./scripts/set-agora-version.sh || travis_terminate 1",
          "zip /tmp/agora-app.zip -qr9 * .[^.]*",
          "eb deploy --profile develop --verbose --region ${AWS_REGION} --timeout 15 --staged agora-develop"
        ]
      },
      {
        "stage": "deploy-staging",
        "if": "(NOT type IN (pull_request)) AND (branch = staging)",
        "node_js": "16.15.0",
        "script": [
          "npm run ci:build:staging",
          "npm run ci:clean",
          "./scripts/set-agora-version.sh || travis_terminate 1",
          "zip /tmp/agora-app.zip -qr9 * .[^.]*",
          "eb deploy --profile prod --verbose --region ${AWS_REGION} --timeout 15 --staged agora-staging"
        ]
      },
      {
        "stage": "deploy-prod",
        "if": "(NOT type IN (pull_request)) AND (branch = prod)",
        "node_js": "16.15.0",
        "script": [
          "npm run ci:build:prod",
          "npm run ci:clean",
          "./scripts/set-agora-version.sh || travis_terminate 1",
          "zip /tmp/agora-app.zip -qr9 * .[^.]*",
          "eb deploy --profile prod --verbose --region ${AWS_REGION} --timeout 15 --staged agora-prod"
        ]
      }
    ]
  }
}