-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
maint: add debug
- Loading branch information
Showing
13 changed files
with
212 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Set k8s cred | ||
author: 'Xiao Gui <[email protected]>' | ||
description: 'Populates the k8s secret' | ||
inputs: | ||
secrets: | ||
description: "k8s cfg string" | ||
required: true | ||
runs: | ||
using: composite | ||
steps: | ||
- id: 'set-id' | ||
run: | | ||
kubecfg_path=${{ runner.temp }}/.kube_config | ||
install -m 600 $kubecfg_path | ||
echo "${{ secrets.KUBECONFIG }}" > $kubecfg_path | ||
echo "KUBECONFIG=$kubecfg_path:$KUBECONFIG" >> $GITHUB_ENV | ||
shell: bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
apiVersion: v1 | ||
kind: Pod | ||
metadata: | ||
labels: | ||
app: copy-cache | ||
name: copy-cache | ||
spec: | ||
containers: | ||
- name: copy-container | ||
image: docker-registry.ebrains.eu/siibra/siibra-api:0.3-server | ||
command: | ||
- /bin/ash | ||
args: | ||
- -c | ||
- "echo FROM_DIR: $FROM_DIR TO_DIR: $TO_DIR && cp -r $FROM_DIR $TO_DIR" | ||
resources: | ||
limits: | ||
cpu: 200m | ||
memory: 200Mi | ||
requests: | ||
cpu: 200m | ||
memory: 200Mi | ||
volumeMounts: | ||
- mountPath: /siibra-api-volume | ||
name: data-volume | ||
restartPolicy: Never | ||
volumes: | ||
- name: data-volume | ||
persistentVolumeClaim: | ||
claimName: data-volume-claim |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.