Skip to content

Commit

Permalink
fix: fixed linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
anaik91 committed Oct 27, 2023
1 parent deaed7a commit 6f502d4
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 14 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/static-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: "14"
- name: Install Linter dependencies
run: npm install
uses: actions/checkout@v3
# - name: Setup Node
# uses: actions/setup-node@v2
# with:
# node-version: "14"
# - name: Install Linter dependencies
# run: npm install
- name: Run Mega Linter
uses: nvuillam/mega-linter@v4
uses: oxsecurity/megalinter@v7
env:
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/build.yml → .github/workflows/testing.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
name: Release
name: E2E Testing
on:
push:

jobs:
docker-build:
name: Tagged Docker release to Google Artifact Registry
runs-on: ubuntu-latest
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')

if: github.event_name == 'push'
permissions:
contents: 'read'
id-token: 'write'
Expand Down Expand Up @@ -35,7 +34,7 @@ jobs:

- name: Get tag
id: get-tag
run: echo ::set-output name=short_ref::${GITHUB_REF#refs/*/}
run: echo ::set-output name=short_ref::"${GITHUB_REF#refs/*/}"

- id: docker-push-tagged
name: Tag Docker image and push to Google Artifact Registry
Expand All @@ -44,4 +43,4 @@ jobs:
push: true
tags: |
${{ secrets.GCP_REGION }}-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/${{ secrets.GCP_GAR_REPO }}/ansible-helm-apigee-hybrid-deployer:${{ steps.get-tag.outputs.short_ref }}
${{ secrets.GCP_REGION }}-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/${{ secrets.GCP_GAR_REPO }}/ansible-helm-apigee-hybrid-deployer:latest
${{ secrets.GCP_REGION }}-docker.pkg.dev/${{ secrets.GCP_PROJECT_ID }}/${{ secrets.GCP_GAR_REPO }}/ansible-helm-apigee-hybrid-deployer:latest
2 changes: 1 addition & 1 deletion test/terraform/control-plane/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ variable "apigee_environments" {
description = "Apigee Environments."
type = map(object({
display_name = optional(string)
description = optional(string, "Terraform-managed")
description = optional(string)
node_config = optional(object({
min_node_count = optional(number)
max_node_count = optional(number)
Expand Down

0 comments on commit 6f502d4

Please sign in to comment.