UNPKG

ci-auto-deploy

Version:

Automatic Deployment for Continuous Delivery Pipelines

54 lines (46 loc) 1.27 kB
--- # Api Environment Variables # CI-YAML DIRECTIVES, FILES, IMPORTS include|: ${args.envPath}/my_services.yaml # COMMON VARIABLES common: &commonEnv AUTHORIZATION: true # ------------- STAGING ENVIRONMENT ----------------- # staging: common: &stagingEnv <<: *commonEnv MY_ENV: staging # Applications myApi1: <<: *stagingEnv SERVICES: *myApi1Services API_PATH: /my-api API_ENDPOINT: https://staging.myendpoint.lorem.ipsum readYaml|: ${tokenFile}, ${appName} PORT: 6600 myApi2: <<: *stagingEnv SERVICES: *myApi2Services API_PATH: /my-api2 API_ENDPOINT: https://staging.myendpoint.lorem.ipsum2 readYaml|: ${tokenFile}, ${appName} PORT: 7700 # ------------- PRODUCTION ENVIRONMENT -------------- # production: common: &productionEnv <<: *commonEnv MY_ENV: production # Applications myApi1: <<: *productionEnv SERVICES: *myApi1Services API_PATH: /my-api API_ENDPOINT: https://production.myendpoint.lorem.ipsum readYaml|: ${tokenFile}, ${appName} PORT: 6600 myApi2: <<: *productionEnv SERVICES: *myApi2Services API_PATH: /my-api2 API_ENDPOINT: https://production.myendpoint.lorem.ipsum2 readYaml|: ${tokenFile}, ${appName} PORT: 7700