Commit 205ec914 authored by Hema Vishnu Pola [Microsoft]'s avatar Hema Vishnu Pola [Microsoft]
Browse files

trying pipelines for service.

parent 1fd77123
Pipeline #10532 passed with stages
in 5 minutes and 10 seconds
# Copyright © Microsoft Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Required Group Variables - `Infrastructure Pipeline Variables`
# AGENT_POOL
# AZURE_REGISTRY
# HELM_REPO
# K8_ENV_PREFIX
trigger:
batch: true
branches:
include:
- master
paths:
include:
- /devops/azure/chart/*
- /devops/aks-pipeline.yml
exclude:
- /**/*.md
pr:
autoCancel: false
branches:
include:
- "*"
exclude:
- master
paths:
include:
- /devops/azure/chart/*
- /devops/aks-pipeline.yml
exclude:
- /**/*.md
resources:
repositories:
- repository: K8ManifestsRepo
type: git
name: k8-gitops-manifests
- repository: osdu-infrastructure
type: git
name: OSDU_Rx/osdu-infrastructure
variables:
- group: 'Azure - OSDU'
- group: "Azure Common Secrets"
- group: "Azure - Common"
- name: serviceName
value: "entitlements"
- name: chartPath
value: "/devops/azure/chart"
- name: valuesFile
value: "/devops/azure/chart/helm-config.yaml"
- name: 'MANIFEST_REPO'
value: $[ resources.repositories['K8ManifestsRepo'].name ]
stages:
- template: devops/service-pipelines/aks-deploy-stages.yml@osdu-infrastructure
parameters:
serviceName: ${{ variables.serviceName }}
chartPath: ${{ variables.chartPath }}
valuesFile: ${{ variables.valuesFile }}
providers:
- name: Azure
environments: ["hepola_test"]
\ No newline at end of file
# This file contains the essential configs for the osdu on azure helm chart
global:
# Service(s) Replica Count
replicaCount: 2
################################################################################
# Specify the azure environment specific values
#
azure:
tenant: ${AZURE_TENANT_ID}
subscription: ${ENV_SUBSCRIPTION_ID}
resourcegroup: ${ENV_BASE_NAME_21}-rg
identity: ${ENV_BASE_NAME_21}-osdu-identity
identity_id: ${ENV_IDENTITY_ID}
keyvault: ${ENV_BASE_NAME_21}-kv
appid: ${ENV_APP_ID}
################################################################################
# Specify the Ingress Settings
# DNS Hostname for thet Gateway
# Admin Email Address to be notified for SSL expirations
# Lets Encrypt SSL Server
# https://acme-staging-v02.api.letsencrypt.org/directory --> Staging Server
# https://acme-v02.api.letsencrypt.org/directory --> Production Server
#
ingress:
hostname: ${ENV_HOST}
admin: ${ADMIN_EMAIL}
sslServer: https://acme-v02.api.letsencrypt.org/directory # Production
################################################################################
# Specify the Gitlab branch being used for image creation
# ie: community.opengroup.org:5555/osdu/platform/system/storage/{{ .Values.global.branch }}/storage:latest
#
image:
repository: ${ENV_REGISTRY}
branch: ${BRANCH}
tag: ${TAG}
################################################################################
# Specify the istio specific values
# based64 encoded username and password
#
istio:
username: $ISTIO_USERNAME
password: $ISTIO_PASSWORD
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment