splitio / split-synchronizer

Golang agent for Split SDKs
Other
16 stars 15 forks source link

GHA Migration #141

Closed LucianoCaravajal closed 3 years ago

LucianoCaravajal commented 3 years ago

Split Synchronizer

What did you accomplish?

How do we test the changes introduced in this PR?

Extra Notes

Israphel commented 3 years ago

Remember the "unstable" workflow. That pushes a container to the docker-dev repository, for every branch (non PRs) which aren't master. And the tag is a short hash.

  - name: unstable
    if: NOT (type = pull_request) AND NOT (branch = master)
    - stage: unstable
      language: minimal
      services:
        - docker
      before_script:
        - COMMIT=$(git rev-parse --short HEAD)
      script:
        - docker build -t ${ARTIFACTORY_REGISTRY}/split-synchronizer:${COMMIT} .
      deploy:
        provider: script
        script: >-
          echo "${ARTIFACTORY_PASSWORD}" | docker login -u "${ARTIFACTORY_USER}" --password-stdin "${ARTIFACTORY_REGISTRY}" &&
          docker push ${ARTIFACTORY_REGISTRY}/split-synchronizer
        skip_cleanup: true
        on:
          all_branches: true
sonarqube-pull-requests[bot] commented 3 years ago

SonarQube Quality Gate

Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information