mirror of https://github.com/chaos-mesh/chaosd.git
				
				
				
			chore: deprecate centos
Signed-off-by: Yue Yang <g1enyy0ung@gmail.com>
This commit is contained in:
		
							parent
							
								
									00c8a256ef
								
							
						
					
					
						commit
						a9fc12ff86
					
				| 
						 | 
				
			
			@ -23,7 +23,7 @@ jobs:
 | 
			
		|||
        with:
 | 
			
		||||
          ref: ${{ github.event.pull_request.head.sha }}
 | 
			
		||||
          path: go/src/github.com/${{ github.repository }}
 | 
			
		||||
      - uses: actions/setup-go@v4
 | 
			
		||||
      - uses: actions/setup-go@v5
 | 
			
		||||
        with:
 | 
			
		||||
          go-version: 1.20.x
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -12,21 +12,18 @@ jobs:
 | 
			
		|||
      matrix:
 | 
			
		||||
        arch: [amd64, arm64]
 | 
			
		||||
    runs-on: ${{ fromJson('{"amd64":"ubuntu-latest", "arm64":["self-hosted", "Linux", "ARM64"]}')[matrix.arch] }}
 | 
			
		||||
    container: ${{ fromJson('{"amd64":"docker.io/centos:8", "arm64":"docker.io/centos:8"}')[matrix.arch] }}
 | 
			
		||||
    container: ${{ fromJson('{"amd64":"docker.io/rockylinux:8", "arm64":"docker.io/rockylinux:8"}')[matrix.arch] }}
 | 
			
		||||
    steps:
 | 
			
		||||
      - uses: actions/checkout@v4
 | 
			
		||||
        with:
 | 
			
		||||
          fetch-depth: 0
 | 
			
		||||
      - uses: actions/setup-go@v4
 | 
			
		||||
      - uses: actions/setup-go@v5
 | 
			
		||||
        with:
 | 
			
		||||
          go-version: 1.20.x
 | 
			
		||||
 | 
			
		||||
      - uses: actions/setup-python@v5
 | 
			
		||||
        with:
 | 
			
		||||
          python-version: "3.10.x"
 | 
			
		||||
 | 
			
		||||
      - name: Configure awscli
 | 
			
		||||
        run: |
 | 
			
		||||
          dnf install -y python3
 | 
			
		||||
          pip3 install awscli
 | 
			
		||||
          printf "%s\n" ${{ secrets.AWS_ACCESS_KEY }} ${{ secrets.AWS_SECRET_KEY }} ${{ secrets.AWS_REGION }} "json" | aws configure
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -11,21 +11,18 @@ jobs:
 | 
			
		|||
      matrix:
 | 
			
		||||
        arch: [amd64, arm64]
 | 
			
		||||
    runs-on: ${{ fromJson('{"amd64":"ubuntu-latest", "arm64":["self-hosted", "Linux", "ARM64"]}')[matrix.arch] }}
 | 
			
		||||
    container: ${{ fromJson('{"amd64":"docker.io/centos:8", "arm64":"docker.io/centos:8"}')[matrix.arch] }}
 | 
			
		||||
    container: ${{ fromJson('{"amd64":"docker.io/rockylinux:8", "arm64":"docker.io/rockylinux:8"}')[matrix.arch] }}
 | 
			
		||||
    steps:
 | 
			
		||||
      - uses: actions/checkout@v4
 | 
			
		||||
        with:
 | 
			
		||||
          fetch-depth: 0
 | 
			
		||||
      - uses: actions/setup-go@v4
 | 
			
		||||
      - uses: actions/setup-go@v5
 | 
			
		||||
        with:
 | 
			
		||||
          go-version: 1.20.x
 | 
			
		||||
 | 
			
		||||
      - uses: actions/setup-python@v5
 | 
			
		||||
        with:
 | 
			
		||||
          python-version: "3.10.x"
 | 
			
		||||
 | 
			
		||||
      - name: Configure awscli
 | 
			
		||||
        run: |
 | 
			
		||||
          dnf install -y python3
 | 
			
		||||
          pip3 install awscli
 | 
			
		||||
          printf "%s\n" ${{ secrets.AWS_ACCESS_KEY }} ${{ secrets.AWS_SECRET_KEY }} ${{ secrets.AWS_REGION }} "json" | aws configure
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue