exploring actions directory structure
This commit is contained in:
26
.github/workflows/main.yml
vendored
26
.github/workflows/main.yml
vendored
@@ -34,23 +34,11 @@ jobs:
|
|||||||
token: '${{ secrets.SA_TOKEN }}'
|
token: '${{ secrets.SA_TOKEN }}'
|
||||||
- run: |
|
- run: |
|
||||||
kubectl get pods -A
|
kubectl get pods -A
|
||||||
build-2:
|
ls
|
||||||
# The type of runner that the job will run on
|
pwd
|
||||||
#runs-on: ubuntu-latest
|
echo 'hello world' > temp.txt
|
||||||
runs-on: self-hosted
|
ls
|
||||||
|
|
||||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
|
||||||
steps:
|
|
||||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- uses: atharvamulmuley/k8s-set-context@cluster-connect-2
|
|
||||||
with:
|
|
||||||
method: 'SPN'
|
|
||||||
cluster-type: 'arc'
|
|
||||||
creds: '${{ secrets.AZURE_CREDS }}'
|
|
||||||
cluster-name: arcaction
|
|
||||||
resource-group: atharvatest2
|
|
||||||
token: '${{ secrets.SA_TOKEN }}'
|
|
||||||
- run: |
|
- run: |
|
||||||
kubectl get pods -A
|
kubectl get pods -A
|
||||||
|
ls
|
||||||
|
pwd
|
Reference in New Issue
Block a user