Skip to content
This repository was archived by the owner on Oct 2, 2023. It is now read-only.

Latest commit

 

History

History
86 lines (60 loc) · 1.31 KB

README.md

File metadata and controls

86 lines (60 loc) · 1.31 KB

artifactory

IaC Spinning Artifactory instance on AWS

local DEV environment

System Requirements

  • AWS credentials settings, profile default
  • Define a secret in AWS Secrets Manager:
    • Secret name: artifactory
    • key artifactory_license_1
    • key username (value must be lowercase)
    • key password (value must be lowercase)
  • make
  • podman or docker

pre-commit

To run pre-commit locally, follow the instructions:

pip install --user pre-commit
pre-commit install

DEV Environment init

make init

DEV Environment reconfigure

make reconfigure

DEV Environment Up

make up

DEV Environment Down

make down

STAGE environment

  • Setup AWS profile named stage
  • Define a secret in AWS Secrets Manager:
    • Secret name: artifactory
    • key artifactory_license_2
    • key username (value must be lowercase)
    • key password (value must be lowercase)
  • make
  • podman or docker

STAGE Environment init

make init

STAGE Environment reconfigure

make reconfigure

STAGE Environment Up

make ENV=stage up

STAGE Environment Down

make ENV=stage down