Skip to content

Commit

Permalink
fix:comment fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mozhou52 committed Nov 13, 2024
1 parent b7c84d6 commit e47b528
Show file tree
Hide file tree
Showing 12 changed files with 5 additions and 359 deletions.
2 changes: 0 additions & 2 deletions __tests__/e2e/custom.debian11/python/code/.gitignore

This file was deleted.

6 changes: 0 additions & 6 deletions __tests__/e2e/custom.debian11/python/code/gunicorn_conf.py

This file was deleted.

2 changes: 0 additions & 2 deletions __tests__/e2e/custom.debian11/python/code/requirements.txt

This file was deleted.

52 changes: 0 additions & 52 deletions __tests__/e2e/custom.debian11/python/code/server.py

This file was deleted.

31 changes: 0 additions & 31 deletions __tests__/e2e/custom.debian11/python/s.yaml

This file was deleted.

14 changes: 0 additions & 14 deletions __tests__/e2e/custom.debian11/run
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,3 @@ s info -t ./go/s.yaml
s remove -y -t ./go/s.yaml
rm -rf ./go/code/target

echo "test custom.debian11 python runtime ..."
rm -rf ./python/code/python
rm -rf ./python/code/__pycache__
export fc_component_function_name=python311-$(uname)-$(uname -m)
s build -t ./python/s.yaml
s local invoke -e '{"hello":"fc custom.debian11 python"}' -t ./python/s.yaml
s deploy -y -t ./python/s.yaml
s invoke -e '{"hello":"fc custom.debian11 python"}' -t ./python/s.yaml
s info -t ./python/s.yaml
s remove -y -t ./python/s.yaml

rm -rf ./go/code/target
rm -rf ./python/code/python
rm -rf ./python/code/__pycache__
125 changes: 0 additions & 125 deletions __tests__/e2e/nodejs/code/package-lock.json

This file was deleted.

1 change: 0 additions & 1 deletion __tests__/e2e/python/code/index.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# -*- coding: utf-8 -*-
import subprocess
import fc2
from bs4 import BeautifulSoup
import logging
import flask
Expand Down
85 changes: 0 additions & 85 deletions example/readme copy.md

This file was deleted.

35 changes: 0 additions & 35 deletions example/s copy.yaml

This file was deleted.

3 changes: 1 addition & 2 deletions src/subCommands/build/impl/baseBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,7 @@ export abstract class Builder {
runtime = 'python3.6';
}
if (runtime === 'python3.12' || runtime === 'custom.debian11') {
image = `${fcDockerVersionRegistry}/${fcDockerNameSpace}/runtime:${runtime}-build-dev`;
// image = `${fcDockerVersionRegistry}/${fcDockerNameSpace}/runtime:${runtime}-build-${fcDockerVersion}`;
image = `${fcDockerVersionRegistry}/${fcDockerNameSpace}/runtime:${runtime}-build-${fcDockerVersion}`;
} else {
image = `${fcDockerVersionRegistry}/${fcDockerNameSpace}/runtime-${runtime}:build-${fcDockerVersion}`;
}
Expand Down
Loading

0 comments on commit e47b528

Please sign in to comment.