Skip to content
This repository has been archived by the owner on Jan 2, 2024. It is now read-only.

Update Travis build for auto deployment #27

Merged
merged 1 commit into from
Sep 9, 2020

Conversation

YohanAvishke
Copy link
Member

Purpose

The purpose of this PR is to fix #4

Goals

Make Travis auto-deploy any merged change to Master branch

Approach

  1. Add necessary env variables to Travis environment.
  2. Add Shell script to deploy war files to test server.
  3. Update the travis.yml file to execute deploy script after a build.

Checklist

  • This PR doesn't commit any keys, passwords, tokens, usernames, or other secrets.
  • I have read and understood the development best practices guidelines ( http://bit.ly/sef-best-practices )
  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented on my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation

Test environment

Build environment: Apache Maven 3.6.3
Deploy environment: Ubuntu 18.04.3 LTS, MySQL Ver 8.0.18

Learning

CI/CD, Travis, envsubst

Copy link
Member

@jayasanka-sack jayasanka-sack left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @YohanAvishke !

@jayasanka-sack jayasanka-sack merged commit 1f7a983 into sef-global:master Sep 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integrate CI/CD
2 participants