I will show IT Architecture outline below.
You know GitHub is a platform for version control using Git.
CircleCI is a continuous integration/delivery tool.
---
applications:
- name: app_sample_ite1
host: appsample_ite1
memory: 512M
env:
destinations: >
[
{
"name":"app_sample_ite1",
"url":"https://appsample_ite1.cfapps.eu10.hana.ondemand.com/",
"forwardAuthToken": true
}
]
---
applications:
- name: app_sample_ite2
host: appsample_ite2
memory: 512M
env:
destinations: >
[
{
"name":"app_sample_ite2",
"url":"https://appsample_ite2.cfapps.eu10.hana.ondemand.com/",
"forwardAuthToken": true
}
]
version: 2.1
orbs:
cloudfoundry: circleci/cloudfoundry@0.1.73
workflows:
"Sample App":
jobs:
- build_ite1
- build_ite2
jobs:
build_ite1:
docker:
- image: circleci/node:10.15.3
steps:
- checkout
- run:
name: Sample App
command: |
curl -v -L -o cf-cli_amd64.deb 'https://cli.run.pivotal.io/stable?release=debian64&source=github'
sudo dpkg -i cf-cli_amd64.deb
npm config set @sap:registry https://npm.sap.com -yes
npm install @sap/xssec
echo Y | sudo npm install -g -y @angular/cli
cp env/ite1/manifest.yml ./
cf login -a https://api.cf.eu10.hana.ondemand.com -u [Your email] -p [Your password] -o [Your organization] -s [Your space]
cf push
build_ite2:
docker:
- image: circleci/node:10.15.3
steps:
- checkout
- run:
name: Sample App
command: |
curl -v -L -o cf-cli_amd64.deb 'https://cli.run.pivotal.io/stable?release=debian64&source=github'
sudo dpkg -i cf-cli_amd64.deb
npm config set @sap:registry https://npm.sap.com -yes
npm install @sap/xssec
echo Y | sudo npm install -g -y @angular/cli
cp env/ite2/manifest.yml ./
cf login -a https://api.cf.eu10.hana.ondemand.com -u [Your email] -p [Your password] -o [Your organization] -s [Your space]
cf push
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
5 | |
4 | |
4 | |
4 | |
4 | |
4 | |
4 | |
3 | |
3 |