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