diff --git a/.dockerignore b/.dockerignore index af1a0267..3bb3a450 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,41 +1,47 @@ -# Ignore credentials and sensitive data +# Credentials and sensitive data azure_creds.json aws_creds.json gcp_creds.json bitwarden_creds.json +.env -# Ignore Git and version control related files +# Git and version control related files .git .gitignore .gitattributes -# Ignore CI/CD and GitHub-related files +# CI/CD and GitHub-related files ci/* .github/* -# Ignore documentation files +# Documentation files docs/* README.md SECURITY.md -# Ignore local development scripts and helper files +# Local development scripts and helper files Makefile Makefile.help Makefile.variables -# Ignore build artifacts and temporary files +# Build artifacts and temporary files *.log *.tmp *.swp *.bak *.old -# Ignore unnecessary configuration or text files +# Unnecessary configuration or text files etc/home/logo.txt -# Ignore readme files in the secrets and auth directories +# Readme files in the secrets and auth directories lib/auth/readme.md lib/secrets/readme.md -# Ignore unnecessary configuration documentation +# Unnecessary configuration documentation src/configs/readme.md + +# Ignore IDE specific and Prettier configuration files +.vscode/ +*.iml +.prettierignore diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 29c1aec9..051bb7d2 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -6,12 +6,12 @@ version: 2 updates: - - package-ecosystem: "docker" # See documentation for possible values - directory: "/" # Location of package manifests + - package-ecosystem: 'docker' # See documentation for possible values + directory: '/' # Location of package manifests schedule: - interval: "weekly" + interval: 'weekly' - - package-ecosystem: "github-actions" - directory: ".github/workflows" + - package-ecosystem: 'github-actions' + directory: '.github/workflows' schedule: - interval: "weekly" + interval: 'weekly' diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 5fb30f93..41b3a416 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -81,5 +81,3 @@ jobs: echo "Failed to complete Trivy scan after $max_retries attempts." exit 1 fi - - \ No newline at end of file diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index a876b6bd..a36b9edd 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -5,7 +5,6 @@ on: push: jobs: - analyze-shell: name: Analyze Shell Scripts runs-on: ubuntu-latest @@ -56,5 +55,3 @@ jobs: run: | find . -name '*.yml' -print0 -o -name '*.yaml' -print0 | \ xargs -0 yamllint - - \ No newline at end of file diff --git a/.github/workflows/release-test.yml b/.github/workflows/release-test.yml index ebedee09..0ce3a5ab 100644 --- a/.github/workflows/release-test.yml +++ b/.github/workflows/release-test.yml @@ -57,5 +57,3 @@ jobs: echo "changelog<> $GITHUB_ENV echo "$CHANGELOG" >> $GITHUB_ENV echo "EOF" >> $GITHUB_ENV - - \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2cb3bea8..91fd61d2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -147,5 +147,3 @@ jobs: - name: Log out from Docker Hub run: docker logout - - \ No newline at end of file diff --git a/.gitignore b/.gitignore index 4ff8aba5..887a5e63 100644 --- a/.gitignore +++ b/.gitignore @@ -1,33 +1,34 @@ -# .gitignore - -# Ignore macOS system files +# macOS system files .DS_Store -# Ignore node modules +# Node modules node_modules/ -# Ignore log files +# Log files npm-debug.log* yarn-debug.log* yarn-error.log* -# Ignore the npm package lock files +# Package lock files package-lock.json yarn.lock -# Ignore IDE specific files +# IDE specific files .idea/ .vscode/ *.iml -# Ignore environment secrets +# Environment secrets .udx -# Ignore build output +# Build output dist/ -# Ignore the Azure credentials file +# Azure credentials file *_creds.json -# Ignore the .env file -.env \ No newline at end of file +# Environment variables file +.env + +# Ignore Prettier configuration overrides for development +.prettierignore diff --git a/ci/git-version.yml b/ci/git-version.yml index 747ea9c7..eba72004 100644 --- a/ci/git-version.yml +++ b/ci/git-version.yml @@ -4,7 +4,7 @@ mode: ContinuousDeployment branches: latest: regex: ^latest$ - tag: "release" + tag: 'release' increment: Minor source-branches: - __BRANCH_NAME__ diff --git a/src/configs/worker.yml b/src/configs/worker.yml index f08514e6..1ff0e0f6 100644 --- a/src/configs/worker.yml +++ b/src/configs/worker.yml @@ -3,10 +3,10 @@ kind: workerConfig version: udx.io/worker-v1/config config: variables: - DOCKER_IMAGE_NAME: "udx-worker" + DOCKER_IMAGE_NAME: 'udx-worker' secrets: - NEW_RELIC_API_KEY: "gcp/udx-worker-project/new_relic_api_key" + NEW_RELIC_API_KEY: 'gcp/udx-worker-project/new_relic_api_key' # Supported: # NEW_RELIC_API_KEY: "azure/kv-udx-worker/new_relic_api_key" @@ -17,7 +17,7 @@ config: actors: - type: gcp - creds: "${GCP_CREDS}" + creds: '${GCP_CREDS}' # Supported: # - type: azure