Update all images used to GHCR repo (#3154)
This commit is contained in:
@@ -7,12 +7,12 @@ metadata:
|
||||
spec:
|
||||
builder:
|
||||
command: build
|
||||
image: fission/go-builder-1.12
|
||||
image: ghcr.io/fission/go-builder-1.23
|
||||
imagepullsecret: ""
|
||||
keeparchive: false
|
||||
poolsize: 3
|
||||
resources: {}
|
||||
runtime:
|
||||
image: fission/go-env-1.12
|
||||
image: ghcr.io/fission/go-env-1.23
|
||||
terminationGracePeriod: 5
|
||||
version: 2
|
||||
|
||||
@@ -73,7 +73,7 @@ internal_route_test_1() {
|
||||
|
||||
new_deploy_mgr_and_internal_route_test_2() {
|
||||
log "Starting new_deploy_mgr_and_internal_route_test_1 with env in default ns"
|
||||
fission env create --name python --image fission/python-env
|
||||
fission env create --name python --image ghcr.io/fission/python-env
|
||||
fission fn create --name func5 --env python --code testDir1/hello.py --minscale 1 --maxscale 4 --executortype newdeploy
|
||||
sleep 15
|
||||
|
||||
@@ -88,7 +88,7 @@ new_deploy_mgr_and_internal_route_test_2() {
|
||||
|
||||
new_deploy_mgr_and_internal_route_test_1() {
|
||||
log "Starting new_deploy_mgr_and_internal_route_test_1 with env and fn in different ns"
|
||||
fission env create --name python --image fission/python-env --envns "ns1-$id"
|
||||
fission env create --name python --image ghcr.io/fission/python-env --envns "ns1-$id"
|
||||
fission fn create --name func4 --fns "ns2-$id" --env python --envns "ns1-$id" --code testDir1/hello.py --minscale 1 --maxscale 4 --executortype newdeploy
|
||||
sleep 15
|
||||
|
||||
@@ -103,7 +103,7 @@ new_deploy_mgr_and_internal_route_test_1() {
|
||||
|
||||
builder_mgr_test_2() {
|
||||
log "Starting builder_mgr_test_2 with env in default ns"
|
||||
fission env create --name python-builder-env --builder fission/python-builder --image fission/python-env
|
||||
fission env create --name python-builder-env --builder fission/python-builder --image ghcr.io/fission/python-env
|
||||
sleep 180
|
||||
|
||||
# verify the env builder pod came up in fission-builder and env runtime pod came up in fission-function ns
|
||||
@@ -135,7 +135,7 @@ builder_mgr_test_2() {
|
||||
|
||||
builder_mgr_test_1() {
|
||||
log "Starting builder_mgr_test_1 with env and fn in different ns"
|
||||
fission env create --name python-builder-env --envns "ns1-$id" --builder fission/python-builder --image fission/python-env
|
||||
fission env create --name python-builder-env --envns "ns1-$id" --builder fission/python-builder --image ghcr.io/fission/python-env
|
||||
# we need to wait sufficiently for env pods to be up
|
||||
sleep 180
|
||||
|
||||
@@ -162,7 +162,7 @@ builder_mgr_test_1() {
|
||||
pool_mgr_test_2() {
|
||||
log "Starting pool_mgr_test_2 with env in default ns"
|
||||
fission env delete --name python || true
|
||||
fission env create --name python --image fission/python-env
|
||||
fission env create --name python --image ghcr.io/fission/python-env
|
||||
fission fn create --name func2 --fns "ns2-$id" --env python --code testDir1/hello.py
|
||||
ht=$(fission route create --function func2 --fns "ns2-$id" --url /func2 | cut -f2 -d' '| tr -d \')
|
||||
|
||||
@@ -186,7 +186,7 @@ pool_mgr_test_2() {
|
||||
|
||||
pool_mgr_test_1() {
|
||||
log "Starting pool_mgr_test_1 with env and fn in different ns"
|
||||
fission env create --name python --image fission/python-env --envns "ns1-$id"
|
||||
fission env create --name python --image ghcr.io/fission/python-env --envns "ns1-$id"
|
||||
fission fn create --name func1 --fns "ns2-$id" --env python --envns "ns1-$id" --code testDir1/hello.py
|
||||
ht=$(fission route create --function func1 --fns "ns2-$id" --url /func1 | cut -f2 -d' '| tr -d \')
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -17,7 +17,7 @@ spec:
|
||||
cpu: 10m
|
||||
memory: 80Mi
|
||||
runtime:
|
||||
image: fission/node-env
|
||||
image: ghcr.io/fission/node-env
|
||||
podspec:
|
||||
containers:
|
||||
- name: nodejs
|
||||
|
||||
Reference in New Issue
Block a user