Skip to content

Bump requests from 2.25.1 to 2.31.0 #260

Bump requests from 2.25.1 to 2.31.0

Bump requests from 2.25.1 to 2.31.0 #260

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ dev ]
pull_request:
branches: [ dev ]
jobs:
build:
runs-on: ubuntu-latest
services:
# Label used to access the service container
postgres:
# Docker Hub image
image: postgres
# Provide the password for postgres
env:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
# Set health checks to wait until postgres has started
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
# Maps tcp port 5432 on service container to the host
- 5432:5432
steps:
- uses: actions/checkout@v2
- name: Test Postgres
run: |
npm ci
node client.js
env:
POSTGRES_HOST: localhost
POSTGRES_PORT: 5432
- name: Build the Docker image
env:
DB_USER: postgres
DB_PASSWORD: postgres
DB_HOST: 127.0.0.1
DB_NAME: postgres
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
DJANGO_SYS_EMAIL: ${{ secrets.DJANGO_SYS_EMAIL }}
DJANGO_SYS_EMAIL_PWD: ${{ secrets.DJANGO_SYS_EMAIL_PWD }}
JIRA_ENDPOINT: ${{ secrets.JIRA_ENDPOINT }}
JIRA_USERNAME: ${{ secrets.JIRA_USERNAME }}
JIRA_TOKEN: ${{ secrets.JIRA_TOKEN }}
LOG_FILENAME_WITH_PATH: "/usr/src/app/logging/django_log.txt"
MODE: "PYTEST"
run: |
docker-compose -f docker-compose-pytest-django.yml build --no-cache
docker-compose -f docker-compose-pytest-django.yml up --force-recreate --exit-code-from django
- name: Expose Django logs
uses: actions/upload-artifact@v2
if: always()
with:
name: django-logs
path: /usr/src/app/logging/django_log.txt