From 1d666c9876e167ed3e7d7981ef1257a98b144e6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Noah=20Lindeberg=20Ryd=C3=A9n?= <rydennoah@gmail.com> Date: Mon, 14 Apr 2025 15:30:01 +0200 Subject: [PATCH] yaml file --- index.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 index.yml diff --git a/index.yml b/index.yml new file mode 100644 index 0000000..16d0632 --- /dev/null +++ b/index.yml @@ -0,0 +1,21 @@ +stages: +- name: Build + steps: + - runScriptConfig: + image: python:3.14 + shellScript: |- + mkdir -p /python/src/gitlab.liu.se/elljo130 + ln -s `pwd` /python/src/gitlab.liu.se/elljo130/testing-rancher + cd /python/src/gitlab.liu.se/elljo130/testing-rancher + +- name: Publish + steps: + - publishImageConfig: + dockerfilePath: ./Dockerfile + buildContext: . + tag: example-helloserver:${CICD_EXECUTION_SEQUENCE} + +- name: Deploy + steps: + - applyYamlConfig: + path: ./deployment.yaml -- GitLab