aboutsummaryrefslogtreecommitdiff
path: root/.ci/ci.ts
diff options
context:
space:
mode:
Diffstat (limited to '.ci/ci.ts')
-rw-r--r--.ci/ci.ts40
1 files changed, 20 insertions, 20 deletions
diff --git a/.ci/ci.ts b/.ci/ci.ts
index 2b54cd8..1f4b5c6 100644
--- a/.ci/ci.ts
+++ b/.ci/ci.ts
@@ -9,10 +9,10 @@ import {
} from '@emprespresso/ci_model';
import { join } from 'path';
-const REGISTRY = 'oci.liz.coffee';
+const REGISTRY = 'img.liz.coffee';
const NAMESPACE = 'emprespresso';
const IMG = 'ci';
-const REMOTE = 'ssh://src.liz.coffee:2222';
+const REMOTE = 'https://code.liz.coffee';
const getPipeline = () => {
const gitHookPipeline = new DefaultGitHookPipelineBuilder();
@@ -70,24 +70,24 @@ const getPipeline = () => {
return gitHookPipeline.build();
}
- const fetchAnsibleCode: FetchCodeJob = {
- type: 'fetch_code',
- arguments: {
- remoteUrl: `${REMOTE}/infra`,
- checkout: 'main',
- path: 'infra',
- },
- };
- const thenDeploy: AnsiblePlaybookJob = {
- type: 'ansible_playbook.js',
- arguments: {
- path: 'infra',
- playbooks: 'playbooks/ci.yml',
- },
- };
- [fetchAnsibleCode, thenDeploy].forEach((deploymentStage) =>
- gitHookPipeline.addStage({ parallelJobs: [deploymentStage] }),
- );
+// const fetchAnsibleCode: FetchCodeJob = {
+// type: 'fetch_code',
+// arguments: {
+// remoteUrl: `${REMOTE}/infra`,
+// checkout: 'main',
+// path: 'infra',
+// },
+// };
+// const thenDeploy: AnsiblePlaybookJob = {
+// type: 'ansible_playbook.js',
+// arguments: {
+// path: 'infra',
+// playbooks: 'playbooks/ci.yml',
+// },
+// };
+// [fetchAnsibleCode, thenDeploy].forEach((deploymentStage) =>
+// gitHookPipeline.addStage({ parallelJobs: [deploymentStage] }),
+// );
return gitHookPipeline.build();
};