Skip to content

Commit

Permalink
docs/readme-file
Browse files Browse the repository at this point in the history
  • Loading branch information
rohit-zip committed May 20, 2024
1 parent fd1dc64 commit 6078ea6
Show file tree
Hide file tree
Showing 7 changed files with 811 additions and 0 deletions.
Binary file added .github/assets/bloggios-header.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
130 changes: 130 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
#name: auth-provider-application devsandbox
#
#on:
# push:
# branches: [ "main" ]
#
#jobs:
# build:
#
# runs-on: ubuntu-latest
# permissions:
# contents: read
# packages: write
#
# steps:
# - uses: actions/checkout@v3
# - name: Set up JDK 17
# uses: actions/setup-java@v3
# with:
# java-version: '17'
# distribution: 'temurin'
# server-id: github
# settings-path: ${{ github.workspace }}
# - uses: docker/login-action@v1
# with:
# username: ${{ secrets.DOCKER_HUB_USERNAME }}
# password: ${{ secrets.DOCKER_HUB_PASSWORD }}
#
# - name: Build with Maven
# run: mvn clean install
#
# - name: Cleaning Docker File
# uses: appleboy/ssh-action@master
# with:
# host: ${{ secrets.V4_HOST }}
# username: ${{ secrets.V4_USERNAME }}
# password: ${{ secrets.V4_VPS_PRIVATE_KEY }}
# port: 22
# script: |
# cd /root/bloggios-deployment-docker-files
# git stash
# git pull origin main
#
# - name: Cleaning File
# uses: appleboy/ssh-action@master
# with:
# host: ${{ secrets.V4_HOST }}
# username: ${{ secrets.V4_USERNAME }}
# password: ${{ secrets.V4_VPS_PRIVATE_KEY }}
# port: 22
# script: |
# cd /root/microservices/auth-provider-application
# git stash
# git pull origin main
#
# - name: Add Logback File
# uses: appleboy/ssh-action@master
# with:
# host: ${{ secrets.V4_HOST }}
# username: ${{ secrets.V4_USERNAME }}
# key: ${{ secrets.V4_VPS_PRIVATE_KEY }}
# port: 22
# script: |
# rm /root/microservices/auth-provider-application/src/main/resources/auth-logback.xml
# cp /root/secrets/logback/auth-logback.xml /root/microservices/auth-provider-application/src/main/resources
#
# - name: Add Keys
# uses: appleby/ssh-action@master
# with:
# host: ${{ secrets.V4_HOST }}
# username: ${{ secrets.V4_USERNAME }}
# key: ${{ secrets.V4_VPS_PRIVATE_KEY }}
# port: 22
# script: |
# set +e
# rm /root/microservices/auth-provider-application/src/main/resources/security/privkey.pem
# /root/microservices/auth-provider-application/src/main/resources/security/pubkey.pem
# set -e
# cp /root/spring-boot/certificates/privkey.pem /root/microservices/auth-provider-application/src/main/resources/security
# cp /root/spring-boot/certificates/pubkey.pem /root/microservices/auth-provider-application/src/main/resources/security
#
# - name: Stopping Container
# uses: appleboy/ssh-action@master
# with:
# host: ${{ secrets.V4_HOST }}
# username: ${{ secrets.V4_USERNAME }}
# key: ${{ secrets.V4_VPS_PRIVATE_KEY }}
# port: 22
# script: |
# cd /root/bloggios-deployment-docker-files
# set +e
# docker-compose -f docker-compose-devsandbox.yml stop auth-provider-application
# docker-compose -f docker-compose-devsandbox.yml stop auth-provider-social-application
# docker rmi -f auth-provider-application:1.0
# set -e
#
# - name: Generating Docker Image
# uses: appleboy/ssh-action@master
# with:
# host: ${{ secrets.V4_HOST }}
# username: ${{ secrets.V4_USERNAME }}
# key: ${{ secrets.V4_VPS_PRIVATE_KEY }}
# port: 22
# script: |
# cd /root/microservices/auth-provider-application
# chmod +x mvnw
# ./mvnw clean package
#
# - name: Deploy Docker Image
# uses: appleboy/ssh-action@master
# with:
# host: ${{ secrets.V4_HOST }}
# username: ${{ secrets.V4_USERNAME }}
# key: ${{ secrets.V4_VPS_PRIVATE_KEY }}
# port: 22
# script: |
# cd /root/bloggios-deployment-docker-files
# docker-compose -f docker-compose-devsandbox.yml up -d auth-provider-application
# docker-compose -f docker-compose-devsandbox.yml up -d auth-provider-social-application
#
# - name: Cleaning Targets
# uses: appleboy/ssh-action@master
# with:
# host: ${{ secrets.V4_HOST }}
# username: ${{ secrets.V4_USERNAME }}
# key: ${{ secrets.V4_VPS_PRIVATE_KEY }}
# port: 22
# script: |
# cd /root/microservices/auth-provider-application
# rm target -r
82 changes: 82 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
# Bloggios Contributor Covenant Code of Conduct

## Our Pledge

We, as members, contributors, and leaders of Bloggios, pledge to cultivate a harassment-free environment for all
participants, irrespective of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender
identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race,
religion, or sexual identity and orientation.

We commit to engaging in behaviors that foster an open, welcoming, diverse, inclusive, and healthy community.

## Our Standards

Examples of behavior that foster a positive environment within our Bloggios community include:

- Demonstrating empathy and kindness towards others
- Respecting differing opinions, viewpoints, and experiences
- Giving and graciously accepting constructive feedback
- Taking responsibility for our actions, apologizing to those affected by our mistakes, and learning from these
experiences
- Prioritizing the collective well-being of the community over individual interests

Examples of unacceptable behavior include:

- Use of sexualized language or imagery, and any form of sexual attention or advances
- Trolling, making derogatory comments, or engaging in personal or political attacks
- Harassment, whether public or private
- Sharing others' private information, such as physical or email addresses, without explicit permission
- Any other conduct that could reasonably be considered inappropriate in a professional setting

## Enforcement Responsibilities

Community leaders within Bloggios are responsible for upholding and enforcing our standards of acceptable behavior. They
will take appropriate and impartial corrective action in response to any behavior deemed inappropriate, threatening,
offensive, or harmful.

Community leaders reserve the right to remove, edit, or reject comments, commits, code, wiki edits, issues, and other
contributions that do not align with this Code of Conduct. They will communicate the reasons for moderation decisions
when necessary.

## Scope

This Code of Conduct applies to all interactions within Bloggios community spaces, as well as when individuals
officially represent the community in public settings. Representation may include the use of an official email address,
posting via official social media accounts, or acting as an appointed representative at online or offline events.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior should be reported to the community leaders
responsible for enforcement at [[email protected]](mailto:[email protected]). All complaints will be promptly
and fairly reviewed and investigated.

Community leaders are obligated to respect the privacy and security of the individual reporting any incident.

## Enforcement Guidelines

Community leaders will adhere to these Enforcement Guidelines in determining consequences for actions violating this
Code of Conduct:

1. **Correction**: Community Impact - Use of inappropriate language or behavior deemed unprofessional or unwelcome.

Consequence - A private, written warning from community leaders, offering clarity on the nature of the violation and
an explanation of its inappropriateness. A public apology may be requested.

2. **Warning**: Community Impact - Violation through a single incident or series of actions.

Consequence - A warning with repercussions for continued behavior. The individual will have no interaction with the
involved parties, including unsolicited communication with those enforcing the Code of Conduct, for a specified
period. This includes abstaining from interactions in community spaces and external channels like social media.
Violation may result in a temporary or permanent ban.

3. **Temporary Ban**: Community Impact - Serious violation of community standards, including sustained inappropriate
behavior.

Consequence - A temporary ban from any interaction or public communication with the community for a specified period.
No public or private interaction with the involved parties is permitted, including unsolicited communication with
those enforcing the Code of Conduct. Violation may lead to a permanent ban.

4. **Permanent Ban**: Community Impact - Demonstrating a pattern of violating community standards, including sustained
inappropriate behavior, harassment of individuals, or aggression towards or disparagement of classes of individuals.

Consequence - A permanent ban from Bloggios community participation.
Loading

0 comments on commit 6078ea6

Please sign in to comment.