feat(edge): Added Edge Deployment functionality
This commit is contained in:
parent
b09714c426
commit
130920faea
2 changed files with 4 additions and 4 deletions
4
.github/workflows/delete-edge.yaml
vendored
4
.github/workflows/delete-edge.yaml
vendored
|
|
@ -19,8 +19,8 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
sha="${{ github.sha }}"
|
sha="${{ github.sha }}"
|
||||||
shortSha="${sha:0:7}"
|
shortSha="${sha:0:7}"
|
||||||
echo "Setting image version to: edp.buildth.ing/devfw-cicd/edpdoc:${shortSha}"
|
echo "Setting image version to: edp.buildth.ing/devfw-cicd/website-and-documentation:${shortSha}"
|
||||||
sed -i "s@###IMAGETAG###@edp.buildth.ing/devfw-cicd/edpdoc:${shortSha}@g" ./k8s-deployment.yaml
|
sed -i "s@###IMAGETAG###@edp.buildth.ing/devfw-cicd/website-and-documentation:${shortSha}@g" ./k8s-deployment.yaml
|
||||||
|
|
||||||
- name: Delete action
|
- name: Delete action
|
||||||
uses: https://edp.buildth.ing/DevFW-CICD/edge-connect-delete-action@main
|
uses: https://edp.buildth.ing/DevFW-CICD/edge-connect-delete-action@main
|
||||||
|
|
|
||||||
4
.github/workflows/deploy-edge.yaml
vendored
4
.github/workflows/deploy-edge.yaml
vendored
|
|
@ -19,8 +19,8 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
sha="${{ github.sha }}"
|
sha="${{ github.sha }}"
|
||||||
shortSha="${sha:0:7}"
|
shortSha="${sha:0:7}"
|
||||||
echo "Setting image version to: edp.buildth.ing/devfw-cicd/edpdoc:${shortSha}"
|
echo "Setting image version to: edp.buildth.ing/devfw-cicd/website-and-documentation:${shortSha}"
|
||||||
sed -i "s@###IMAGETAG###@edp.buildth.ing/devfw-cicd/edpdoc:${shortSha}@g" ./k8s-deployment.yaml
|
sed -i "s@###IMAGETAG###@edp.buildth.ing/devfw-cicd/website-and-documentation:${shortSha}@g" ./k8s-deployment.yaml
|
||||||
|
|
||||||
- name: Deploy action
|
- name: Deploy action
|
||||||
uses: https://edp.buildth.ing/DevFW-CICD/edge-connect-deploy-action@main
|
uses: https://edp.buildth.ing/DevFW-CICD/edge-connect-deploy-action@main
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue