Sam Stepanyan
c42460ce2f
Dockerfile change to multi-stage with 'nettacker' as entrypoint + related CI/CD changes ( #1115 )
...
* Update Dockerfile
multi-stage Dockerfile
* Update ci_cd.yml
modifications to support Dockerfile entrypoint changes
* Update Dockerfile
added --no-deps --no-cache-dir
* Update Dockerfile
added OCI Label and remove the whl file after installation following the CodeRabbit review
* Update Dockerfile
moved OCI label as copy-pasted in the wrong place
* Update Dockerfile
as per suggestion
Co-authored-by: Arkadii Yakovets <2201626+arkid15r@users.noreply.github.com>
Signed-off-by: Sam Stepanyan <sam.stepanyan@owasp.org>
---------
Signed-off-by: Sam Stepanyan <sam.stepanyan@owasp.org>
Co-authored-by: Arkadii Yakovets <2201626+arkid15r@users.noreply.github.com>
2025-08-09 15:30:45 +00:00
dependabot[bot]
8695749cc5
Bump actions/download-artifact from 4 to 5 ( #1114 )
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 4 to 5.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-06 16:37:43 +00:00
Nitin Awari
84d78a1429
Migrate CI/CD to ubuntu-24.04 and test docker images to latest ( #993 )
2025-01-22 06:31:04 +00:00
Arkadii Yakovets
f0ee67f924
Pin runner image OS version ( #989 )
2025-01-16 23:31:34 +00:00
Arkadii Yakovets
4d4751905e
Update the branch name
2024-10-02 08:49:33 -07:00
Arkadii Yakovets
6f60092f42
Update CI/CD triggers
...
Add main branch push
2024-10-02 08:41:49 -07:00
Arkadii Yakovets
ce06bc504a
Add `merge_group` trigger ( #927 )
2024-09-29 11:36:10 -07:00
Arkadii Yakovets
d79426ece7
Update CI/CD: trigger PyPI job on tag push
2024-09-26 13:00:44 -07:00
Arkadii Yakovets
10eb61a06a
Update docker image build tests
2024-09-07 17:43:24 -07:00
Arkadii Yakovets
5e3103437b
Optimize docker image
...
- streamline COPY/RUN Dockerfile commands
- update docker-compose.yml
- add docker image build tests
2024-09-07 12:24:23 -07:00
Arkadii Yakovets
05b24cd1fa
Remove windows from test matrix
2024-09-05 10:05:14 -07:00
Arkadii Yakovets
9e24c47992
Add tests
2024-09-05 10:01:37 -07:00
Arkadii Yakovets
6bd1aaeef6
Update CI/CD: run workflow just once for pull_request/push events
2024-09-03 08:52:15 -07:00
Arkadii Yakovets
591414810a
Update CI/CD: add pre-commit, merge workflow files
2024-09-01 17:02:07 -07:00
Arkadii Yakovets
c054aa9d6c
Update CI/CD: set proper workflow dependencies
2024-09-01 10:33:13 -07:00
Arkadii Yakovets
deaa85908e
Bump docker/build-push-action from 5 to 6
...
Based on https://github.com/OWASP/Nettacker/pull/850
2024-08-31 17:58:53 -07:00
Arkadii Yakovets
c783a8b5f2
Update CI/CD: consolidate docker publishing workflows
2024-08-31 17:46:35 -07:00
Arkadii Yakovets
bdf281cf46
Update CI/CD, add Nettacker PyPI publishing workflow
2024-08-31 17:34:47 -07:00
Arkadii Yakovets
781f9a8299
Skip existing files for PyPI test uploads
2024-08-31 17:04:23 -07:00
dependabot[bot]
9a51832c28
Bump actions/download-artifact from 3 to 4 ( #879 )
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 3 to 4.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-31 16:58:39 -07:00
dependabot[bot]
a98c0ccecd
Bump actions/upload-artifact from 3 to 4 ( #878 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-31 16:58:14 -07:00
Arkadii Yakovets
9e2c4b8ca4
Update CI/CD, add Nettacker PyPI test publishing workflow
2024-08-31 16:47:00 -07:00
Sam Stepanyan
a2bb1ae6e3
Update ci_cd.yml remove PYPI step
...
will be moved to a separate workflow
Signed-off-by: Sam Stepanyan <sam.stepanyan@owasp.org>
2024-08-24 23:12:03 +01:00
Arkadii Yakovets
417821f0cd
Update CI/CD
2024-08-19 09:38:28 -07:00
Arkadii Yakovets
14f6c06207
Nettacker code base major refactoring
...
This is a refactor of existing Nettacker code I've been working on recently. The (incomplete) list of changes:
- add pre-commit checks
- apply OOP approach to the application architecture
- consolidate common modules logic into a base class
- extract YAML parsing logic into a separate module
- fix some typos
- get rid of (not all) misused try/except blocks
- migrate to poetry, remove requirements.* files
- re-design configuration module
- re-design logging module
- split application logic into classes
- use `pathlib` for path related manipulations
- use context-based naming for variables, modules, directories, etc
- use module level imports (vs function level)
- use the base class for specific protocol libraries
2024-08-08 11:04:35 -07:00