Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

try OP CI #71

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 7 additions & 0 deletions .envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
LOKI_TENANT_ID=op://jztejt6hvdws656dvofezd26la/wasp-local-creds/LOKI_TENANT_ID
LOKI_URL=op://jztejt6hvdws656dvofezd26la/wasp-local-creds/LOKI_URL
GRAFANA_URL=op://jztejt6hvdws656dvofezd26la/wasp-local-creds/GRAFANA_URL
GRAFANA_TOKEN=op://jztejt6hvdws656dvofezd26la/wasp-local-creds/GRAFANA_TOKEN
DATA_SOURCE_NAME=op://jztejt6hvdws656dvofezd26la/wasp-local-creds/DATA_SOURCE_NAME
DASHBOARD_FOLDER=op://jztejt6hvdws656dvofezd26la/wasp-local-creds/DASHBOARD_FOLDER
DASHBOARD_NAME=op://jztejt6hvdws656dvofezd26la/wasp-local-creds/DASHBOARD_NAME
3 changes: 3 additions & 0 deletions .envrc.ci
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
LOKI_TENANT_ID=op://jztejt6hvdws656dvofezd26la/wasp-ci-creds/LOKI_TENANT_ID
LOKI_BASIC_AUTH=op://jztejt6hvdws656dvofezd26la/wasp-ci-creds/LOKI_BASIC_AUTH
LOKI_URL=op://jztejt6hvdws656dvofezd26la/wasp-ci-creds/LOKI_URL
10 changes: 6 additions & 4 deletions .github/workflows/test-external-load-gha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,17 @@ concurrency:
jobs:
test:
env:
LOKI_TENANT_ID: ${{ secrets.LOKI_TENANT_ID }}
LOKI_BASIC_AUTH: ${{ secrets.LOKI_BASIC_AUTH }}
LOKI_URL: ${{ secrets.LOKI_URL }}
OP_SERVICE_ACCOUNT_TOKEN: ${{ secrets.OP_SERVICE_ACCOUNT_TOKEN }}
runs-on: ubuntu20.04-8cores-32GB
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v18
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Install 1Password CLI
uses: 1password/install-cli-action@v1
with:
version: 2.18.0
- name: Run tests
run: |-
nix develop -c make test_loki
nix develop -c op run --env-file .envrc.ci -- make test_loki
2 changes: 1 addition & 1 deletion DockerfileWasp.dockerignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.git-together
.DS_Store
.envrc
.envrc.old-local
*.log
node_modules/
**/node_modules/
Expand Down