Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
leewrigh committed Oct 8, 2024
1 parent 151c8ce commit 45f21e4
Show file tree
Hide file tree
Showing 15 changed files with 76 additions and 48 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/backup-prod-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Login to Artifactory
uses: docker/login-action@v1
with:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/build-push-admin-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ env:
jobs:
build:
runs-on: ubuntu-latest
concurrency: $${{ github.ref_name }}-helm

if: github.event_name == 'push'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set environment for branch
run: |
Expand Down Expand Up @@ -112,6 +114,9 @@ jobs:
git add .

git commit -m "Update ${{ env.BRANCH_NAME }} API image tag"

# pull any changes
git pull origin ${{ env.BRANCH_NAME }}
git push origin ${{ env.BRANCH_NAME }} # Update the branch name as needed


10 changes: 6 additions & 4 deletions .github/workflows/build-push-approvalflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ env:
jobs:
build:
runs-on: ubuntu-latest
concurrency: $${{ github.ref_name }}-helm

if: github.event_name == 'push'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set environment for branch
run: |
Expand Down Expand Up @@ -90,9 +92,6 @@ jobs:
# Navigate to the directory containing your Helm values file for the environment develop -> DEV, test -> test
cd gitops/charts
# pull any changes
git pull origin ${{ env.BRANCH_NAME }}
# Update the Helm values file with the new image tag and version
DATETIME=$(date +'%Y-%m-%d %H:%M:%S') # Get current date and time
Expand All @@ -118,6 +117,9 @@ jobs:
git add .
git commit -m "Update ${{ env.BRANCH_NAME }} API image tag"
# pull any changes
git pull origin ${{ env.BRANCH_NAME }}
git push origin ${{ env.BRANCH_NAME }} # Update the branch name as needed
10 changes: 6 additions & 4 deletions .github/workflows/build-push-casemanagement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ env:
jobs:
build:
runs-on: ubuntu-latest
concurrency: $${{ github.ref_name }}-helm

if: github.event_name == 'push'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set environment for branch
run: |
Expand Down Expand Up @@ -88,9 +90,6 @@ jobs:
# Navigate to the directory containing your Helm values file for the environment develop -> DEV, test -> test
cd gitops/charts
# pull any changes
git pull origin ${{ env.BRANCH_NAME }}
# Update the Helm values file with the new image tag and version
DATETIME=$(date +'%Y-%m-%d %H:%M:%S') # Get current date and time
Expand All @@ -116,6 +115,9 @@ jobs:
git add .
git commit -m "Update ${{ env.BRANCH_NAME }} API image tag"
# pull any changes
git pull origin ${{ env.BRANCH_NAME }}
git push origin ${{ env.BRANCH_NAME }} # Update the branch name as needed
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/build-push-diamconfig.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ env:
jobs:
build:
runs-on: ubuntu-latest
concurrency: $${{ github.ref_name }}-helm

if: github.event_name == 'push'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set environment for branch
run: |
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/build-push-diamcornet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ env:
jobs:
build:
runs-on: ubuntu-latest
concurrency: $${{ github.ref_name }}-helm

if: github.event_name == 'push'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set environment for branch
run: |
Expand Down Expand Up @@ -89,9 +91,6 @@ jobs:
# Navigate to the directory containing your Helm values file for the environment develop -> DEV, test -> test
cd gitops/charts
# pull any changes
git pull origin ${{ env.BRANCH_NAME }}
# Update the Helm values file with the new image tag and version
DATETIME=$(date +'%Y-%m-%d %H:%M:%S') # Get current date and time
Expand All @@ -117,4 +116,7 @@ jobs:
git add .
git commit -m "Update ${{ env.BRANCH_NAME }} API image tag"
# pull any changes
git pull origin ${{ env.BRANCH_NAME }}
git push origin ${{ env.BRANCH_NAME }} # Update the branch name as needed
8 changes: 5 additions & 3 deletions .github/workflows/build-push-disclosure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ env:
jobs:
build:
runs-on: ubuntu-latest
concurrency: $${{ github.ref_name }}-helm

if: github.event_name == 'push'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set environment for branch
run: |
Expand Down Expand Up @@ -90,8 +92,6 @@ jobs:
# Navigate to the directory containing your Helm values file for the environment develop -> DEV, test -> test
cd gitops/charts
# pull any changes
git pull origin ${{ env.BRANCH_NAME }}
# Update the Helm values file with the new image tag and version
DATETIME=$(date +'%Y-%m-%d %H:%M:%S') # Get current date and time
Expand All @@ -117,4 +117,6 @@ jobs:
git add .
git commit -m "Update ${{ env.BRANCH_NAME }} API image tag"
# pull any changes
git pull origin ${{ env.BRANCH_NAME }}
git push origin ${{ env.BRANCH_NAME }} # Update the branch name as needed
9 changes: 6 additions & 3 deletions .github/workflows/build-push-edtcore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ env:
jobs:
build:
runs-on: ubuntu-latest
concurrency: $${{ github.ref_name }}-helm

if: github.event_name == 'push'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set environment for branch
run: |
Expand Down Expand Up @@ -93,8 +95,6 @@ jobs:
cd gitops/charts
# pull any changes
git pull origin ${{ env.BRANCH_NAME }}
# Update the Helm values file with the new image tag and version
DATETIME=$(date +'%Y-%m-%d %H:%M:%S') # Get current date and time
Expand All @@ -120,6 +120,9 @@ jobs:
git add .

git commit -m "Update ${{ env.BRANCH_NAME }} API image tag"

# pull any changes
git pull origin ${{ env.BRANCH_NAME }}
git push origin ${{ env.BRANCH_NAME }} # Update the branch name as needed


10 changes: 6 additions & 4 deletions .github/workflows/build-push-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ env:
jobs:
build:
runs-on: ubuntu-latest
concurrency: $${{ github.ref_name }}-helm

if: github.event_name == 'push'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set environment for branch
run: |
Expand Down Expand Up @@ -89,9 +91,6 @@ jobs:
# Navigate to the directory containing your Helm values file for the environment develop -> DEV, test -> test
cd gitops/charts
# pull any changes
git pull origin ${{ env.BRANCH_NAME }}
# Update the Helm values file with the new image tag and version
DATETIME=$(date +'%Y-%m-%d %H:%M:%S') # Get current date and time
Expand All @@ -117,5 +116,8 @@ jobs:
git add .
git commit -m "Update ${{ env.BRANCH_NAME }} API image tag"
# pull any changes
git pull origin ${{ env.BRANCH_NAME }}
git push origin ${{ env.BRANCH_NAME }} # Update the branch name as needed
10 changes: 6 additions & 4 deletions .github/workflows/build-push-islinterfaces.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ env:
jobs:
build:
runs-on: ubuntu-latest
concurrency: $${{ github.ref_name }}-helm

if: github.event_name == 'push'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set environment for branch
run: |
Expand Down Expand Up @@ -91,9 +93,6 @@ jobs:
# Navigate to the directory containing your Helm values file for the environment develop -> DEV, test -> test
cd gitops/charts
# pull any changes
git pull origin ${{ env.BRANCH_NAME }}
# Update the Helm values file with the new image tag and version
DATETIME=$(date +'%Y-%m-%d %H:%M:%S') # Get current date and time
Expand All @@ -119,6 +118,9 @@ jobs:
git add .
git commit -m "Update ${{ env.BRANCH_NAME }} API image tag"
# pull any changes
git pull origin ${{ env.BRANCH_NAME }}
git push origin ${{ env.BRANCH_NAME }} # Update the branch name as needed
14 changes: 6 additions & 8 deletions .github/workflows/build-push-jamservice.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ env:
jobs:
build:
runs-on: ubuntu-latest
concurrency: $${{ github.ref_name }}-helm

if: github.event_name == 'push'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set environment for branch
run: |
Expand Down Expand Up @@ -90,13 +92,6 @@ jobs:
# Navigate to the directory containing your Helm values file for the environment develop -> DEV, test -> test
cd gitops/charts
# pull any changes
git pull origin ${{ env.BRANCH_NAME }}
# pull any changes
git pull origin ${{ env.BRANCH_NAME }}
# Update the Helm values file with the new image tag and version
DATETIME=$(date +'%Y-%m-%d %H:%M:%S') # Get current date and time
echo "Updating tag apitag: to ${{ steps.short_sha.outputs.SHORT_SHA }}"
Expand All @@ -121,4 +116,7 @@ jobs:
git add .
git commit -m "Update ${{ env.BRANCH_NAME }} API image tag"
# pull any changes
git pull origin ${{ env.BRANCH_NAME }}
git push origin ${{ env.BRANCH_NAME }} # Update the branch name as needed
9 changes: 6 additions & 3 deletions .github/workflows/build-push-jumapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ env:
jobs:
build:
runs-on: ubuntu-latest
concurrency: $${{ github.ref_name }}-helm

if: github.event_name == 'push'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set environment for branch
run: |
Expand Down Expand Up @@ -90,8 +92,6 @@ jobs:
# Navigate to the directory containing your Helm values file for the environment develop -> DEV, test -> test
cd gitops/charts
# pull any changes
git pull origin ${{ env.BRANCH_NAME }}
# Update the Helm values file with the new image tag and version
DATETIME=$(date +'%Y-%m-%d %H:%M:%S') # Get current date and time
Expand All @@ -117,6 +117,9 @@ jobs:
git add .

git commit -m "Update ${{ env.BRANCH_NAME }} API image tag"

# pull any changes
git pull origin ${{ env.BRANCH_NAME }}
git push origin ${{ env.BRANCH_NAME }} # Update the branch name as needed


2 changes: 1 addition & 1 deletion .github/workflows/build-push-kafka-connectors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
if: github.event_name == 'push'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set environment for branch
run: |
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/build-push-maintenance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ env:
jobs:
build:
runs-on: ubuntu-latest
concurrency: $${{ github.ref_name }}-helm

if: github.event_name == 'push'

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set environment for branch
run: |
Expand Down Expand Up @@ -88,9 +90,7 @@ jobs:
# Navigate to the directory containing your Helm values file for the environment develop -> DEV, test -> test
cd gitops/charts
# pull any changes
git pull origin ${{ env.BRANCH_NAME }}
# Update the Helm values file with the new image tag and version
DATETIME=$(date +'%Y-%m-%d %H:%M:%S') # Get current date and time
Expand All @@ -115,6 +115,9 @@ jobs:
git add .

git commit -m "Update ${{ env.BRANCH_NAME }} API image tag"

# pull any changes
git pull origin ${{ env.BRANCH_NAME }}
git push origin ${{ env.BRANCH_NAME }} # Update the branch name as needed


Loading

0 comments on commit 45f21e4

Please sign in to comment.