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 | |
# | |
# circleci-envvar-manager.sh | |
# Bash script for managing CircleCI project environment variables. | |
# | |
# This script uses the CircleCI APIs to list, create, and delete the environment | |
# variables associated with CircleCI projects. Suitable for scripting the | |
# rotation of access keys. | |
# | |
# CircleCI API documentation: |
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
// TestIdentityProviderInitiated covers the cases where the SAML login is initiated by the identity provider. | |
// | |
// IDP-initiated requests are seen as an unexpected POST request to the AcsURL. It is tricky | |
// because there may be no "id" found in the claims in the SAML assertions, and the relay state | |
// may not match what is stored in the middleware's client state. | |
func (test *MiddlewareTest) TestIdentityProviderInitiated(c *C) { | |
// This test modifies the AllowIDPInitiated flag for some scenarios. Confirm this is the | |
// expected default state, and keep it that way after the test completes. | |
c.Assert(test.Middleware.AllowIDPInitiated, Equals, false) | |
defer func() { |
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
{ | |
"_comment": "Sizes can be specified as none, very-low, low, normal, high, very-high", | |
"terrain_segmentation": "normal", | |
"water": "normal", | |
"width": 0, | |
"height": 0, | |
"starting_area": "normal", | |
"peaceful_mode": false, | |
"autoplace_controls": |