|
|
|
@ -32,7 +32,11 @@ spec:
|
|
|
|
|
steps:
|
|
|
|
|
- name: git-clone
|
|
|
|
|
image: bitnami/git
|
|
|
|
|
script: git clone $(params.gitrepositoryurl) $(workspaces.repo.path) && cd $(workspaces.repo.path) && git checkout $(params.gitrevision)
|
|
|
|
|
workingDir: $(workspaces.repo.path)
|
|
|
|
|
script: |
|
|
|
|
|
#!/bin/sh
|
|
|
|
|
git fetch --all --tags
|
|
|
|
|
git checkout $(params.gitrevision)
|
|
|
|
|
- name: npm-build
|
|
|
|
|
runAfter:
|
|
|
|
|
- git-clone
|
|
|
|
@ -73,4 +77,4 @@ spec:
|
|
|
|
|
secretKeyRef:
|
|
|
|
|
name: minio-dev
|
|
|
|
|
key: secretKey
|
|
|
|
|
script: mc cp dist/ sakal-us/
|
|
|
|
|
script: mc cp --recursive dist/ sakal-us/
|