Narek Matevosyan 2 năm trước cách đây
mục cha
commit
cf96b186cd

+ 1 - 1
.github/workflows/aws_publisher.yaml

@@ -24,7 +24,7 @@ jobs:
       - name: Clone infra repo
         run: |
           echo "Cloning repo..."
-          git clone https://github.com/provectus/kafka-ui-infra.git --branch ${{ github.event.inputs.KafkaUIInfraBranch }}
+          git clone https://infra-tech:${{ secrets.INFRA_USER_ACCESS_TOKEN }}@github.com/provectus/kafka-ui-infra.git --branch ${{ github.event.inputs.KafkaUIInfraBranch }}
           echo "Cd to packer DIR..."
           cd kafka-ui-infra/ami
           echo "WORK_DIR=$(pwd)" >> $GITHUB_ENV

+ 1 - 2
.github/workflows/branch-deploy.yml

@@ -73,8 +73,7 @@ jobs:
     steps:
       - name: clone
         run: |
-          git clone https://github.com/provectus/kafka-ui-infra.git
-          git checkout envs
+          git clone https://infra-tech:${{ secrets.INFRA_USER_ACCESS_TOKEN }}@github.com/provectus/kafka-ui-infra.git --branch envs
       - name: create deployment
         run: |
           cd kafka-ui-infra/aws-infrastructure4eks/argocd/scripts

+ 1 - 2
.github/workflows/branch-remove.yml

@@ -11,8 +11,7 @@ jobs:
       - uses: actions/checkout@v3
       - name: clone
         run: |
-          git clone https://github.com/provectus/kafka-ui-infra.git
-          git checkout envs
+          git clone https://infra-tech:${{ secrets.INFRA_USER_ACCESS_TOKEN }}@github.com/provectus/kafka-ui-infra.git --branch envs
       - name: remove env
         run: |
           cd kafka-ui-infra/aws-infrastructure4eks/argocd/scripts

+ 1 - 1
.github/workflows/master.yaml

@@ -73,7 +73,7 @@ jobs:
 #################################
       - name: update-master-deployment
         run: |
-          git clone https://github.com/provectus/kafka-ui-infra.git --branch master
+          git clone https://infra-tech:${{ secrets.INFRA_USER_ACCESS_TOKEN }}@github.com/provectus/kafka-ui-infra.git --branch master
           cd kafka-ui-infra/aws-infrastructure4eks/argocd/scripts
           echo "Image digest is:${{ steps.docker_build_and_push.outputs.digest }}"
           ./kafka-ui-update-master-digest.sh ${{ steps.docker_build_and_push.outputs.digest }}

+ 1 - 2
.github/workflows/separate_env_public_create.yml

@@ -76,8 +76,7 @@ jobs:
     steps:
       - name: clone
         run: |
-          git clone https://github.com/provectus/kafka-ui-infra.git
-          git checkout envs
+          git clone https://infra-tech:${{ secrets.INFRA_USER_ACCESS_TOKEN }}@github.com/provectus/kafka-ui-infra.git --branch envs
 
       - name: separate env create
         run: |

+ 1 - 2
.github/workflows/separate_env_public_remove.yml

@@ -13,8 +13,7 @@ jobs:
     steps:
       - name: clone
         run: |
-          git clone https://github.com/provectus/kafka-ui-infra.git
-          git checkout envs
+          git clone https://infra-tech:${{ secrets.INFRA_USER_ACCESS_TOKEN }}@github.com/provectus/kafka-ui-infra.git --branch envs
       - name: separate environment remove
         run: |
           cd kafka-ui-infra/aws-infrastructure4eks/argocd/scripts