Compare commits
	
		
			13 Commits
		
	
	
		
			woodpecker
			...
			b56efa4fa3
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					b56efa4fa3 | ||
| 
						 | 
					bb0a6e5dd9 | ||
| 
						 | 
					072cf7e9aa | ||
| 
						 | 
					17add103eb | ||
| 
						 | 
					b887fd46b0 | ||
| 
						 | 
					abf126f31e | ||
| 
						 | 
					0d6a52d2f9 | ||
| 
						 | 
					e080594dcb | ||
| 
						 | 
					6a11df64b0 | ||
| 
						 | 
					fe9a68023a | ||
| 
						 | 
					80210e67ea | ||
| 
						 | 
					300adef0f9 | ||
| 
						 | 
					492df7e45c | 
@@ -1,5 +1,5 @@
 | 
			
		||||
when:
 | 
			
		||||
  - event: push
 | 
			
		||||
  - event: [push, manual]
 | 
			
		||||
    branch: woodpecker
 | 
			
		||||
 | 
			
		||||
steps:
 | 
			
		||||
@@ -33,7 +33,8 @@ steps:
 | 
			
		||||
  - name: gitops-commit
 | 
			
		||||
    image: alpine/git
 | 
			
		||||
    environment:
 | 
			
		||||
      DEPLOY_REPO: ssh://git@srv22.mikr.us:20343/pikram/user-microservice-deploy.git
 | 
			
		||||
      DEPLOY_REPO_URL: ssh://git@srv22.mikr.us:20343/pikram/user-microservice-deploy.git
 | 
			
		||||
      DEPLOY_REPO_BRANCH: woodpecker-fluxcd-deploy
 | 
			
		||||
      GITEA_DEPLOY_KEY:
 | 
			
		||||
        from_secret: gitea-deploy-key
 | 
			
		||||
      GITEA_KNOWN_HOST:
 | 
			
		||||
@@ -50,8 +51,8 @@ steps:
 | 
			
		||||
      - git config --global user.name "woodpecker[bot]"
 | 
			
		||||
      - git config --global user.email "woodpecker@marcin00.pl"
 | 
			
		||||
 | 
			
		||||
      - git clone $DEPLOY_REPO --branch woodpecker-deploy
 | 
			
		||||
      - cd user-microservice-deploy
 | 
			
		||||
      - git clone $DEPLOY_REPO_URL --branch $DEPLOY_REPO_BRANCH
 | 
			
		||||
      - cd user-microservice-deploy/apps/user-microservice
 | 
			
		||||
      
 | 
			
		||||
      - |
 | 
			
		||||
        awk -v commit="$CI_COMMIT_SHA" '
 | 
			
		||||
@@ -67,4 +68,4 @@ steps:
 | 
			
		||||
      
 | 
			
		||||
      - git add deploy.yaml
 | 
			
		||||
      - 'git diff-index --quiet HEAD || git commit -m "WOODPECKER: Changed deployed version to $CI_COMMIT_SHA"'
 | 
			
		||||
      - git push origin woodpecker-deploy
 | 
			
		||||
      - git push origin $DEPLOY_REPO_BRANCH
 | 
			
		||||
 
 | 
			
		||||
@@ -1 +1 @@
 | 
			
		||||
1753539316
 | 
			
		||||
1753630035
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user