moving to PAT, due to private repo

This commit is contained in:
Gleb Boushev
2020-12-08 15:16:42 +03:00
parent e3cdb6a0cc
commit 299b52db0c

View File

@@ -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