Skip to content

selfhosted-poc

selfhosted-poc #4

Workflow file for this run

name: Selfhosted Runner Proof of Concept
run-name: selfhosted-poc
on:
push:
branches: # Made towards the following
- ci/*
workflow_dispatch: {}
jobs:
ping-stage-test:
name: Ping stage backend
runs-on: [windows-ci-runner]
steps:
- name: Setup Tailscale
uses: tailscale/github-action@v2
with:
oauth-client-id: ${{ SECRETS.CI_TS_OAUTH_CLIENT_ID }}
oauth-secret: ${{ SECRETS.CI_TS_OAUTH_SECRET }}
tags: tag:ci
#- name: Setup git
# run: |
# apt update
# apt-get install -y git
# git config --global --add safe.directory /__w/unreal-sdk/unreal-sdk
#
#- name: Setup curl
# run: |
# apt update
# apt-get install -y curl
#- name: Checkout this repository
# uses: actions/checkout@v3
#- name: Cat uplugin file
# run: cat LootLockerSDK/LootLockerSDK.uplugin
#- name: Check branch
# run: git branch
#
#- name: Ping stage
# run: |
# curl -X POST "https://${{ SECRETS.LL_STAGE_URL }}/game/v2/session/guest" -H "Content-Type: application/json" -d "{\"game_key\": \"dev_dc52acb52a8b49be81761e709f1df9fd\", \"game_version\": \"0.10.0.0\", \"player_identifier\": \"k8s-runner-guest\"}"