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

Update Dependencies #321

Merged
merged 2 commits into from
Feb 6, 2024

Merge pull request #320 from RockefellerArchiveCenter/dependency-updates

6d9cb3b
Select commit
Loading
Failed to load commit list.
Merged

Update Dependencies #321

Merge pull request #320 from RockefellerArchiveCenter/dependency-updates
6d9cb3b
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Branch succeeded Feb 6, 2024 in 2m 29s

Build Passed

The build passed, just like the previous build.

Details

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

Jobs and Stages

This build only has a single job.
You can use jobs to test against multiple versions of your runtime or dependencies, or to speed up your build.

Build Configuration

Build Option Setting
Language Python
Operating System Linux (Focal)
Python Version 3.10
Build Configuration
{
  "language": "python",
  "os": [
    "linux"
  ],
  "dist": "focal",
  "python": [
    "3.10"
  ],
  "cache": {
    "directories": [
      "$HOME/.cache/pip",
      "$HOME/.cache/pre-commit"
    ]
  },
  "services": [
    "docker"
  ],
  "env": [
    "global={:CONTAINER=>\"request-broker-web\"}={:APPLICATION_NAME=>\"request_broker\"}={:APPLICATION_PORT=>\"80\"}"
  ],
  "before_install": [
    "cp ${APPLICATION_NAME}/config.py.example ${APPLICATION_NAME}/config.py",
    "echo \"$DOCKER_PASSWORD\" | docker login -u \"$DOCKER_USERNAME\" --password-stdin",
    "docker-compose up -d"
  ],
  "install": [
    "./wait-for-it.sh $CONTAINER:$APPLICATION_PORT -- docker-compose exec $CONTAINER pip install coverage",
    "pip install pre-commit && pre-commit install"
  ],
  "script": [
    "pre-commit run --all-files --show-diff-on-failure",
    "docker-compose exec $CONTAINER coverage run manage.py test",
    "docker-compose exec $CONTAINER coverage report --omit=*/migrations/* -m"
  ],
  "before_deploy": [
    "if [ ! -d deploy_scripts ]; then git clone https://github.com/RockefellerArchiveCenter/deploy_scripts.git; fi",
    "sudo deploy_scripts/substitute_env.sh",
    "sudo deploy_scripts/make_zip_django.sh $DEPLOY_ZIP_DIR $DEPLOY_ZIP_NAME"
  ],
  "deploy": [
    {
      "provider": "s3",
      "access_key_id": "$AWS_ACCESS_KEY",
      "secret_access_key": "$AWS_SECRET_KEY",
      "local_dir": "$DEPLOY_ZIP_DIR",
      "skip_cleanup": true,
      "on": {
        "repo": "RockefellerArchiveCenter/${APPLICATION_NAME}",
        "branch": [
          "base"
        ]
      },
      "bucket": "$AWS_BUCKET_NAME",
      "region": "us-east-1"
    },
    {
      "provider": "codedeploy",
      "bucket": "$AWS_BUCKET_NAME",
      "key": "$DEPLOY_ZIP_NAME",
      "bundle_type": "zip",
      "access_key_id": "$AWS_ACCESS_KEY",
      "secret_access_key": "$AWS_SECRET_KEY",
      "application": "$APPLICATION_NAME",
      "deployment_group": "RequestBrokerProduction",
      "region": "us-east-1",
      "on": {
        "repo": "RockefellerArchiveCenter/${APPLICATION_NAME}",
        "branch": [
          "base"
        ]
      }
    }
  ],
  "notifications": {
    "email": [
      {
        "enabled": false
      }
    ]
  }
}