diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 531a1c1a..a7458e17 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -74,7 +74,10 @@ jobs: - name: Deploy config files if: github.ref == 'refs/heads/master' run: | - kubectl apply -f config/*.yml --namespace argo + npx cdk8s synth + # FIXME: need to change the namespace + kubectl apply -f dist/*.yml --namespace argo + # Re-lint the workflows after deployment because their dependencies is test with deployement. - name: Re-Lint workflows run: | diff --git a/config/semaphores.yml b/config/semaphores.yml deleted file mode 100644 index 2860da26..00000000 --- a/config/semaphores.yml +++ /dev/null @@ -1,10 +0,0 @@ -apiVersion: v1 -kind: ConfigMap -metadata: - name: semaphores - namespace: argo -data: - standardising: '2' # Limit of how many standardising workflow instances can run at the same time - bulk: '4' # Limit of how many bulk workflow instances can run at the same time - bulkcopy: '8' # Limit of how many publish-copy workflow instances can run at the same time - basemaps_import: '10' # Limit of how many basemaps import workflow instances can run at the same time