From e557917c1ce609a1a7e8cbc5d842d3973913afee Mon Sep 17 00:00:00 2001 From: Pauline <4224001+paulineribeyre@users.noreply.github.com> Date: Thu, 26 Oct 2023 16:33:06 -0500 Subject: [PATCH] other improvements --- .github/workflows/image_build_push.yaml | 8 ++++---- .github/workflows/image_build_push_jenkins.yaml | 11 ++++++----- .github/workflows/image_build_push_squid.yaml | 5 +++-- .secrets.baseline | 4 ++-- kube/services/jobs/usersync-job.yaml | 2 +- 5 files changed, 16 insertions(+), 14 deletions(-) diff --git a/.github/workflows/image_build_push.yaml b/.github/workflows/image_build_push.yaml index 51543f0fe..d5bfea351 100644 --- a/.github/workflows/image_build_push.yaml +++ b/.github/workflows/image_build_push.yaml @@ -1,10 +1,10 @@ -name: Build Python Base Images and Push to Quay and ECR +name: Build Python Base Images on: push jobs: python_3-9: - name: Python 3.9 Build and Push + name: Python 3.9 uses: uc-cdis/.github/.github/workflows/image_build_push.yaml@master with: DOCKERFILE_LOCATION: "./Docker/python-nginx/python3.9-buster/Dockerfile" @@ -17,7 +17,7 @@ jobs: QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }} QUAY_ROBOT_TOKEN: ${{ secrets.QUAY_ROBOT_TOKEN }} python_3-10: - name: Python 3.10 Build and Push + name: Python 3.10 uses: uc-cdis/.github/.github/workflows/image_build_push.yaml@master with: DOCKERFILE_LOCATION: "./Docker/python-nginx/python3.10-buster/Dockerfile" @@ -30,7 +30,7 @@ jobs: QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }} QUAY_ROBOT_TOKEN: ${{ secrets.QUAY_ROBOT_TOKEN }} awshelper: - name: AwsHelper Build and Push + name: AwsHelper uses: uc-cdis/.github/.github/workflows/image_build_push.yaml@master with: DOCKERFILE_LOCATION: "./Docker/awshelper/Dockerfile" diff --git a/.github/workflows/image_build_push_jenkins.yaml b/.github/workflows/image_build_push_jenkins.yaml index 2d85aedf1..094417fe5 100644 --- a/.github/workflows/image_build_push_jenkins.yaml +++ b/.github/workflows/image_build_push_jenkins.yaml @@ -1,13 +1,14 @@ -name: Build Jenkins images and push to Quay +name: Build Jenkins images on: push: paths: + - .github/workflows/image_build_push_jenkins.yaml - Docker/jenkins/** jobs: jenkins: - name: Jenkins Build and Push + name: Jenkins uses: uc-cdis/.github/.github/workflows/image_build_push.yaml@master with: DOCKERFILE_LOCATION: "./Docker/jenkins/Jenkins/Dockerfile" @@ -21,7 +22,7 @@ jobs: QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }} QUAY_ROBOT_TOKEN: ${{ secrets.QUAY_ROBOT_TOKEN }} jenkins2: - name: Jenkins2 Build and Push + name: Jenkins2 uses: uc-cdis/.github/.github/workflows/image_build_push.yaml@master with: DOCKERFILE_LOCATION: "./Docker/jenkins/Jenkins2/Dockerfile" @@ -35,7 +36,7 @@ jobs: QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }} QUAY_ROBOT_TOKEN: ${{ secrets.QUAY_ROBOT_TOKEN }} jenkins-ci-worker: - name: Jenkins-CI-Worker Build and Push + name: Jenkins-CI-Worker uses: uc-cdis/.github/.github/workflows/image_build_push.yaml@master with: DOCKERFILE_LOCATION: "./Docker/jenkins/Jenkins-CI-Worker/Dockerfile" @@ -49,7 +50,7 @@ jobs: QUAY_USERNAME: ${{ secrets.QUAY_USERNAME }} QUAY_ROBOT_TOKEN: ${{ secrets.QUAY_ROBOT_TOKEN }} jenkins-qa-worker: - name: Jenkins-QA-Worker Build and Push + name: Jenkins-QA-Worker uses: uc-cdis/.github/.github/workflows/image_build_push.yaml@master with: DOCKERFILE_LOCATION: "./Docker/jenkins/Jenkins-Worker/Dockerfile" diff --git a/.github/workflows/image_build_push_squid.yaml b/.github/workflows/image_build_push_squid.yaml index 2849f0cc5..ce1761d3c 100644 --- a/.github/workflows/image_build_push_squid.yaml +++ b/.github/workflows/image_build_push_squid.yaml @@ -1,13 +1,14 @@ -name: Build Squid images and push to Quay +name: Build Squid images on: push: paths: + - .github/workflows/image_build_push_squid.yaml - Docker/squid/** jobs: squid: - name: Squid Build and Push + name: Squid image uses: uc-cdis/.github/.github/workflows/image_build_push.yaml@master with: DOCKERFILE_LOCATION: "./Docker/squid/Dockerfile" diff --git a/.secrets.baseline b/.secrets.baseline index 919833990..0a8fe9cc9 100644 --- a/.secrets.baseline +++ b/.secrets.baseline @@ -3,7 +3,7 @@ "files": "^.secrets.baseline$", "lines": null }, - "generated_at": "2023-09-18T18:49:22Z", + "generated_at": "2023-10-26T21:32:44Z", "plugins_used": [ { "name": "AWSKeyDetector" @@ -79,7 +79,7 @@ "hashed_secret": "10daf3a26c6a17242a5ab2438a12ebc8276c7603", "is_secret": false, "is_verified": false, - "line_number": 122, + "line_number": 121, "type": "Secret Keyword" } ], diff --git a/kube/services/jobs/usersync-job.yaml b/kube/services/jobs/usersync-job.yaml index 8f148a3b0..8a5471a20 100644 --- a/kube/services/jobs/usersync-job.yaml +++ b/kube/services/jobs/usersync-job.yaml @@ -260,7 +260,7 @@ spec: exit 1 fi #----------------- - echo "awshelper downloading ${userYamlS3Path} to /mnt/shared/useryaml"; + echo "awshelper downloading ${userYamlS3Path} to /mnt/shared/user.yaml"; n=0 until [ $n -ge 5 ]; do echo "Download attempt $n"