diff --git a/.forgejo/workflows/delete.yaml b/.forgejo/workflows/delete.yaml deleted file mode 100644 index f685492..0000000 --- a/.forgejo/workflows/delete.yaml +++ /dev/null @@ -1,32 +0,0 @@ -name: delete - -on: - workflow_run: - workflows: [build] - types: - - completed - workflow_dispatch: - -jobs: - build: - runs-on: ubuntu-22.04 - - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Replace Image Version - run: | - sha="${{ github.sha }}" - shortSha="${sha:0:7}" - echo "Setting image version to: edp.buildth.ing/devfw-cicd/edgeconnect-action-demo:${shortSha}" - sed -i "s@###IMAGETAG###@edp.buildth.ing/devfw-cicd/edgeconnect-action-demo:${shortSha}@g" ./k8s-deployment.yaml - - - name: Delete action - uses: https://edp.buildth.ing/DevFW-CICD/edge-connect-delete-action@main - id: delete - with: - configFile: ./EdgeConnectConfig.yaml - baseUrl: https://hub.apps.edge.platform.mg3.mdb.osc.live - username: ${{ secrets.EDGEXR_PLATFORM_USERNAME }} - password: ${{ secrets.EDGEXR_PLATFORM_PASSWORD }} diff --git a/EdgeConnectConfig.yaml b/EdgeConnectConfig.yaml index 931f029..37bde30 100644 --- a/EdgeConnectConfig.yaml +++ b/EdgeConnectConfig.yaml @@ -3,17 +3,17 @@ kind: edgeconnect-deployment metadata: name: "edge-app-demo" # name could be used for appName - appVersion: "1.0.0" - organization: "edp2" spec: # dockerApp: # Docker is OBSOLETE # appVersion: "1.0.0" # manifestFile: "./docker-compose.yaml" # image: "https://registry-1.docker.io/library/nginx:latest" k8sApp: + appVersion: "1.0.0" manifestFile: "./k8s-deployment.yaml" # store hash of the manifest file in annotation field. Annotations is a comma separated map of arbitrary key value pairs, infraTemplate: - - region: "EU" + - organization: "edp2" + region: "EU" cloudletOrg: "TelekomOP" cloudletName: "Munich" flavorName: "EU.small"