Update all images used to GHCR repo (#3154)

This commit is contained in:
Sanket Sudake
2025-01-25 20:39:54 +05:30
committed by GitHub
parent b6bd921ac1
commit 2853498a98
28 changed files with 69 additions and 56 deletions
@@ -7,10 +7,10 @@ metadata:
spec:
builder:
command: build
image: fission/node-builder
image: ghcr.io/fission/node-builder
keeparchive: false
poolsize: 3
runtime:
image: fission/node-env
image: ghcr.io/fission/node-env
terminationGracePeriod: 20
version: 2
@@ -28,6 +28,15 @@ mkdir -p func
cp $ROOT/examples/nodejs/hello.js func/deploy.js
cp $ROOT/examples/nodejs/hello.js func/source.js
# Create package.json in func directory
cat <<EOF > func/package.json
{
"name": "hello",
"version": "1.0.0",
"description": "hello function"
}
EOF
fission spec destroy || true
log "Apply specs"
@@ -11,7 +11,7 @@ spec:
poolsize: 0
resources: {}
runtime:
image: fission/node-env
image: ghcr.io/fission/node-env
container:
name: nodend
volumeMounts:
@@ -23,19 +23,19 @@ spec:
# A container which will be merged with for pool manager
containers:
- name: nodend
image: fission/node-env
image: ghcr.io/fission/node-env
volumeMounts:
- name: funcvol
mountPath: /etc/funcdata
readOnly: true
# A additional container in the pods
- name: yanode
image: fission/node-env
image: ghcr.io/fission/node-env
command: ['sh', '-c', 'sleep 36000000000']
# Init container before function
initContainers:
- name: init-node
image: fission/node-env
image: ghcr.io/fission/node-env
command: ['sh', '-c', 'cat /etc/infopod/labels']
volumeMounts:
- name: infopod
@@ -11,7 +11,7 @@ spec:
poolsize: 3
resources: {}
runtime:
image: fission/node-env
image: ghcr.io/fission/node-env
container:
name: nodep
volumeMounts:
@@ -23,19 +23,19 @@ spec:
# A container which will be merged with for pool manager
containers:
- name: nodep
image: fission/node-env
image: ghcr.io/fission/node-env
volumeMounts:
- name: funcvol
mountPath: /etc/funcdata
readOnly: true
# A additional container in the pods
- name: yanode
image: fission/node-env
image: ghcr.io/fission/node-env
command: ['sh', '-c', 'sleep 36000000000']
# Init container before function
initContainers:
- name: init-node
image: fission/node-env
image: ghcr.io/fission/node-env
command: ['sh', '-c', 'cat /etc/infopod/labels']
volumeMounts:
- name: infopod