Skip to content

Commit

Permalink
Update pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedwaleedmalik committed Dec 4, 2020
1 parent c1ee05a commit dea0fd3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,7 @@ jobs:
run: |
kubectl cluster-info
kubectl apply -f deploy/crds
echo "${{ secrets.SECRET_KUBERNETES_RESOURCES }}"> kube.yaml
kubectl apply -f kube.yaml
rm -f kube.yaml
echo "${{ secrets.SECRET_KUBERNETES_RESOURCES }}"> .local/test-config.yaml
- name: Test
run: make test
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,7 @@ jobs:
run: |
kubectl cluster-info
kubectl apply -f deploy/crds
echo "${{ secrets.SECRET_KUBERNETES_RESOURCES }}"> kube.yaml
kubectl apply -f kube.yaml
rm -f kube.yaml
echo "${{ secrets.SECRET_KUBERNETES_RESOURCES }}"> .local/test-config.yaml
- name: Test
run: make test
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ out
/IngressMonitorController
/build/_output/bin/
/_output/
.local
2 changes: 1 addition & 1 deletion pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func GetControllerConfig() Config {
func GetControllerConfigTest() Config {
configFilePath := os.Getenv("CONFIG_FILE_PATH")
if len(configFilePath) == 0 {
configFilePath = "../../examples/configs/test-config.yaml"
configFilePath = "../../.local/test-config.yaml"
}

config := ReadConfig(configFilePath)
Expand Down

0 comments on commit dea0fd3

Please sign in to comment.