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

Created initial auth & project modules #1

Merged
merged 1 commit into from
Oct 1, 2024
Merged

Created initial auth & project modules #1

merged 1 commit into from
Oct 1, 2024

Conversation

Fank
Copy link
Member

@Fank Fank commented Oct 1, 2024

This pull request introduces several significant changes, including the addition of configuration files for Dependabot, GitHub Actions workflows for Go linting, testing, and license checking, as well as new Go modules and utility functions for authentication and project ID retrieval.

Configuration and Automation:

  • Dependabot Configuration: Added .github/dependabot.yml to automate dependency updates for Go modules and GitHub Actions.
  • Go Lint and Test Workflows: Created .github/workflows/go.yml to set up workflows for linting and testing Go code using GitHub Actions.
  • License Check Workflow: Added .github/workflows/license_go.yml to automate license checking and reporting for Go dependencies.

Go Modules and Dependencies:

  • Go Module Initialization: Added go.mod file to define the module and its dependencies, including both direct and indirect dependencies.

Utility Functions:

  • Authentication Utility: Implemented pkg/authentication/auth.go to handle OAuth2 token sourcing and HTTP authorization for Google Cloud services.
  • Project ID Retrieval: Added pkg/project/project.go to fetch the Google Cloud project ID from the environment or metadata server.

@Fank Fank self-assigned this Oct 1, 2024
@Fank Fank merged commit af1050d into main Oct 1, 2024
4 checks passed
@Fank Fank deleted the fk_init branch October 1, 2024 08:30
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.

2 participants