brew install kubernetes-helm
helm init
| from selenium import webdriver | |
| import unittest | |
| from pytest_html_reporter import attach | |
| class TestClass(unittest.TestCase): | |
| def __init__(self, driver): | |
| super().__init__(driver) | |
| def setUp(self): | |
| global driver |
| # .github/workflows/app.yaml | |
| name: My Python Project | |
| on: push | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| services: |
| "scripts": { | |
| "test:consumer": "jest --runInBand __tests__/contract/consumer/consumer.spec.js", | |
| "publish:broker": "node ./__tests__/contract/broker/publish.js", | |
| "publish:pactflow": "pact-broker publish ./pacts --consumer-app-version=1.0.0 --broker-base-url=PACTFLOW_URI --broker-token=PACTFLOW_TOKEN", | |
| "up:mock-service": "./node_modules/.bin/json-server ./data/characters.json -p 3378 -w", | |
| "test:provider-broker": "jest --runInBand __tests__/contract/provider/provider.spec.js --testTimeout=20000" | |
| }, |
| const { Router } = require('express') | |
| const Step = new Router() | |
| Step.get('/starting_at/:id', async (req, res) => { | |
| const { rows } = await db.query(` | |
| SELECT * | |
| FROM nodes | |
| WHERE | |
| meta @> '{"starting_states": ["${req.params.id}"]}' | |
| `) |
| job("main-repo") { | |
| scm { | |
| github("StephenKing/chef-ci-main-repo") | |
| } | |
| steps { | |
| shell("knife upload roles environments data_bags --chef-repo-path ./") | |
| } | |
| } |
| FROM ubuntu:16.04 | |
| LABEL maintainer="[email protected]" | |
| #proxy settings | |
| ARG http_proxy=http://193.29.130.150:8080 | |
| ARG https_proxy=http://193.29.130.150:8080 | |
| ENV http_proxy ${http_proxy:-v0} | |
| ENV https_proxy ${https_proxy:-v0} | |
| #set http(s) proxy for apt |
| APP_NAME=Poputi | |
| APP_ENV=local | |
| APP_KEY=base64:59fCCVQ2O9v4Znp86koSAuXg2N2lTuVj1m+ApJ91lS8= | |
| APP_DEBUG=true | |
| APP_URL=http://localhost | |
| LOG_CHANNEL=stack | |
| DB_CONNECTION=mysql | |
| DB_HOST=localhost |