From 299b52db0cae3525feec8da7b856201c8bd3e845 Mon Sep 17 00:00:00 2001 From: Gleb Boushev <4c74356b41@outlook.com> Date: Tue, 8 Dec 2020 15:16:42 +0300 Subject: [PATCH] moving to PAT, due to private repo --- .github/workflows/nightly.yml | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 9b328c6c5..f6cbdd88b 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -35,7 +35,6 @@ jobs: with: path: wlan-lanforge-scripts repository: Telecominfraproject/wlan-lanforge-scripts - token: ${{ secrets.GITHUB_TOKEN }} # build and push docker image - name: docker login @@ -56,22 +55,19 @@ jobs: with: path: wlan-pki repository: Telecominfraproject/wlan-pki-cert-scripts - token: ${{ secrets.GITHUB_TOKEN }} ref: local/dev - name: Checkout Cloud SDK repo uses: actions/checkout@v2 with: path: wlan-helm repository: Telecominfraproject/wlan-cloud-helm - token: ${{ secrets.GITHUB_TOKEN }} ref: feature/update-kafka - # - name: Checkout helm values repo - # uses: actions/checkout@v2 - # with: - # path: toolsmith - # repository: Telecominfraproject/Toolsmith - # token: ${{ secrets.GITHUB_TOKEN }} - # ref: master + - name: Checkout helm values repo + uses: actions/checkout@v2 + with: + path: toolsmith + repository: Telecominfraproject/Toolsmith + token: ${{ secrets.PAT_TOKEN }} - name: Prepare environment shell: bash @@ -84,9 +80,7 @@ jobs: echo "01" > ./wlan-pki/testCA/serial.txt echo "${{ env.CACERT }}" | base64 -d > ./wlan-pki/testCA/cacert.pem echo "${{ env.CAKEY }}" | base64 -d > ./wlan-pki/testCA/private/cakey.pem - echo "https://raw.githubusercontent.com/Telecominfraproject/Toolsmith/master/helm-values/aws-cicd.yaml?token=${{ secrets.GITHUB_TOKEN }}" | base64 - curl -H 'Accept: application/vnd.github.v3.raw' -L 'https://raw.githubusercontent.com/Telecominfraproject/Toolsmith/master/helm-values/aws-cicd.yaml?token=${{ secrets.GITHUB_TOKEN }}' - # cp ./toolsmith/helm-values/aws-cicd.yaml ./wlan-helm/tip-wlan/resources/environments/aws-cicd.yaml + cp ./toolsmith/helm-values/aws-cicd.yaml ./wlan-helm/tip-wlan/resources/environments/aws-cicd.yaml - name: Generate certs shell: bash