Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Deploying manifests ERROR: Undefined #322

Open
1 task done
santhoshkumar-ext opened this issue May 21, 2024 · 1 comment
Open
1 task done

Bug: Deploying manifests ERROR: Undefined #322

santhoshkumar-ext opened this issue May 21, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@santhoshkumar-ext
Copy link

santhoshkumar-ext commented May 21, 2024

What happened?

I'm trying to deploy the manifests using the latest action I'm passing the required manifests file and IMAGE URL in the action itself , it is showing unable to find the manifest files under tmp directory
My Action defined as
- uses: Azure/[email protected]
id: k8s-deploy
with:
resource-group: ${{ env.RG_NAME}}
name: ${{ env.AKS_CLUSTER_NAME}}
action: deploy
strategy: basic
private-cluster: true
namespace: ${{ env.K8S_NAMESPACE}}
manifests: |
k8-manifests/insights-copilot-api-deployment.yaml
k8-manifests/insights-copilot-api-service.yaml
images: |
$ACR_URL/$DEPLOYMENT_NAME:${GITHUB_SHA:0:5}-$(date +%Y-%m-%d)

Version

  • I am using the latest version

Runner

self-hosted

Relevant log output

Run Azure/[email protected]
with:
resource-group: ***
name: ***
action: deploy
strategy: basic
private-cluster: true
namespace: insights-copilot-api
manifests: k8-manifests/insights-copilot-api-deployment.yaml
k8-manifests/insights-copilot-api-service.yaml

images: $ACR_URL/$DEPLOYMENT_NAME:$***GITHUB_SHA:0:5***-$(date +%Y-%m-%d)

pull-images: true
route-method: service
version-switch-buffer: 0
traffic-split-method: pod
percentage: 0
force: false
token: ***
annotate-resources: true
annotate-namespace: true
skip-tls-verify: false

env:
AZURE_CREDENTIALS: ***
ACR_URL: ***
ACR_USER_NAME: ***
ACR_PASSWORD: ***
IMAGE_TAG: alpha
AKS_CLUSTER_NAME: ***
RG_NAME: ***
DEPLOYMENT_NAME: insights-copilot-api
K8S_NAMESPACE: insights-copilot-api
AZURE_HTTP_USER_AGENT:
AZUREPS_HOST_ENVIRONMENT:
KUBECONFIG: /home/c689555/actions-runner/insights-copilot-backend/temp/kubeconfig1716304524173
KUBE_CONFIG_PATH: /home/c689555/actions-runner/insights-copilot-backend/_temp/kubeconfig_1716304524173
Deploying manifests
the path "/tmp/insights-copilot-api-deployment.yaml" does not exist
the path "/tmp/insights-copilot-api-service.yaml" does not exist

Error: Error: undefined

@santhoshkumar-ext santhoshkumar-ext added the bug Something isn't working label May 21, 2024
@davdav3
Copy link

davdav3 commented Aug 13, 2024

Hi were you able to resolve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants