Skip to content

Commit

Permalink
customizing csync (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
davelanglois-ssc committed Jun 19, 2023
1 parent 69d9b8e commit ffd3bb3
Show file tree
Hide file tree
Showing 7 changed files with 96 additions and 3 deletions.
6 changes: 3 additions & 3 deletions csync/source-base/root-sync-git/setters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ data:
### tier1: 'experimentation' or 'env'
### tier2: [client-name]
### tier34: [project-id] (we replace environment code with “x”)
id: id1
id: client-name
## Folder: 'csync' or 'tier1' or 'tier2'
## 'tier3' or 'tier4' are used only with RepoSync
folder: folder1
folder: tier2

# Git repo values
repo-url: https://AZDO-ORG@dev.azure.com/AZDO-ORG/AZDO-PROJECT/_git/REPO-NAME
# repo-url: https://github.com/GITHUB-ORG/REPO-NAME # Alternate, GitHub
repo-branch: main
repo-dir: deploy/env
repo-dir: tier2/deploy/env
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: setters-version
annotations:
config.kubernetes.io/local-config: 'true'
data:
# set to HEAD or a git tag or a commit or a hash for the revision that should be checked out
version: HEAD
22 changes: 22 additions & 0 deletions csync/source-customization/dev/root-sync-git/setters.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: setters
annotations:
config.kubernetes.io/local-config: 'true'
data:
# Used for naming of the root-sync
## id :
### tier1: 'experimentation' or 'env'
### tier2: [client-name]
### tier34: [project-id] (we replace environment code with “x”)
id: client-name
## Folder: 'csync' or 'tier1' or 'tier2'
## 'tier3' or 'tier4' are used only with RepoSync
folder: tier2

# Git repo values
repo-url: https://AZDO-ORG@dev.azure.com/AZDO-ORG/AZDO-PROJECT/_git/REPO-NAME
# repo-url: https://github.com/GITHUB-ORG/REPO-NAME # Alternate, GitHub
repo-branch: main
repo-dir: tier2/deploy/dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: setters-version
annotations:
config.kubernetes.io/local-config: 'true'
data:
# set to HEAD or a git tag or a commit or a hash for the revision that should be checked out
version: HEAD
22 changes: 22 additions & 0 deletions csync/source-customization/preprod/root-sync-git/setters.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: setters
annotations:
config.kubernetes.io/local-config: 'true'
data:
# Used for naming of the root-sync
## id :
### tier1: 'experimentation' or 'env'
### tier2: [client-name]
### tier34: [project-id] (we replace environment code with “x”)
id: client-name
## Folder: 'csync' or 'tier1' or 'tier2'
## 'tier3' or 'tier4' are used only with RepoSync
folder: tier2

# Git repo values
repo-url: https://AZDO-ORG@dev.azure.com/AZDO-ORG/AZDO-PROJECT/_git/REPO-NAME
# repo-url: https://github.com/GITHUB-ORG/REPO-NAME # Alternate, GitHub
repo-branch: main
repo-dir: tier2/deploy/preprod
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: setters-version
annotations:
config.kubernetes.io/local-config: 'true'
data:
# set to HEAD or a git tag or a commit or a hash for the revision that should be checked out
version: HEAD
22 changes: 22 additions & 0 deletions csync/source-customization/prod/root-sync-git/setters.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: setters
annotations:
config.kubernetes.io/local-config: 'true'
data:
# Used for naming of the root-sync
## id :
### tier1: 'experimentation' or 'env'
### tier2: [client-name]
### tier34: [project-id] (we replace environment code with “x”)
id: client-name
## Folder: 'csync' or 'tier1' or 'tier2'
## 'tier3' or 'tier4' are used only with RepoSync
folder: tier2

# Git repo values
repo-url: https://AZDO-ORG@dev.azure.com/AZDO-ORG/AZDO-PROJECT/_git/REPO-NAME
# repo-url: https://github.com/GITHUB-ORG/REPO-NAME # Alternate, GitHub
repo-branch: main
repo-dir: tier2/deploy/prod

0 comments on commit ffd3bb3

Please sign in to comment.