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

Disable Logging #28

Merged
merged 25 commits into from
Feb 7, 2023
Merged

Disable Logging #28

merged 25 commits into from
Feb 7, 2023

Conversation

GoberInfinity
Copy link
Contributor

@GoberInfinity GoberInfinity commented Feb 7, 2023

Description

Disable logging to avoid not triggering CRON

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

How Has This Been Tested?

Tested in Production directly to ensure it was working.

Checklist:

  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works

GoberInfinity and others added 25 commits July 27, 2022 22:08
Create build using github action
* Add dummy commit to test GH

* Change name of precommit file

* Add dummy skeleton to test build

* Add Dockerfile

* Add production github action

* Add author to dockerfile
Fix problem with name in the registry
* Add PR template file

* Change semantic of type of change

* Add documentation as option
* Rename az registries information

* Rename pull request template

* Rename PR template
* Test PR template

* Update version of discordpy dependency

* Initial architecture of bot

* Change tox and preconfig files

* Test build

* Add cog automatical registration

* Add discord token as secure env var
* Add unit test for intent registration

* Add unit testing for startup

* Add test for startup cogs

* Create unit testing for formatters

* Update constants.py

Co-Authored-By: Manuel CH <26100917+akotadi@users.noreply.github.com>

* Test precommit

* Create unit testing for formatters

* Add Readme

* Fix typo in readme

* Ignore rule to avoid unneccesary comments

* Delete unnecesary comments

* Move fixture to conftest

Co-authored-by: Manuel CH <26100917+akotadi@users.noreply.github.com>
* Add initial base for timeline

* Add unit testing for hiring formatter

* Add cron testing

* Add unit testing for cog

* Change formatter access

* Migrate cron to enum

* Add annoucement channel as secret for deployment

* Add start stop cron schedule
* Debug state

* Change to PR

* Add analytics to container

* Add cogs again

* Remove path

* Enable cogs again

* Test

* Rename Docker root file

* Add module parameter to Dockerfile

* Add complete path

* Uncomment cogs

* Comment hiring

* Add logg

* Test

* Add complete path to cogs

* Put release again on merge

* Fix tox passing failing tests

* Fix tox

* Change tox

* FIx tox

* Tox should trigger

* Skip update dependency

* Delete install

* Add pytest

* Return pytest

* Test should fail

* Change test to build

* Uncomment test cog

* Revert push to prod to merge

* Prepare deploy with different envs

* Test dev deploy

* Test secrets

* Add env vars for deploy

* Fix if

* Split dev and prod

* Comment test phase
* Comment beta command

* Modify tests
* Add logging decorator

* Test log in az dev

* Test in developent environment
* Change policy

* Disable push in pull request

* Fix lintern problems
* Enable Logging (#24)

* Add poetry skeleton

* Add precommit file config

* Add discord as dependency

* Add tox configuration files and pass precommit

* Change the author of the project

* GitHub actions (#2)

Create build using github action

* Bot skeleton (#4)

* Add dummy commit to test GH

* Change name of precommit file

* Add dummy skeleton to test build

* Add Dockerfile

* Add production github action

* Add author to dockerfile

* Fix docker file not getting image in FROM (#5)

* Docker file fix v2 (#6)

Fix problem with name in the registry

* Add PR template file (#7)

* Add PR template file

* Change semantic of type of change

* Add documentation as option

* Rename az registries information (#8)

* Rename az registries information

* Rename pull request template

* Rename PR template

* React with reaction (#9)

* Test PR template

* Update version of discordpy dependency

* Initial architecture of bot

* Change tox and preconfig files

* Test build

* Add cog automatical registration

* Add discord token as secure env var

* Test no cog registration (#10)

* Fix problem with relative path (#11)

* Fix linter config (#14)

* Unit test and documentation for blueprint bot (#12)

* Add unit test for intent registration

* Add unit testing for startup

* Add test for startup cogs

* Create unit testing for formatters

* Update constants.py

Co-Authored-By: Manuel CH <26100917+akotadi@users.noreply.github.com>

* Test precommit

* Create unit testing for formatters

* Add Readme

* Fix typo in readme

* Ignore rule to avoid unneccesary comments

* Delete unnecesary comments

* Move fixture to conftest

Co-authored-by: Manuel CH <26100917+akotadi@users.noreply.github.com>

* Add initial base for timeline (#15)

* Add initial base for timeline

* Add unit testing for hiring formatter

* Add cron testing

* Add unit testing for cog

* Change formatter access

* Migrate cron to enum

* Add annoucement channel as secret for deployment

* Add start stop cron schedule

* Missing root folder name was failing deploy to Azure (#16)

* Debug state

* Change to PR

* Add analytics to container

* Add cogs again

* Remove path

* Enable cogs again

* Test

* Rename Docker root file

* Add module parameter to Dockerfile

* Add complete path

* Uncomment cogs

* Comment hiring

* Add logg

* Test

* Add complete path to cogs

* Put release again on merge

* Fix tox passing failing tests

* Fix tox

* Change tox

* FIx tox

* Tox should trigger

* Skip update dependency

* Delete install

* Add pytest

* Return pytest

* Test should fail

* Change test to build

* Uncomment test cog

* Revert push to prod to merge

* Prepare deploy with different envs

* Test dev deploy

* Test secrets

* Add env vars for deploy

* Fix if

* Split dev and prod

* Comment test phase

* Disable beta command (#18)

* Comment beta command

* Modify tests

* Add logging decorator (#20)

* Add logging decorator

* Test log in az dev

* Test in developent environment

* Change policy (#23)

* Change policy

* Disable push in pull request

* Fix lintern problems

Co-authored-by: Manuel CH <26100917+akotadi@users.noreply.github.com>

* Comment logger

---------

Co-authored-by: Manuel CH <26100917+akotadi@users.noreply.github.com>
@GoberInfinity GoberInfinity temporarily deployed to develop February 7, 2023 03:16 — with GitHub Actions Inactive
@GoberInfinity GoberInfinity changed the title Develop Disable Logging Feb 7, 2023
@GoberInfinity GoberInfinity merged commit d74c872 into master Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants