diff --git a/index.yml b/index.yml new file mode 100644 index 0000000000000000000000000000000000000000..16d06322acc04096224bcc0b9040c561aa63c66f --- /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