Skip to content

Commit

Permalink
manifests fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
fqjony committed Oct 24, 2024
1 parent a098555 commit 61ee282
Show file tree
Hide file tree
Showing 9 changed files with 38 additions and 40 deletions.
24 changes: 15 additions & 9 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -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
12 changes: 6 additions & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Check warning on line 9 in .github/dependabot.yml

View workflow job for this annotation

GitHub Actions / Analyze YAML Files

9:33 [comments] too few spaces before comment
directory: '/' # Location of package manifests

Check warning on line 10 in .github/dependabot.yml

View workflow job for this annotation

GitHub Actions / Analyze YAML Files

10:20 [comments] too few spaces before comment
schedule:
interval: "weekly"
interval: 'weekly'

- package-ecosystem: "github-actions"
directory: ".github/workflows"
- package-ecosystem: 'github-actions'
directory: '.github/workflows'
schedule:
interval: "weekly"
interval: 'weekly'
2 changes: 0 additions & 2 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,3 @@ jobs:
echo "Failed to complete Trivy scan after $max_retries attempts."
exit 1
fi

3 changes: 0 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
push:

jobs:

analyze-shell:
name: Analyze Shell Scripts
runs-on: ubuntu-latest
Expand Down Expand Up @@ -56,5 +55,3 @@ jobs:
run: |
find . -name '*.yml' -print0 -o -name '*.yaml' -print0 | \
xargs -0 yamllint

2 changes: 0 additions & 2 deletions .github/workflows/release-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,3 @@ jobs:
echo "changelog<<EOF" >> $GITHUB_ENV
echo "$CHANGELOG" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV

2 changes: 0 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,5 +147,3 @@ jobs:
- name: Log out from Docker Hub
run: docker logout


25 changes: 13 additions & 12 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -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
# Environment variables file
.env

# Ignore Prettier configuration overrides for development
.prettierignore
2 changes: 1 addition & 1 deletion ci/git-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ mode: ContinuousDeployment
branches:
latest:
regex: ^latest$
tag: "release"
tag: 'release'
increment: Minor
source-branches:
- __BRANCH_NAME__
Expand Down
6 changes: 3 additions & 3 deletions src/configs/worker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -17,7 +17,7 @@ config:

actors:
- type: gcp
creds: "${GCP_CREDS}"
creds: '${GCP_CREDS}'

# Supported:

Check warning on line 22 in src/configs/worker.yml

View workflow job for this annotation

GitHub Actions / Analyze YAML Files

22:5 [comments-indentation] comment not indented like content
# - type: azure
Expand Down

0 comments on commit 61ee282

Please sign in to comment.