Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.github: replace deprecated set-output commands #1296

Merged
merged 1 commit into from
Dec 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/aks-azure-ipam.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ jobs:
OWNER=${{ github.sha }}
fi

echo ::set-output name=sha::${SHA}
echo ::set-output name=owner::${OWNER}
echo "sha=${SHA}" >> $GITHUB_OUTPUT
echo "owner=${OWNER}" >> $GITHUB_OUTPUT

- name: Create AKS cluster
run: |
Expand Down Expand Up @@ -133,12 +133,12 @@ jobs:
TENANT_ID=$(echo ${AZURE_SERVICE_PRINCIPAL} | jq -r '.tenant')
CLIENT_ID=$(echo ${AZURE_SERVICE_PRINCIPAL} | jq -r '.appId')
CLIENT_SECRET=$(echo ${AZURE_SERVICE_PRINCIPAL} | jq -r '.password')
echo ::set-output name=subscription-id::${AZURE_SUBSCRIPTION_ID}
echo ::set-output name=node-resource-group::${AZURE_NODE_RESOURCE_GROUP}
echo ::set-output name=tenant-id::${TENANT_ID}
echo ::set-output name=client-id::${CLIENT_ID}
echo "subscription-id=${AZURE_SUBSCRIPTION_ID}" >> $GITHUB_OUTPUT
echo "node-resource-group=${AZURE_NODE_RESOURCE_GROUP}" >> $GITHUB_OUTPUT
echo "tenant-id=${TENANT_ID}" >> $GITHUB_OUTPUT
echo "client-id=${CLIENT_ID}" >> $GITHUB_OUTPUT
echo ::add-mask::${CLIENT_SECRET}
echo ::set-output name=client-secret::${CLIENT_SECRET}
echo "client-secret=${CLIENT_SECRET}" >> $GITHUB_OUTPUT

- name: Create cilium-cli install job
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/aks-byocni.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ jobs:
OWNER=${{ github.sha }}
fi

echo ::set-output name=sha::${SHA}
echo ::set-output name=owner::${OWNER}
echo "sha=${SHA}" >> $GITHUB_OUTPUT
echo "owner=${OWNER}" >> $GITHUB_OUTPUT

- name: Create AKS cluster
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/eks-tunnel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ jobs:
OWNER=${{ github.sha }}
fi

echo ::set-output name=sha::${SHA}
echo ::set-output name=owner::${OWNER}
echo "sha=${SHA}" >> $GITHUB_OUTPUT
echo "owner=${OWNER}" >> $GITHUB_OUTPUT

- name: Create EKS cluster
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/eks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ jobs:
OWNER=${{ github.sha }}
fi

echo ::set-output name=sha::${SHA}
echo ::set-output name=owner::${OWNER}
echo "sha=${SHA}" >> $GITHUB_OUTPUT
echo "owner=${OWNER}" >> $GITHUB_OUTPUT

- name: Create EKS cluster
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/externalworkloads.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ jobs:
OWNER=${{ github.sha }}
fi

echo ::set-output name=sha::${SHA}
echo ::set-output name=owner::${OWNER}
echo "sha=${SHA}" >> $GITHUB_OUTPUT
echo "owner=${OWNER}" >> $GITHUB_OUTPUT

- name: Create GCP VM
uses: nick-invision/retry@3e91a01664abd3c5cd539100d10d33b9c5b68482
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
--node-taints node.cilium.io/agent-not-ready=true:NoExecute \
--preemptible
CLUSTER_CIDR=$(gcloud container clusters describe ${{ env.clusterName }} --zone ${{ env.zone }} --format="value(clusterIpv4Cidr)")
echo ::set-output name=cluster_cidr::${CLUSTER_CIDR}
echo "cluster_cidr=${CLUSTER_CIDR}" >> $GITHUB_OUTPUT

- name: Get cluster credentials
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/gke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ jobs:
OWNER=${{ github.sha }}
fi

echo ::set-output name=sha::${SHA}
echo ::set-output name=owner::${OWNER}
echo "sha=${SHA}" >> $GITHUB_OUTPUT
echo "owner=${OWNER}" >> $GITHUB_OUTPUT

- name: Create GKE cluster
id: cluster
Expand All @@ -103,7 +103,7 @@ jobs:
--node-taints node.cilium.io/agent-not-ready=true:NoExecute \
--preemptible
CLUSTER_CIDR=$(gcloud container clusters describe ${{ env.clusterName }} --zone ${{ env.zone }} --format="value(clusterIpv4Cidr)")
echo ::set-output name=cluster_cidr::${CLUSTER_CIDR}
echo "cluster_cidr=${CLUSTER_CIDR}" >> $GITHUB_OUTPUT

- name: Get cluster credentials
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ jobs:
id: tag
run: |
if [ ${{ github.event.pull_request.head.sha }} != "" ]; then
echo ::set-output name=tag::${{ github.event.pull_request.head.sha }}
echo "tag=${{ github.event.pull_request.head.sha }}" >> $GITHUB_OUTPUT
else
echo ::set-output name=tag::${{ github.sha }}
echo "tag=${{ github.sha }}" >> $GITHUB_OUTPUT
fi

- name: Checkout Source Code
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/multicluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ jobs:
OWNER=${{ github.sha }}
fi

echo ::set-output name=sha::${SHA}
echo ::set-output name=owner::${OWNER}
echo "sha=${SHA}" >> $GITHUB_OUTPUT
echo "owner=${OWNER}" >> $GITHUB_OUTPUT

- name: Create GKE cluster 2
run: |
Expand Down