Skip to content

Commit

Permalink
Remove downloaded kubectl binary after installation in pipeline (#35)
Browse files Browse the repository at this point in the history
* Remove downloaded kubectl binary after installation in pipeline
  • Loading branch information
ahmedwaleedmalik authored Sep 23, 2020
1 parent e66405b commit 595c565
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Install kubectl
run: |
curl -LO "https://storage.googleapis.com/kubernetes-release/release/v${KUBERNETES_VERSION}/bin/linux/amd64/kubectl"
sudo install ./kubectl /usr/local/bin/
sudo install ./kubectl /usr/local/bin/ && rm kubectl
kubectl version --short --client
kubectl version --short --client | grep -q ${KUBERNETES_VERSION}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Install kubectl
run: |
curl -LO "https://storage.googleapis.com/kubernetes-release/release/v${KUBERNETES_VERSION}/bin/linux/amd64/kubectl"
sudo install ./kubectl /usr/local/bin/
sudo install ./kubectl /usr/local/bin/ && rm kubectl
kubectl version --short --client
kubectl version --short --client | grep -q ${KUBERNETES_VERSION}
Expand Down
6 changes: 3 additions & 3 deletions mock/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var CreateProjectInputJSON = map[string]string{
"projectTemplateKey": "com.atlassian.servicedesk:itil-v2-service-desk-project",
"description": "Sample project for jira-service-desk-operator",
"assigneeType": "PROJECT_LEAD",
"leadAccountId": "5ebfbc3ead226b0ba46c3590",
"leadAccountId": "5f62e5902b42470070d1fb83",
"url": "https://test.com",
}

Expand All @@ -42,7 +42,7 @@ var CreateProjectInput = jiraservicedeskv1alpha1.Project{
ProjectTemplateKey: "com.atlassian.servicedesk:itil-v2-service-desk-project",
Description: "Sample project for jira-service-desk-operator",
AssigneeType: "PROJECT_LEAD",
LeadAccountId: "5ebfbc3ead226b0ba46c3590",
LeadAccountId: "5f62e5902b42470070d1fb83",
URL: "https://test.com",
},
}
Expand All @@ -55,7 +55,7 @@ var CreateProjectInvalidInput = jiraservicedeskv1alpha1.Project{
ProjectTemplateKey: "com.atlassian.servicedesk:itil-v2-service-desk-project",
Description: "Sample project for jira-service-desk-operator",
AssigneeType: "PROJECT_LEAD",
LeadAccountId: "5ebfbc3ead226b0ba46c3590",
LeadAccountId: "5f62e5902b42470070d1fb83",
URL: "https://test.com",
AvatarId: 10200,
IssueSecurityScheme: 10001,
Expand Down

0 comments on commit 595c565

Please sign in to comment.