conflict fixed with main #151
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
# THIS FILE IS GENERATED AUTOMATICALLY BY RUNNING gen-workflow.sh | |
# DON'T CHANGE IT MANUALLY TO AVOID YOUR CHANGES BEING OVERWRITTEN | |
# USE workflow-template.yaml FOR MAKING CHANGES IN WORKFLOWS | |
name: build-systems-subscriber-sim-pool | |
on: | |
push: | |
paths: | |
- "systems/subscriber/sim-pool/**" | |
- ".github/workflows/systems-subscriber-sim-pool.yaml" | |
workflow_dispatch: | |
jobs: | |
build: | |
env: | |
working-directory: systems/subscriber/sim-pool | |
name: build and test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: build app | |
uses: ./.github/actions/build-go | |
with: | |
registry-name: subscriber/sim-pool | |
working-directory: ${{ env.working-directory }} | |
github-bot-token: ${{ secrets.UKAMA_BOT_GITHUB_TOKEN }} | |
aws-secret-key: ${{ secrets.AWS_REGISTRY_SECRET_ACCESS_KEY }} | |
aws-access-key: ${{ secrets.AWS_REGISTRY_ACCESS_KEY_ID }} | |
build-listener: false | |
sonar-scan: | |
name: sonar-scan | |
needs: build | |
runs-on: ubuntu-latest | |
env: | |
working-directory: systems/subscriber/sim-pool | |
steps: | |
- uses: actions/checkout@v3 | |
- name: scan | |
uses: ./.github/actions/sonar-go | |
with: | |
working-directory: ${{ env.working-directory }} | |
github-bot-token: ${{ secrets.UKAMA_BOT_GITHUB_TOKEN }} | |
sonar-token: ${{ secrets.SONAR_TOKEN }} | |
project-key: ukama_systems_subscriber_sim-pool | |
lint: | |
name: lint | |
runs-on: ubuntu-latest | |
env: | |
working-directory: systems/subscriber/sim-pool | |
steps: | |
- uses: actions/checkout@v3 | |
- name: lint | |
uses: ./.github/actions/lint-go | |
with: | |
working-directory: ${{ env.working-directory }} | |
github-bot-token: ${{ secrets.UKAMA_BOT_GITHUB_TOKEN }} | |
release: | |
name: release | |
needs: [build, lint] | |
if: github.ref == 'refs/heads/main' | |
runs-on: ubuntu-latest | |
env: | |
working-directory: systems/subscriber/sim-pool | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Init vars | |
id: vars_step | |
uses: ./.github/actions/git-vars | |
- name: update gitops | |
uses: denispalnitsky/gitops-release@v9 | |
with: | |
filename: "releases/subscriber-helmfile.yaml" | |
key: "simpoolImageTag" | |
value: ${{ steps.vars_step.outputs.sha-short }} | |
github-token: ${{ secrets.UKAMA_BOT_GITHUB_TOKEN }} | |
github-org-and-repo: "ukama/infra-as-code" | |
github-user-mail: "bot@ukama.com" | |
github-username: "ukama-bot" |