test: test #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish to ODR | ||
on: | ||
push: | ||
# branches: | ||
# - master | ||
# paths: | ||
# - "publish-odr-parameters/**.yaml" | ||
jobs: | ||
main: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
id-token: write | ||
contents: read | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
if: "*[skip-workflows]*" == ${{ github.event.head_commit.message }} | ||
- name: test | ||
run: | | ||
echo "test" | ||
# - name: Setup kubectl | ||
# uses: azure/setup-kubectl@v3 | ||
# with: | ||
# version: "latest" | ||
# - name: AWS Configure | ||
# uses: aws-actions/configure-aws-credentials@v1.6.1 | ||
# with: | ||
# aws-region: ap-southeast-2 | ||
# mask-aws-account-id: true | ||
# role-to-assume: ${{ secrets.AWS_CI_ROLE }} | ||
# - name: Login to EKS | ||
# run: | | ||
# aws eks update-kubeconfig --name Workflow --region ap-southeast-2 --role-arn ${{ secrets.AWS_EKS_ROLE }} | ||
# - name: Check EKS connection | ||
# run: | | ||
# kubectl get nodes | ||
# - name: Install Argo | ||
# run: | | ||
# curl -sLO https://github.com/argoproj/argo-workflows/releases/download/v3.4.0-rc2/argo-linux-amd64.gz | ||
# gunzip argo-linux-amd64.gz | ||
# chmod +x argo-linux-amd64 | ||
# ./argo-linux-amd64 version | ||
# - name: Get All Added & Modified Files | ||
# id: modified-files | ||
# run: | | ||
# # AM = Include: Added, Modified | ||
# echo "modified_files=$(git diff --name-only --diff-filter=AM ${{ github.event.pull_request.base.rfa }} ${{ github.event.pull_request.base.sha }})" >> $GITHUB_OUTPUT | ||
# - name: Submit All Added & Modified Workflow(s) | ||
# run: | | ||
# for file in ${{ steps.modified-files.outputs.modified_files }}; do | ||
# if [[ "$file" == *publish-odr-parameters/*.yaml ]]; | ||
# then | ||
# ./argo-linux-amd64 submit --from wftmpl/publish-odr -n argo -f $file --generate-name publish-odr- | ||
# fi | ||
# done |