Skip to content

Commit

Permalink
Merge branch 'main' into dev/k8s/make-kubeconfig-configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
Mtze authored Sep 25, 2023
2 parents d104b6f + 756ffe1 commit 5c0f25f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
image: ghcr.io/mtze/hades/hades-api
- dockerfile: ./HadesScheduler/Dockerfile
image: ghcr.io/mtze/hades/hades-scheduler

steps:
- name: Compute Tag
uses: actions/github-script@v6
Expand Down
1 change: 1 addition & 0 deletions HadesScheduler/kube/kube.go
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ func createJob(clientset *kubernetes.Clientset, namespace string, buildJob paylo

func createExecutionScriptConfigMap(clientset *kubernetes.Clientset, namespace string, buildJob payload.BuildJob) (*corev1.ConfigMap, error) {
log.Infof("Creating configmap for execution script %v in namespace %s", buildJob.Name, namespace)

configMap := &corev1.ConfigMap{
ObjectMeta: metav1.ObjectMeta{
Name: buildJob.Name,
Expand Down
1 change: 1 addition & 0 deletions HadesScheduler/kube/kube_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ func TestDeleteNamespace(t *testing.T) {
client := initializeKubeconfig()
deleteNamespace(client, "test")
}

0 comments on commit 5c0f25f

Please sign in to comment.