Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .env-cmdrc-template
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"RELAY_BYPASS_HTTPS": true,
"RELAY_BYPASS_VERIFICATION": true,
"METRICS_ACTIVATED": true,
"METRICS_MAX_PAGE": 50,
"REGEX_MAX_TIMEOUT": 3000,
"REGEX_MAX_BLACLIST": 50,
"MAX_REQUEST_PER_MINUTE": 0,
Expand Down
64 changes: 32 additions & 32 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,35 +84,35 @@ jobs:
platforms: linux/amd64,linux/arm64
tags: trackerforce/switcher-resolver-node:latest

# update-kustomize:
# name: Deploy
# needs: [ docker ]
# runs-on: ubuntu-latest

# steps:
# - name: Checkout
# uses: actions/checkout@v3
# with:
# ref: 'master'

# - name: Checkout Kustomize
# uses: actions/checkout@v3
# with:
# token: ${{ secrets.ARGOCD_PAT }}
# repository: switcherapi/switcher-deployment
# ref: master

# - name: Set Image
# uses: stefanprodan/kube-tools@v1
# with:
# kubectl: 1.24.0
# kustomize: 4.5.4
# command: |
# cd switcher-resolver-node/base
# echo RELEASE_TIME=`date` > environment-properties.env
# kustomize edit set image trackerforce/switcher-resolver-node:latest=trackerforce/switcher-resolver-node@${{ needs.docker.outputs.digest }}
# git config --global user.email "${{ github.actor }}@users.noreply.github.com"
# git config --global user.name "${{ github.actor }}"
# git add .
# git commit -m "[argocd] switcher-resolver-node: ${{ needs.docker.outputs.digest }}"
# git push
update-kustomize:
name: Deploy
needs: [ docker ]
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: 'master'

- name: Checkout Kustomize
uses: actions/checkout@v3
with:
token: ${{ secrets.ARGOCD_PAT }}
repository: switcherapi/switcher-deployment
ref: master

- name: Set Image
uses: stefanprodan/kube-tools@v1
with:
kubectl: 1.24.0
kustomize: 4.5.4
command: |
cd switcher-resolver-node/base
echo RELEASE_TIME=`date` > environment-properties.env
kustomize edit set image trackerforce/switcher-resolver-node:latest=trackerforce/switcher-resolver-node@${{ needs.docker.outputs.digest }}
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
git config --global user.name "${{ github.actor }}"
git add .
git commit -m "[argocd] switcher-resolver-node: ${{ needs.docker.outputs.digest }}"
git push
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Resolver Node for Component Switchers<br>
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=switcherapi_switcher-resolver-node&metric=alert_status)](https://sonarcloud.io/dashboard?id=switcherapi_switcher-resolver-node)
[![Known Vulnerabilities](https://snyk.io/test/github/switcherapi/switcher-resolver-node/badge.svg)](https://snyk.io/test/github/switcherapi/switcher-resolver-node)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Docker Hub](https://img.shields.io/docker/pulls/trackerforce/switcher-resolver-node.svg)](https://hub.docker.com/r/trackerforce/switcher-resolver-node)
[![Slack: Switcher-HQ](https://img.shields.io/badge/slack-@switcher/hq-blue.svg?logo=slack)](https://switcher-hq.slack.com/)

</div>
Expand Down
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ services:
- RELAY_BYPASS_HTTPS=${RELAY_BYPASS_HTTPS}
- RELAY_BYPASS_VERIFICATION=${RELAY_BYPASS_VERIFICATION}
- METRICS_ACTIVATED=${METRICS_ACTIVATED}
- METRICS_MAX_PAGE=${METRICS_MAX_PAGE}
- REGEX_MAX_TIMEOUT=${REGEX_MAX_TIMEOUT}
- REGEX_MAX_BLACLIST=${REGEX_MAX_BLACLIST}
- MAX_REQUEST_PER_MINUTE=${MAX_REQUEST_PER_MINUTE}
Expand Down
89 changes: 0 additions & 89 deletions src/helpers/permission.js

This file was deleted.