Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto validator sid blacklist logging #91

Open
wants to merge 729 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
729 commits
Select commit Hold shift + click to select a range
c5494b9
fix: correct target name
1995parham Oct 20, 2023
4521fb2
feat: update configuration and tracing
1995parham Oct 21, 2023
ab7fd1b
fix: correct logger usage
1995parham Oct 21, 2023
d993c4b
fix: correct default configuration
1995parham Oct 21, 2023
e11a021
feat: update vendor documents
1995parham Oct 21, 2023
c2d4201
feat: update readme
1995parham Oct 21, 2023
a55b611
feat: update readme
1995parham Oct 21, 2023
96e79fc
feat: update packages
1995parham Oct 21, 2023
479fcef
fix: correct lint issues
1995parham Oct 21, 2023
00164a4
feat: support tag for building image
1995parham Oct 21, 2023
492d153
fix: correct docker-bake address in github workflow
1995parham Oct 21, 2023
b986aab
feat: add docker compose to test soteria with emqx
1995parham Oct 21, 2023
1a07129
feat: update address to use new opensource emqx
1995parham Oct 21, 2023
9b6fdf8
Update README.md
1995parham Oct 21, 2023
10d4c02
feat: remove ode values
1995parham Oct 25, 2023
783be36
feat: add github action for helm chart
1995parham Oct 25, 2023
b970f19
feat: update chart version
1995parham Oct 25, 2023
5233ac3
feat: update default configuration to use new github instance
1995parham Oct 25, 2023
9c1f7d5
Update helm.yaml
1995parham Oct 25, 2023
45b478d
Update helm.yaml
1995parham Oct 25, 2023
3aa5fc9
Update Chart.yaml
1995parham Oct 25, 2023
613df88
feat: use name charts for charts folder
1995parham Oct 25, 2023
5646830
feat: update soteria chart description
1995parham Oct 25, 2023
51d412d
Update Chart.yaml
1995parham Oct 25, 2023
263de4e
Update values.yaml
1995parham Oct 25, 2023
e1ab3ed
fix: correct lint issues in values.yaml
1995parham Oct 25, 2023
f0c2ed8
fix: correct test url in the helm chart
1995parham Oct 25, 2023
71adc7f
fix: correct test url in the helm chart
1995parham Oct 25, 2023
ec9055a
feat: use helm workflow on tag
1995parham Oct 25, 2023
560a910
chore: disable skip for chart release so it creates release
1995parham Oct 25, 2023
d04591f
chore: disable skip for chart release so it creates release
1995parham Oct 25, 2023
d4b1e2b
fix: correct helm version to install
1995parham Oct 25, 2023
f9b0c0f
feat: update workflows
1995parham Oct 25, 2023
50979b3
chore: use helm pipeline in all releases
1995parham Oct 25, 2023
f9d45a2
feat: re-add the path change constraints
1995parham Oct 25, 2023
623384a
chore: re-enable helm check over all commit
1995parham Oct 25, 2023
be8cc2b
feat: update chart publish
1995parham Oct 25, 2023
b730653
fix: correct helm push address
1995parham Oct 25, 2023
177d342
chore(deps): bump helm/chart-testing-action from 2.4.0 to 2.6.1
dependabot[bot] Nov 6, 2023
8545fb7
chore(deps): bump github.com/spf13/cobra from 1.7.0 to 1.8.0
dependabot[bot] Nov 6, 2023
7ce8b7b
Merge pull request #2 from snapp-incubator/dependabot/github_actions/…
1995parham Nov 6, 2023
657daa3
Merge pull request #3 from snapp-incubator/dependabot/go_modules/gith…
1995parham Nov 6, 2023
f14d9e5
feat: implement admin authenticator
1995parham Nov 11, 2023
cabc3c1
fix: correct default configuration
1995parham Nov 11, 2023
4aa12e3
feat: handle superuser field in the API response
1995parham Nov 11, 2023
b7a58ff
fix: correct tests and their usage
1995parham Nov 11, 2023
f9aa511
fix: correct tests and their usage
1995parham Nov 11, 2023
b4abe4f
fix: we have working tests :dancer:
1995parham Nov 11, 2023
f480c08
chore: remove debug statement
1995parham Nov 11, 2023
01abd9c
feat: improve test coverage
1995parham Nov 11, 2023
da5cd3a
feat: update testing structure
1995parham Nov 12, 2023
6d46f8c
feat: add more tests for auto authenticator
1995parham Nov 12, 2023
6d81666
fix: correct lint issues
1995parham Nov 12, 2023
bf2df4b
feat: update packages
1995parham Nov 13, 2023
87cce25
feat: update tracer usage
1995parham Nov 13, 2023
5895a77
feat: add tests for api module
1995parham Nov 13, 2023
768633b
fix: correct lint issues
1995parham Nov 13, 2023
62bdc44
Merge pull request #5 from snapp-incubator/4-support-internal-authent…
1995parham Nov 13, 2023
cd5490c
fix: correct lint issues
1995parham Nov 13, 2023
7f612bb
feat: improve coverage over api
1995parham Nov 13, 2023
a26a806
fix: correct lint issues
1995parham Nov 13, 2023
289658b
feat: add more tests
1995parham Nov 13, 2023
59fb8d8
fix: correct lint issues
1995parham Nov 13, 2023
6d49122
feat: create example config for easier running the project
anvari1313 Nov 17, 2023
9f48833
chore: add some documentations
anvari1313 Nov 17, 2023
cf2a680
chore(deps): bump go.opentelemetry.io/otel/trace from 1.20.0 to 1.21.0
dependabot[bot] Nov 20, 2023
c950ca4
Merge pull request #14 from snapp-incubator/dependabot/go_modules/go.…
1995parham Nov 20, 2023
810922e
chore(deps): bump github.com/gofiber/fiber/v2 from 2.50.0 to 2.51.0
dependabot[bot] Nov 20, 2023
78dacdf
Merge pull request #16 from snapp-incubator/dependabot/go_modules/git…
1995parham Nov 20, 2023
924c8f5
chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/o…
dependabot[bot] Nov 20, 2023
1bd3d7e
Merge pull request #13 from snapp-incubator/dependabot/go_modules/go.…
1995parham Nov 20, 2023
7c672bf
Merge pull request #12 from snapp-incubator/add-config-example
1995parham Nov 22, 2023
987ccfb
Update README.md
1995parham Nov 25, 2023
b40d5ef
feat: update new version of APIs to be more emqx compatible
1995parham Nov 30, 2023
cbf79b6
feat: add new tests
1995parham Nov 30, 2023
67947fc
feat: increase test coverage
1995parham Nov 30, 2023
5caf2ae
fix: correct lint issues
1995parham Nov 30, 2023
4b21b0c
feat: improve the builder pattern and increase coverage
1995parham Nov 30, 2023
526a9fc
feat: add system key not found error
1995parham Nov 30, 2023
f20c9ae
feat: add coverage for the case we do not have any authenticator
1995parham Nov 30, 2023
efd9240
chore: handle invalid authenticator
1995parham Nov 30, 2023
5a12551
chore: handle invalid authenticator
1995parham Nov 30, 2023
8550c49
feat: handle errors for loading keys
1995parham Nov 30, 2023
973ff3a
feat: increase test coverage
1995parham Nov 30, 2023
9940761
feat: add more test cases for manual authenticator
1995parham Nov 30, 2023
b9d255f
feat: update vendor configuration
1995parham Dec 1, 2023
cbbb220
fix: correct lint issues
1995parham Dec 1, 2023
bdf272d
feat: update builder test cases
1995parham Dec 1, 2023
14f6651
feat: add more tests for builder
1995parham Dec 1, 2023
466bf2e
fix: correct chart configuration
1995parham Dec 1, 2023
03dd002
feat: update test coverage
1995parham Dec 1, 2023
7801ee0
feat: update the way of handling jwt in authentication
1995parham Dec 2, 2023
5e437cb
feat: update packages
1995parham Dec 2, 2023
7b977d9
fix: correct issues with jwt configuration renaming
1995parham Dec 2, 2023
c7c199f
feat: add test case for key not found
1995parham Dec 2, 2023
f62e89c
chor: rename manual authenticator test suite
1995parham Dec 2, 2023
219c537
chore: fix tests over authenticator
1995parham Dec 2, 2023
67b2183
feat: increase test coverage
1995parham Dec 2, 2023
01029e8
feat: improve authenticator tests
1995parham Dec 2, 2023
d614301
chore: rename a field in the auto authenticator
1995parham Dec 4, 2023
89805dd
chore(deps): bump actions/setup-python from 4 to 5
dependabot[bot] Dec 25, 2023
9bdf8d2
chore(deps): bump actions/setup-go from 4 to 5
dependabot[bot] Dec 25, 2023
0b6f6de
Merge pull request #20 from snapp-incubator/dependabot/github_actions…
1995parham Dec 25, 2023
2a93e97
Merge pull request #21 from snapp-incubator/dependabot/github_actions…
1995parham Dec 25, 2023
43e662e
chore(deps): bump github.com/gofiber/fiber/v2 from 2.51.0 to 2.52.0
dependabot[bot] Jan 8, 2024
c3057e8
Merge pull request #22 from snapp-incubator/dependabot/go_modules/git…
1995parham Jan 8, 2024
17763b8
chore(deps): bump go.opentelemetry.io/otel/trace from 1.21.0 to 1.22.0
dependabot[bot] Jan 22, 2024
ba7b326
Merge pull request #26 from snapp-incubator/dependabot/go_modules/go.…
1995parham Jan 22, 2024
72f6d82
chore(deps): bump go.opentelemetry.io/otel/sdk from 1.21.0 to 1.22.0
dependabot[bot] Jan 22, 2024
4fdcbfe
Merge pull request #23 from snapp-incubator/dependabot/go_modules/go.…
1995parham Jan 22, 2024
9cac63a
chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/o…
dependabot[bot] Jan 22, 2024
68e81d3
Merge pull request #25 from snapp-incubator/dependabot/go_modules/go.…
1995parham Jan 22, 2024
70f5247
chore(deps): bump codecov/codecov-action from 3.1.4 to 3.1.5
dependabot[bot] Jan 29, 2024
5c9c5e2
Merge pull request #27 from snapp-incubator/dependabot/github_actions…
1995parham Jan 29, 2024
db99f7f
chore(deps): bump github.com/knadh/koanf/v2 from 2.0.1 to 2.0.2
dependabot[bot] Feb 5, 2024
942c7c3
chore(deps): bump codecov/codecov-action from 3.1.5 to 4.0.1
dependabot[bot] Feb 5, 2024
8b64cb9
Merge pull request #29 from snapp-incubator/dependabot/github_actions…
1995parham Feb 5, 2024
9a83dae
Merge pull request #28 from snapp-incubator/dependabot/go_modules/git…
1995parham Feb 5, 2024
b7df16a
feat: update packages
1995parham Feb 12, 2024
913d468
feat: update actions
1995parham Feb 12, 2024
40409ce
chore(deps): bump helm/kind-action from 1.8.0 to 1.9.0
dependabot[bot] Feb 12, 2024
1d1a8aa
Merge pull request #36 from snapp-incubator/dependabot/github_actions…
1995parham Feb 12, 2024
b418ce4
fix: correct lint issues
1995parham Feb 12, 2024
ca6e695
feat: update packages
1995parham Feb 20, 2024
28c6e81
feat: update go version to 1.22
1995parham Feb 20, 2024
f1f27e2
fix: update image builder
1995parham Feb 20, 2024
a4e8211
chore(deps): bump codecov/codecov-action from 4.0.1 to 4.0.2
dependabot[bot] Feb 26, 2024
880798a
feat: update packages
1995parham Feb 26, 2024
47dc1b7
Merge pull request #37 from snapp-incubator/dependabot/github_actions…
1995parham Feb 26, 2024
5671e96
chore(deps): bump codecov/codecov-action from 4.0.2 to 4.1.0
dependabot[bot] Mar 4, 2024
0926f8d
chore(deps): bump azure/setup-helm from 3 to 4
dependabot[bot] Mar 4, 2024
c635892
chore(deps): bump github.com/gofiber/fiber/v2 from 2.52.1 to 2.52.2
dependabot[bot] Mar 4, 2024
9336e0c
Merge pull request #43 from snapp-incubator/dependabot/github_actions…
1995parham Mar 4, 2024
d9237b9
Merge pull request #44 from snapp-incubator/dependabot/github_actions…
1995parham Mar 4, 2024
e4c2986
Merge pull request #45 from snapp-incubator/dependabot/go_modules/git…
1995parham Mar 4, 2024
60a03ce
chore(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0
dependabot[bot] Mar 4, 2024
c3e0285
Merge pull request #46 from snapp-incubator/dependabot/go_modules/git…
1995parham Mar 4, 2024
3b38069
feat: update workflows
1995parham Mar 10, 2024
29c1119
chore(deps): bump github.com/golang-jwt/jwt/v5 from 5.2.0 to 5.2.1
dependabot[bot] Mar 11, 2024
027270f
Merge pull request #47 from snapp-incubator/dependabot/go_modules/git…
1995parham Mar 11, 2024
778d0ef
chore(deps): bump codecov/codecov-action from 4.1.0 to 4.1.1
dependabot[bot] Apr 1, 2024
b20da19
chore(deps): bump github.com/gofiber/fiber/v2 from 2.52.2 to 2.52.4
dependabot[bot] Apr 1, 2024
86747ad
Merge pull request #48 from snapp-incubator/dependabot/github_actions…
1995parham Apr 1, 2024
a7d8546
Merge pull request #49 from snapp-incubator/dependabot/go_modules/git…
1995parham Apr 1, 2024
a513d57
fix: correct lint issues
1995parham Apr 1, 2024
375b1d5
chore(deps): bump codecov/codecov-action from 4.1.1 to 4.2.0
dependabot[bot] Apr 8, 2024
4526bf1
feat: update packages
1995parham Apr 8, 2024
8556452
Merge pull request #55 from snapp-incubator/dependabot/github_actions…
1995parham Apr 8, 2024
ebba0f9
chore(deps): bump codecov/codecov-action from 4.2.0 to 4.3.0
dependabot[bot] Apr 15, 2024
83d413d
Merge pull request #56 from snapp-incubator/dependabot/github_actions…
1995parham Apr 15, 2024
3bfd534
chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/o…
dependabot[bot] Apr 29, 2024
32e306b
chore(deps): bump golangci/golangci-lint-action from 4 to 5
dependabot[bot] Apr 29, 2024
292896c
chore(deps): bump helm/kind-action from 1.9.0 to 1.10.0
dependabot[bot] Apr 29, 2024
1395f56
Merge pull request #58 from snapp-incubator/dependabot/go_modules/go.…
1995parham Apr 29, 2024
3f0bc9d
Merge pull request #60 from snapp-incubator/dependabot/github_actions…
1995parham Apr 29, 2024
c0e235c
Merge pull request #59 from snapp-incubator/dependabot/github_actions…
1995parham Apr 29, 2024
b39d617
chore(deps): bump codecov/codecov-action from 4.3.0 to 4.3.1
dependabot[bot] May 6, 2024
fbdd1bc
Merge pull request #63 from snapp-incubator/dependabot/github_actions…
1995parham May 6, 2024
3d368c1
fix: correct lint issues
1995parham May 6, 2024
c6d64de
chore(deps): bump golangci/golangci-lint-action from 5 to 6
dependabot[bot] May 13, 2024
0336882
Merge pull request #64 from snapp-incubator/dependabot/github_actions…
1995parham May 13, 2024
4bbeac9
chore(deps): bump codecov/codecov-action from 4.3.1 to 4.4.0
dependabot[bot] May 20, 2024
70d82db
Merge pull request #65 from snapp-incubator/dependabot/github_actions…
1995parham May 20, 2024
b09d3a0
chore(deps): bump codecov/codecov-action from 4.4.0 to 4.4.1
dependabot[bot] May 27, 2024
d450b94
chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/o…
dependabot[bot] May 27, 2024
a4d3984
Merge pull request #70 from snapp-incubator/dependabot/go_modules/go.…
1995parham May 27, 2024
f16dd32
feat: update packages
1995parham May 27, 2024
7e9fa79
fix: correct lint issue
1995parham May 27, 2024
ac8e0ec
Merge pull request #66 from snapp-incubator/dependabot/github_actions…
1995parham May 27, 2024
2e84270
chore(deps): bump github.com/spf13/cobra from 1.8.0 to 1.8.1
dependabot[bot] Jun 17, 2024
459fbb5
chore(deps): bump codecov/codecov-action from 4.4.1 to 4.5.0
dependabot[bot] Jun 17, 2024
9e5b7fd
Merge pull request #71 from snapp-incubator/dependabot/go_modules/git…
1995parham Jun 18, 2024
e791123
Merge pull request #72 from snapp-incubator/dependabot/github_actions…
1995parham Jun 18, 2024
6499fa0
feat: implement metrics for auth v2
anvari1313 Jun 21, 2024
7693ebd
fix: lint issues
anvari1313 Jun 21, 2024
61b03d3
fix: lint issue
anvari1313 Jun 21, 2024
207e08a
feat: change company info
anvari1313 Jun 22, 2024
e0a7d46
fix: add a test to bypass codecov
anvari1313 Jun 22, 2024
d1a1ef3
feat: update packages
1995parham Jun 22, 2024
e3789b6
fix: skip codecov
anvari1313 Jun 22, 2024
d633fb9
feat: add tracer for auto authenticator
1995parham Jun 22, 2024
8053408
fix: use noop tracer for tests
1995parham Jun 22, 2024
c2d0498
fix: use noop tracer for tests
1995parham Jun 22, 2024
15c5e34
fix: codecav issue
anvari1313 Jun 22, 2024
d565001
fix: lint issue
anvari1313 Jun 22, 2024
1170a40
fix: lint issue
anvari1313 Jun 22, 2024
0bd103d
fix: code coverage
anvari1313 Jun 22, 2024
54363fc
feat: use in auth v1
anvari1313 Jun 22, 2024
9483363
feat: add metrics to acl request
anvari1313 Jun 22, 2024
2c8f390
fix: gci the file
anvari1313 Jun 22, 2024
988d2f0
Merge pull request #73 from snapp-incubator/add-business-metrics
1995parham Jun 22, 2024
3434202
chore(deps): bump docker/bake-action from 4 to 5
dependabot[bot] Jun 24, 2024
1a9e141
Merge pull request #74 from snapp-incubator/dependabot/github_actions…
1995parham Jun 24, 2024
b6d4e8a
feat: update packages
1995parham Jun 29, 2024
fa49ed2
chore(deps): bump github.com/gofiber/fiber/v2 from 2.52.4 to 2.52.5
dependabot[bot] Jul 1, 2024
4ea4757
Merge pull request #75 from snapp-incubator/dependabot/go_modules/git…
1995parham Jul 1, 2024
d562c3e
chore(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/o…
dependabot[bot] Jul 8, 2024
98fef83
Merge pull request #76 from snapp-incubator/dependabot/go_modules/go.…
1995parham Jul 8, 2024
a664754
feat: add target memory utilization
anvari1313 Jul 18, 2024
46fcef9
fix: remove unwanted fields from the resource
anvari1313 Jul 18, 2024
5e387a6
Merge pull request #81 from snapp-incubator/80-helm-chart-hpa-validat…
1995parham Jul 19, 2024
768b2f7
chore(deps): bump github.com/ansrivas/fiberprometheus/v2
dependabot[bot] Jul 29, 2024
c60ed29
Merge pull request #82 from snapp-incubator/dependabot/go_modules/git…
1995parham Jul 29, 2024
ab70f41
fix: change the order of HPA metrics.
anvari1313 Aug 8, 2024
7a162ec
fix: not setting replicaCount when HPA is enabled
anvari1313 Aug 8, 2024
1fdd808
chore(deps): bump github.com/prometheus/client_golang
dependabot[bot] Aug 19, 2024
97a31fe
Merge pull request #83 from snapp-incubator/dependabot/go_modules/git…
1995parham Aug 19, 2024
e318357
feat: update go version to 1.23
1995parham Aug 26, 2024
c1ad56d
feat: update packages
1995parham Sep 2, 2024
9753d88
feat: provide other parts of the claim into the topic template
1995parham Sep 2, 2024
e1c4165
feat: add encode hashid
1995parham Sep 2, 2024
50da13f
feat: update tests with new claims
1995parham Sep 2, 2024
2f3b8f1
feat: increase test coverage
1995parham Sep 2, 2024
dc4655f
fix: convert jwt fields to string
1995parham Sep 3, 2024
c16fed2
feat: update packages
1995parham Sep 9, 2024
06da692
feat: make stacktrace of the logger configurable
anvari1313 Sep 10, 2024
c61729e
chore: set default stacktrace true
anvari1313 Sep 10, 2024
c6b878e
feat: set default config for stacktrace
anvari1313 Sep 10, 2024
fac7a4b
fix: lint issues
anvari1313 Sep 10, 2024
f0d66f0
gofumpt
anvari1313 Sep 10, 2024
40d9519
chore: notlint mnd
anvari1313 Sep 10, 2024
8492e85
Merge pull request #90 from snapp-incubator/make-logger-stacktrace-co…
anvari1313 Sep 10, 2024
e971027
feat: implement everything
anvari1313 Sep 10, 2024
9ce1756
fix: init from the main config
anvari1313 Sep 10, 2024
435b1e1
feat: add default configs
anvari1313 Sep 10, 2024
b2fbd23
fix: lint issue
anvari1313 Sep 10, 2024
18c5862
add default config to helm chart
anvari1313 Sep 10, 2024
a1d23ab
gci file
anvari1313 Sep 10, 2024
4a51ecd
gci file config
anvari1313 Sep 10, 2024
73b19a3
fix: line len
anvari1313 Sep 10, 2024
e54dcfd
fix: tag aline
anvari1313 Sep 10, 2024
b993bed
fix: tag aline
anvari1313 Sep 10, 2024
5954dec
gci file config
anvari1313 Sep 10, 2024
610e2d3
gci file config
anvari1313 Sep 10, 2024
15fb039
gci file config
anvari1313 Sep 10, 2024
9815e47
gci file
anvari1313 Sep 10, 2024
0b2e5d2
gci file
anvari1313 Sep 10, 2024
32593f9
fix gci
anvari1313 Sep 10, 2024
18d216e
fix: manual
anvari1313 Sep 10, 2024
0090b1e
fix: manual
anvari1313 Sep 10, 2024
0261c3e
fix gci
anvari1313 Sep 10, 2024
d5de92a
fix gofumpt
anvari1313 Sep 10, 2024
27871ba
change log leve
anvari1313 Sep 10, 2024
da1f4ce
change log leve
anvari1313 Sep 10, 2024
a75f8b5
implement everything
anvari1313 Sep 10, 2024
571fbd7
Revert "implement everything"
anvari1313 Sep 10, 2024
5e82348
feat: implement everything for the second time
anvari1313 Sep 10, 2024
9dcdc85
chore(golangcilint): refine linters list
rsharifnasab Sep 10, 2024
8809828
style: gci all files
rsharifnasab Sep 10, 2024
b922e6b
fix(lint)
rsharifnasab Sep 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .github/assets/logo.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 15 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "github-actions" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
- package-ecosystem: "gomod" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
58 changes: 58 additions & 0 deletions .github/workflows/helm.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
---
name: helm
on:
- push

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4

- name: set up helm
uses: azure/setup-helm@v4
with:
version: v3.13.0

- uses: actions/setup-python@v5
with:
python-version: 3.7

- name: set up chart-testing
uses: helm/[email protected]

- name: run chart-testing (lint)
run: ct lint --all

- name: create kind cluster
uses: helm/[email protected]

- name: run chart-testing (install)
run: ct install --all

release:
runs-on: ubuntu-latest
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
steps:
- name: checkout
uses: actions/checkout@v4

- name: set up helm
uses: azure/setup-helm@v4
with:
version: v3.13.0

- name: login to github container registry using helm
run: |
echo ${{ secrets.GITHUB_TOKEN }} | helm registry login ghcr.io/snapp-incubator/soteria --username ${{ github.repository_owner }} --password-stdin

- name: package soteria helm chart
run: |
version=${{ github.ref_name }}
helm package --version "${version##v}" --app-version "${version}" ./charts/soteria

- name: publish soteria chart to github container registry
run: |
version=${{ github.ref_name }}
helm push "soteria-${version##v}".tgz oci://ghcr.io/snapp-incubator/soteria-chart
61 changes: 61 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
---
name: test
on:
- push

jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: latest
args: --enable-all --timeout=30m

test:
name: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- run: go test -v ./... -covermode=atomic -coverprofile=coverage.out
- uses: codecov/[email protected]
with:
files: coverage.out
token: ${{ secrets.CODECOV_TOKEN }}
slug: snapp-incubator/soteria

docker:
runs-on: ubuntu-latest
needs:
- lint
- test
if: github.event_name != 'pull_request'
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/bake-action@v5
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
env:
TAG: ${{ github.ref_name }}
with:
push: true
files: 'build/package/docker-bake.json'
- uses: docker/bake-action@v5
if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
with:
push: true
files: 'build/package/docker-bake.json'
43 changes: 0 additions & 43 deletions .gitlab-ci.yml

This file was deleted.

30 changes: 0 additions & 30 deletions .gitlab/ci/env/env.conf

This file was deleted.

70 changes: 0 additions & 70 deletions .gitlab/ci/scripts/deploy.sh

This file was deleted.

14 changes: 0 additions & 14 deletions .gitlab/ci/scripts/notify-eye.sh

This file was deleted.

93 changes: 0 additions & 93 deletions .gitlab/ci/scripts/update-environments.sh

This file was deleted.

Loading
Loading