Skip to content

deploy-dev-manifests #47

deploy-dev-manifests

deploy-dev-manifests #47

name: deploy-dev-manifests
on:
workflow_run:
workflows: ["build-api", "build-container-builder", "build-null-operator"]
types:
- completed
workflow_dispatch:
jobs:
build-manifests:
runs-on: ubuntu-latest
steps:
- uses: ahmadnassri/action-workflow-run-wait@v1
with:

Check failure on line 15 in .github/workflows/update-dev-manifets.yaml

View workflow run for this annotation

GitHub Actions / deploy-dev-manifests

Invalid workflow file

The workflow is not valid. .github/workflows/update-dev-manifets.yaml (Line: 15, Col: 14): Unexpected value '' .github/workflows/update-dev-manifets.yaml (Line: 16, Col: 9): Unexpected value 'timeout'
timeout: 600000
-
name: Checkout deployment code
uses: actions/checkout@v3
with:
repository: 'null-channel/nullcloud-deployments'
token: ${{ secrets.PAT_GITHUB_DEPLOYMENT }}
- name: Update image tag for api service
working-directory: ./deployments/null-cloud/base/api/dev/
run: |
kustomize edit set image nullchannel/eddington-api:${{ github.sha }}
- name: update image tag for null operator
working-directory: ./deployments/null-cloud/base/null-operator/dev/
run: |
kustomize edit set image nullchannel/eddington-null-operator:${{ github.sha }}
- name: Update image tag for container builder service
working-directory: ./deployments/null-cloud/base/container-runner/dev/
run: |
kustomize edit set image nullchannel/eddington-container-runner:${{ github.sha }}
- name: commit to it.
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Actions"
git add .
git commit -m "Update image tag to ${{ steps.vars.outputs.sha }}"
git push