Skip to content

usda-ocio-eas-test/web-application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drone Setup

Containers and Services

Add postgre container instance to rancher

  • Set environment variable POSTGRES_PASSWORD
  • Set networking and adjust custom container/hostname

Add drone installation from catalog

Enabling Repositories

  1. Log into Drone via github granting access to the oauth application
  2. Select the repositories you wish to enable
  3. Activate the repository

Drone Secrets

  1. In the Drone project access the "Secrets" tab
  2. Add yaml configuration and generate the token
environment:
 RANCHER_ACCESS_KEY: <RANCHER API ACCESS KEY>
 RANCHER_SECRET_KEY: <RANCHER API SECRET KEY>
 SERVICE_NAME: <RANCHER STACK>/<APPLICATION NAME>
 RANCHER_URL: <RANCHER URL>
 SERVICE_CONTAINER: <DOCKER ACCOUNT>/gov-drupal:latest
  1. Add token to .drone.sec file in repo

Drone Configuration

  1. See drone.yml file in example application

Builds

  • Builds start automatically when items are pushed into the repository
  • Services are current started before the old one is shut down

Drupal State

  • Todo by Sean Schoolcraft (fill in info about steps in drone deploy)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published