Skip to content

Commit

Permalink
Merge pull request #26 from BrownUniversity/qa
Browse files Browse the repository at this point in the history
Updated nginx version
  • Loading branch information
brtduvally authored May 22, 2023
2 parents 76c3d69 + fcde563 commit d58a0a7
Show file tree
Hide file tree
Showing 10 changed files with 25 additions and 9 deletions.
1 change: 1 addition & 0 deletions .blackbox/blackbox-files.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ files/dev-bkpd.yaml
files/dev-bkpi.yaml
files/qa-bkpd.yaml
files/qa-bkpi.yaml
files/robot.dev
files/robot.dr
files/robot.prod
files/robot.qa
10 changes: 8 additions & 2 deletions .github/workflows/dev-build-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
Delete_and_Deploy_bkeXtest:
runs-on: self-hosted
runs-on: [self-hosted, qa-ghrunner]
steps:
-
name: Checkout
Expand All @@ -20,7 +20,13 @@ jobs:
name: Get kubectl
uses: azure/setup-kubectl@v3
with:
version: v1.20.0
version: v1.22.0
-
name: Build
run: make build
-
name: Push
run: make push.dev
-
name: Delete
run: make delete.dev
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dr-build-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
Building_and_Deploying_bkeXtest:
runs-on: self-hosted
runs-on: [self-hosted, ghrunner]
steps:
-
name: Checkout
Expand All @@ -19,7 +19,7 @@ jobs:
name: Get kubectl
uses: azure/setup-kubectl@v3
with:
version: v1.20.0
version: v1.22.0
-
name: Build
run: make build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/prod-build-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
Building_and_Deploying_bkeXtest:
runs-on: self-hosted
runs-on: [self-hosted, ghrunner]
steps:
-
name: Checkout
Expand All @@ -19,7 +19,7 @@ jobs:
name: Get kubectl
uses: azure/setup-kubectl@v3
with:
version: v1.20.0
version: v1.22.0
-
name: Build
run: make build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/qa-build-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
Building_and_Deploying_bkeXtest:
runs-on: self-hosted
runs-on: [self-hosted, qa-ghrunner]
steps:
-
name: Checkout
Expand All @@ -20,7 +20,7 @@ jobs:
name: Get kubectl
uses: azure/setup-kubectl@v3
with:
version: v1.20.0
version: v1.22.0
-
name: Build
run: make build
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@
/files/qa-bkpi.yaml
/files/dev-bkpi.yaml
/files/dev-bkpd.yaml
/files/robot.dev
10 changes: 9 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,14 @@ decrypt: files/bkpidr.yaml

#build: @ Build bkextest image
build:
docker build -t harbor.services.brown.edu/bkextest/bkextest -t harbor.cis-qas.brown.edu/bkextest/bkextest -t harbordr.services.brown.edu/bkextest/bkextest ./
docker build -t harbor.services.brown.edu/bkextest/bkextest -t harbor.cis-qas.brown.edu/bkextest/bkextest -t harbordr.services.brown.edu/bkextest/bkextest -t harbor.cis-dev.brown.edu/bkextest/bkextest ./

## Docker Logins

#dlogin.dev: @ dev docker login
dlogin.dev: files/robot.dev
cat files/robot.dev | docker login -u 'bke-bkextest+bkextest' --password-stdin harbor.cis-dev.brown.edu

#dlogin.qa: @ qa docker login
dlogin.qa: files/robot.qa
cat files/robot.qa | docker login -u 'bke-bkextest+bkextest' --password-stdin harbor.cis-qas.brown.edu
Expand All @@ -46,6 +50,10 @@ dlogin.dr: files/robot.dr

## Harbor push

#push.dev: @ Push to DEV harbor
push.dev: dlogin.dev
docker push harbor.cis-dev.brown.edu/bkextest/bkextest

#push.qa: @ Push to QA harbor
push.qa: dlogin.qa
docker push harbor.cis-qas.brown.edu/bkextest/bkextest
Expand Down
Binary file modified files/dev-bkpd.yaml.gpg
Binary file not shown.
Binary file modified files/dev-bkpi.yaml.gpg
Binary file not shown.
Binary file added files/robot.dev.gpg
Binary file not shown.

0 comments on commit d58a0a7

Please sign in to comment.