yet another try
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				Release Alpine apk for ARM64v8 Edge / compilation-arm64v8 (push) Has been cancelled
				
			
		
		
	
	
				
					
				
			
		
			Some checks failed
		
		
	
	Release Alpine apk for ARM64v8 Edge / compilation-arm64v8 (push) Has been cancelled
				
			This commit is contained in:
		
							parent
							
								
									9e998ac884
								
							
						
					
					
						commit
						3b4f0b27d2
					
				
					 1 changed files with 6 additions and 13 deletions
				
			
		| 
						 | 
					@ -14,7 +14,7 @@ jobs:
 | 
				
			||||||
      REMOTE_PORT: "${{ secrets.LOGIN_PORT }}"
 | 
					      REMOTE_PORT: "${{ secrets.LOGIN_PORT }}"
 | 
				
			||||||
      REMOTE_PATH: "${{ secrets.SERVER_REPO_PATH }}/edge/main/aarch64"
 | 
					      REMOTE_PATH: "${{ secrets.SERVER_REPO_PATH }}/edge/main/aarch64"
 | 
				
			||||||
    steps:
 | 
					    steps:
 | 
				
			||||||
      - name: Install base tools
 | 
					      - name: setup
 | 
				
			||||||
        shell: sh
 | 
					        shell: sh
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
          # faster mirror + essential build tools
 | 
					          # faster mirror + essential build tools
 | 
				
			||||||
| 
						 | 
					@ -22,10 +22,7 @@ jobs:
 | 
				
			||||||
          echo "https://alpine.sakamoto.pl/alpine/$(cat /etc/os-release | grep PRETT | cut -d ' ' -f 3 | cut -d '"' -f 1)/community" >> /etc/apk/repositories
 | 
					          echo "https://alpine.sakamoto.pl/alpine/$(cat /etc/os-release | grep PRETT | cut -d ' ' -f 3 | cut -d '"' -f 1)/community" >> /etc/apk/repositories
 | 
				
			||||||
          echo "https://alpine.sakamoto.pl/alpine/$(cat /etc/os-release | grep PRETT | cut -d ' ' -f 3 | cut -d '"' -f 1)/testing" >> /etc/apk/repositories
 | 
					          echo "https://alpine.sakamoto.pl/alpine/$(cat /etc/os-release | grep PRETT | cut -d ' ' -f 3 | cut -d '"' -f 1)/testing" >> /etc/apk/repositories
 | 
				
			||||||
          apk update && apk upgrade
 | 
					          apk update && apk upgrade
 | 
				
			||||||
          apk add bash git curl alpine-sdk abuild sudo shadow fuse sshfs nodejs wget
 | 
					          apk add bash git curl alpine-sdk abuild sudo shadow fuse sshfs nodejs wget file
 | 
				
			||||||
 | 
					 | 
				
			||||||
      - name: Set up environment and users
 | 
					 | 
				
			||||||
        run: |
 | 
					 | 
				
			||||||
          echo "user_allow_other" >> /etc/fuse.conf
 | 
					          echo "user_allow_other" >> /etc/fuse.conf
 | 
				
			||||||
          adduser runner -u 1003 -D -s /bin/bash -G wheel
 | 
					          adduser runner -u 1003 -D -s /bin/bash -G wheel
 | 
				
			||||||
          addgroup -g 1003 runner
 | 
					          addgroup -g 1003 runner
 | 
				
			||||||
| 
						 | 
					@ -39,9 +36,6 @@ jobs:
 | 
				
			||||||
          chsh -s /bin/bash
 | 
					          chsh -s /bin/bash
 | 
				
			||||||
          su - runner -c 'mkdir ~/.abuild'
 | 
					          su - runner -c 'mkdir ~/.abuild'
 | 
				
			||||||
          echo "setup done"
 | 
					          echo "setup done"
 | 
				
			||||||
 | 
					 | 
				
			||||||
      - name: Set up keys
 | 
					 | 
				
			||||||
        run: |
 | 
					 | 
				
			||||||
          wget -q https://static.itmodulo.eu/dl/repo/public_keys/alpine/itmodulo%40disroot.org-65b4f779.rsa.pub -P /etc/apk/keys
 | 
					          wget -q https://static.itmodulo.eu/dl/repo/public_keys/alpine/itmodulo%40disroot.org-65b4f779.rsa.pub -P /etc/apk/keys
 | 
				
			||||||
          su - runner -c 'wget -q https://static.itmodulo.eu/dl/repo/public_keys/alpine/itmodulo%40disroot.org-65b4f779.rsa.pub -P ~/.abuild/'
 | 
					          su - runner -c 'wget -q https://static.itmodulo.eu/dl/repo/public_keys/alpine/itmodulo%40disroot.org-65b4f779.rsa.pub -P ~/.abuild/'
 | 
				
			||||||
          echo "${{ secrets.REPO_PRIVKEY }}" > /home/runner/.abuild/${{ secrets.REPO_PRIVKEY_FILENAME }} && chown runner:runner /home/runner/.abuild/${{ secrets.REPO_PRIVKEY_FILENAME }}
 | 
					          echo "${{ secrets.REPO_PRIVKEY }}" > /home/runner/.abuild/${{ secrets.REPO_PRIVKEY_FILENAME }} && chown runner:runner /home/runner/.abuild/${{ secrets.REPO_PRIVKEY_FILENAME }}
 | 
				
			||||||
| 
						 | 
					@ -51,7 +45,7 @@ jobs:
 | 
				
			||||||
      - name: Checkout sources
 | 
					      - name: Checkout sources
 | 
				
			||||||
        uses: actions/checkout@v4
 | 
					        uses: actions/checkout@v4
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Fetch remote index and parse existing pkgs
 | 
					      - name: Fetch remote index and parse existing pkgs, build
 | 
				
			||||||
        id: get_remote
 | 
					        id: get_remote
 | 
				
			||||||
        shell: bash
 | 
					        shell: bash
 | 
				
			||||||
        run: |
 | 
					        run: |
 | 
				
			||||||
| 
						 | 
					@ -62,12 +56,11 @@ jobs:
 | 
				
			||||||
               /^V:/ { ver=$2 }
 | 
					               /^V:/ { ver=$2 }
 | 
				
			||||||
               /^PR:/{ pr=$2; print pkg "-" ver "-" pr }' \
 | 
					               /^PR:/{ pr=$2; print pkg "-" ver "-" pr }' \
 | 
				
			||||||
            remote_index/APKINDEX > remote_index/list.txt
 | 
					            remote_index/APKINDEX > remote_index/list.txt
 | 
				
			||||||
          cat remote_index/list.txt
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
      - name: Build only missing packages
 | 
					 | 
				
			||||||
        shell: bash
 | 
					 | 
				
			||||||
        run: |
 | 
					 | 
				
			||||||
          EXISTING_LIST=remote_index/list.txt
 | 
					          EXISTING_LIST=remote_index/list.txt
 | 
				
			||||||
 | 
					          ls -lah remote_index
 | 
				
			||||||
 | 
					          file remote_index/list.txt
 | 
				
			||||||
 | 
					          cat remote_index/list.txt
 | 
				
			||||||
          mkdir -p newpkgs
 | 
					          mkdir -p newpkgs
 | 
				
			||||||
          for d in edge/*; do
 | 
					          for d in edge/*; do
 | 
				
			||||||
            # skip non-directories
 | 
					            # skip non-directories
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue