This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.functional_test_template: | |
variables: | |
ENV: "integration" | |
LOCALE: "ID" | |
UPSTREAM_JOB_NAME: $CI_JOB_NAME | |
UPSTREAM_BRANCH_NAME: $CI_COMMIT_REF_NAME | |
UPSTREAM_COMMIT_SHA: $CI_COMMIT_SHA | |
UPSTREAM_PROJECT_NAME: $CI_PROJECT_NAME | |
UPSTREAM_PIPELINE_URL: $CI_PIPELINE_URL | |
UPSTREAM_PROJECT_ID: $CI_PROJECT_ID |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# qa/gitlab-ci-test-project.git | |
variables: | |
APPLICATION_PROJECT_1_CODE: 39941 | |
stages: | |
- build_and_publish | |
- functional_tests | |
build: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# qa/gitlab-ci-app-project.git | |
stages: | |
- pre_deploy | |
- test | |
- build | |
- deploy_integration | |
- functional_test | |
- deploy_production | |
- post_deploy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# assumes lazy-connect CLI is installed and initialised on your Mac, but does not work well all the times :/ | |
# pre-requisite: grant Accessibility permission to the Apple Script under System Preferences -> | |
VPN_NAME="the-name-of-your-vpn-here" | |
VPN_IP="you-vpn-ip-here" # you can find this out from ifconfig when connected to the VPN, only first three decimal numbers from the IP are needed here. | |
function close_system_preferences() | |
{ # closes the System Preferences pane on Mac OS | |
echo "Closing the System Preferences pane" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import requests | |
class Jenkins: | |
def __init__(self): | |
self.api_server_url = "your_jenkins_url_goes_here" | |
self.username = os.environ["JENKINS_USERNAME"] | |
self.password = os.environ["JENKINS_PASSWORD"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import csv | |
import lemoncheesecake.api as lcc | |
import requests | |
from lemoncheesecake.matching import check_that, equal_to | |
USERS_MIGRATION_CSV = "users.csv" | |
APP_BASE_URL = "http://my-account-management-system.com/" | |
USERS_ENDPOINT = "users/" | |
ACCOUNT_DETAILS_ENDPOINT = "accountdetails/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let request = require('supertest'); | |
let assert = require('chai').assert; | |
let apiBaseUri = request("http://your.event.store.url:port.number"); | |
describe('Ensure no parked events in the Event Store', function () { | |
let apiResponse; | |
let parkedMessageUriList = []; | |
let subscriptionsEndpoint = '/subscriptions'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let request = require('supertest'); | |
let assert = require('chai').assert; | |
let apiBaseUri = request("http://your.event.store.url:port.number"); | |
describe('Ensure no in-Flight events in the Event Store', function () { | |
let subscriptionsEndpoint = '/subscriptions'; | |
it(' Verify the total number of in-flight messages = 0', (done) => { |