Adding dev pipeline
This commit is contained in:
parent
2b27901791
commit
0b9ad04c19
30
fitlien-services-dev-pipeline.yaml
Normal file
30
fitlien-services-dev-pipeline.yaml
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
trigger:
|
||||||
|
- dev
|
||||||
|
|
||||||
|
pool:
|
||||||
|
vmImage: "ubuntu-latest"
|
||||||
|
|
||||||
|
variables:
|
||||||
|
major: $(VERSION_MAJOR)
|
||||||
|
minor: $(VERSION_MINOR)
|
||||||
|
prefix: $[format('{0}.{1}', variables['major'], variables['minor'])]
|
||||||
|
patch: $[counter(variables['prefix'], 100)]
|
||||||
|
buildNumber: $(major).$(minor).$(patch)
|
||||||
|
|
||||||
|
resources:
|
||||||
|
repositories:
|
||||||
|
- repository: templateRepo
|
||||||
|
endpoint: cosq-network
|
||||||
|
type: github
|
||||||
|
name: cosq-network/azure-build-pipeline-templates
|
||||||
|
|
||||||
|
extends:
|
||||||
|
template: firebase-functions-deploy.yaml@templateRepo
|
||||||
|
parameters:
|
||||||
|
nodeVersion: "20"
|
||||||
|
firebaseTokenSecret: $(FIREBASE_TOKEN)
|
||||||
|
functionsWorkingDirectory: "$(Build.SourcesDirectory)/functions"
|
||||||
|
envExamplePath: "$(Build.SourcesDirectory)/functions/.env.example"
|
||||||
|
envPath: "$(Build.SourcesDirectory)/functions/.env"
|
||||||
|
buildNumber: $(buildNumber)
|
||||||
|
buildType: debug
|
||||||
Loading…
Reference in New Issue
Block a user