:wheel_of_dharma: Mirror images into your own registry and swap image references automatically.
chore(release): 1.3.1 [skip ci]
@sisao This will not remove the existing labels will it? I have the label
Paperless which paperless-ngx uses as the folder to look up emails. I then "move" it to the folder
PaperlessProcessed. But it will keep the label
What is your way of organising this with Gmail?
Sidenote: Adding something to the docs would have been fantastic :)
I'm not sure if my case is the same or needs a new ticket.
dockerizePip: true. Running
serverless package multiple times locally will result in about 19s packaging time. The CI process takes about 5min in total incl deployment, but a large chunk is packaging. I assume this is due to the docker build process, as "docker" is not being executed locally in consequent runs.
Log from CI:
... Generating requirements.txt from "pyproject.toml" Parsed requirements.txt from pyproject.toml in /home/runner/work/helios/helios/.serverless/requirements.txt Installing requirements from "/home/runner/.cache/serverless-python-requirements/df293b6184a94fbfd982a4f95fea1698fe858cb805f178dd2112d29905e6a12e_x86_64_slspyc/requirements.txt" Docker Image: sls-py-reqs-custom Using download cache directory /home/runner/.cache/serverless-python-requirements/downloadCacheslspyc Running docker run --rm -v /home/runner/.cache/serverless-python-requirements/df293b6184a94fbfd982a4f95fea... Python executable not found for "runtime": python3.9 ...
pythonRequirements: slim: true # If changes do not reflect, use `serverless requirements cleanCache` # See See https://github.com/serverless/serverless-python-requirements/issues/437 slimPatterns: - "**/tests/**" # Removal of boto3 due to Lambda size limitation. # This should ideally be packaged with the app. - "**/botocore/**" - "**/boto3/**" # Django files we don't need for the API. - "**/locale/!(en|en_*)/**" strip: false dockerizePip: true dockerFile: ./deploy/Dockerfile-requirements #dockerImage: public.ecr.aws/sam/build-python3.9 zip: false # Set to `true` to cleanup cache in case of requirements issues. invalidateCaches: false useDownloadCache: true useStaticCache: true layer: true
We have been using https://github.com/semantic-release/semantic-release for a while and trying out release-drafter. We used the message commit format
feat(foo): bar with prefixes such as
chore, ... This format is also being used in the pull request title by dependabot (it autodetects if the repo uses this format).
I would like to remove these prefixes from the release notes and tried the following without success:
replacers: - search: '/^(fix|feat|ci)(\(.+?\))?: /g' replace: ''
Any hints on how to go about it?
We have the following config which include all python code also into the
warmUpPluginOfficeHoursWarmer.zip. I tried various variations to exclude the files and the only thing that worked is setting
package.patterns should not be joined to package the warmer function.
functions: app: handler: wsgi_handler.handler timeout: 30 layers: - Ref: PythonRequirementsLambdaLayer warmup: officeHoursWarmer: enabled: prod package: individually: false patterns: - "!**" - "serverless_sdk*/**" - "app/**" - "module1/**" - "module2/**" - "module3/**" - "*.py"
I have tried
YAML_V8R_CLI_LINT_MODE: project which fails with:
see for more details https://github.com/oxsecurity/megalinter/issues/1875
Describe the bug
I created a file
.github/workflows/deploy.yml. Running megalinter in GitHub Actions will produce an error as v8r detects a schema which is incorrect.
v8r uses the following schemastore file to detect the required schema (https://github.com/SchemaStore/schemastore/blob/2e3b50930f40c237d0070414701ea7c44ca2c85e/src/api/json/catalog.json#L1073-L1078). Within this file an attribute
fileMatch will be used to detect the schema based on the file path. MegaLinter does not pass a relative path (it will pass
/github/workspace/.github/workflows/deploy.yml) hence the match will match with the wrong result.
This may or may not be an issue with v8r, schemastore or megalinter. I'm open for suggestions where to place this.
To Reproduce Steps to reproduce the behavior:
mkdir -p v8r-test/.github/workflows && touch v8r-test/.github/workflows/deploy.yml
cd v8r-test && npx v8r@latest .github/workflows/deploy.yml --verbose
cd .. && npx v8r@latest .github/workflows/deploy.yml --verbose
Expected behavior Step 2 and 3 should behave the same.
Fix absence of space in logs
Setting access policy ondocker.io/loadimpact/k6