testing two back to back jobs
This commit is contained in:
parent
96c60f8502
commit
a81b603f4c
20
.github/workflows/main.yml
vendored
20
.github/workflows/main.yml
vendored
@ -19,6 +19,26 @@ jobs:
|
|||||||
#runs-on: ubuntu-latest
|
#runs-on: ubuntu-latest
|
||||||
runs-on: self-hosted
|
runs-on: self-hosted
|
||||||
|
|
||||||
|
# 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: |
|
||||||
|
kubectl get pods -A
|
||||||
|
build:
|
||||||
|
# The type of runner that the job will run on
|
||||||
|
#runs-on: ubuntu-latest
|
||||||
|
runs-on: self-hosted
|
||||||
|
|
||||||
# Steps represent a sequence of tasks that will be executed as part of the job
|
# Steps represent a sequence of tasks that will be executed as part of the job
|
||||||
steps:
|
steps:
|
||||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||||
|
Loading…
x
Reference in New Issue
Block a user